Message ID | 20201110190444.10634-1-ardb@kernel.org |
---|---|
Headers | show |
Series | crypto: aegis128 enhancements | expand |
ut 10. 11. 2020 o 20:04 Ard Biesheuvel <ardb@kernel.org> napísal(a): > The AEGIS spec mentions explicitly that the security guarantees hold > only if the resulting plaintext and tag of a failed decryption are > not disclosed. So ensure that we abide by this. > > While at it, drop the unused struct aead_request *req parameter from > crypto_aegis128_process_crypt(). > > Signed-off-by: Ard Biesheuvel <ardb@kernel.org> > --- > crypto/aegis128-core.c | 32 ++++++++++++++++---- > 1 file changed, 26 insertions(+), 6 deletions(-) Reviewed-by: Ondrej Mosnacek <omosnacek@gmail.com>