commit | 0be8a270b3f4af358549b8176c25be6972d86b35 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Nov 30 21:17:24 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Dec 01 21:06:37 2016 +0800 |
tree | 2e0b8a754197bc0e50b007ee09e82a4bf8ca7e96 | |
parent | ff330f7348bac51e01cb92a2cd7c31b454e404c3 [diff] |
crypto: arm64/aes-ce-ccm - Fix AEAD decryption length This patch fixes the ARM64 CE CCM implementation decryption by using skcipher_walk_aead_decrypt instead of skcipher_walk_aead, which ensures the correct length is used when doing the walk. Fixes: cf2c0fe74084 ("crypto: aes-ce-ccm - Use skcipher walk interface") Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>