diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 16:08:05 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 15:11:46 +1000 |
commit | 836d8f43c5e529935bb3140edc710c23ffd1d54a (patch) | |
tree | 421e99bc78c8a87e06b1b4da506307e1b720f1e9 /drivers/crypto/s5p-sss.c | |
parent | 1ccb39eb5a9822543273c35f5114a9dc101e7315 (diff) |
crypto: caam - check key length
Check key length to solve the extra tests that expect -EINVAL to be
returned when the key size is not valid.
Validated AES keylen for skcipher, ahash and aead.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/s5p-sss.c')
0 files changed, 0 insertions, 0 deletions