Home
last modified time | relevance | path

Searched hist:"02685906 d3afa4f7c72d86cf99242e3b08078865" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/crypto/
H A Daegis128-core.cdiff 02685906d3afa4f7c72d86cf99242e3b08078865 Tue Nov 17 07:32:11 CST 2020 Ard Biesheuvel <ardb@kernel.org> 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>