Re: [PATCH v2 1/4] crypto: aegis128 - wipe plaintext and tag if decryption fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ut 10. 11. 2020 o 20:04 Ard Biesheuvel <ardb@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
>  crypto/aegis128-core.c | 32 ++++++++++++++++----
>  1 file changed, 26 insertions(+), 6 deletions(-)

Reviewed-by: Ondrej Mosnacek <omosnacek@xxxxxxxxx>




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux