commit | 2a6bc713f1cef32e39e3c4e6f2e1a9849da6379c | [log] [tgz] |
---|---|---|
author | Gilad Ben-Yossef <gilad@benyossef.com> | Thu Jan 16 12:14:38 2020 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jan 22 16:21:09 2020 +0800 |
tree | 88939dded18259bcc15c533663620b04c7dd3dc6 | |
parent | 684cf266eb04911825a6de10dadd188cf801d063 [diff] |
crypto: ccree - fix AEAD decrypt auth fail On AEAD decryption authentication failure we are suppose to zero out the output plaintext buffer. However, we've missed skipping the optional associated data that may prefix the ciphertext. This commit fixes this issue. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Fixes: e88b27c8eaa8 ("crypto: ccree - use std api sg_zero_buffer") Cc: stable@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>