diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 16:05:55 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 15:11:43 +1000 |
commit | bc67d04e75260942fb534fb91673103dcad7ca96 (patch) | |
tree | 7a32f21ca3a91c5eddf22fa8a06ac13f1ecad681 /kernel/cred.c | |
parent | 65526f638efc6435b9658d45a3ddd07e6fdbbb7d (diff) |
crypto: aes - helper function to validate key length for AES algorithms
Add inline helper function to check key length for AES algorithms.
The key can be 128, 192 or 256 bits size.
This function is used in the generic aes implementation.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions