diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-11-17 14:32:11 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-27 17:13:39 +1100 |
commit | 02685906d3afa4f7c72d86cf99242e3b08078865 (patch) | |
tree | b7f7dc34b6fb06cd27e8e42f43d809065c7f163c /crypto/aegis128-neon-inner.c | |
parent | 732b764099f651a088fd931d7b8121b6aa84e62e (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