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 <>
Fixes: e88b27c8eaa8 ("crypto: ccree - use std api sg_zero_buffer")
Signed-off-by: Herbert Xu <>
1 file changed