summaryrefslogtreecommitdiff
path: root/crypto/ecb.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-11-17 14:32:11 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-27 17:13:39 +1100
commitebe11b5625b5237d4560ab71c2d81b378049e3e8 (patch)
tree8192d5560141ee8b19bbff23e5565c0220b0d147 /crypto/ecb.c
parentd505b0a6aacaeeb60fc6aff50ed153c10d5983fb (diff)
downloadlinux-crypto-ebe11b5625b5237d4560ab71c2d81b378049e3e8.tar.gz
linux-crypto-ebe11b5625b5237d4560ab71c2d81b378049e3e8.zip
crypto: aegis128 - wipe plaintext and tag if decryption fails
The AEGIS spec mentions explicitly that the security guarantees hold only if the resulting plaintext and tag of a failed decryption are withheld. So ensure that we abide by this. While at it, drop the unused struct aead_request *req parameter from crypto_aegis128_process_crypt(). Reviewed-by: Ondrej Mosnacek <omosnacek@gmail.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions