Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-11-17 16:32:11 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-27 09:13:39 +0300
commit02685906d3afa4f7c72d86cf99242e3b08078865 (patch)
treeb7f7dc34b6fb06cd27e8e42f43d809065c7f163c /crypto/aegis128-neon-inner.c
parent732b764099f651a088fd931d7b8121b6aa84e62e (diff)
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/aegis128-neon-inner.c')
0 files changed, 0 insertions, 0 deletions