diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 15:08:05 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 07:11:46 +0200 |
commit | 836d8f43c5e529935bb3140edc710c23ffd1d54a (patch) | |
tree | 421e99bc78c8a87e06b1b4da506307e1b720f1e9 /sound | |
parent | crypto: caam - update IV only when crypto operation succeeds (diff) | |
download | linux-836d8f43c5e529935bb3140edc710c23ffd1d54a.tar.xz linux-836d8f43c5e529935bb3140edc710c23ffd1d54a.zip |
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 'sound')
0 files changed, 0 insertions, 0 deletions