Home
last modified time | relevance | path

Searched hist:"2 fbe4829" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/
H A Datmel-aes.c2fbe4829 Tue Mar 28 14:56:28 CDT 2023 Ryan Wanner <Ryan.Wanner@microchip.com> crypto: atmel-aes - Detecting in-place operations two sg lists

Avoiding detecting finely in-place operations with different
scatter lists. Copying the source data for decryption into rctx->lastc
regardless if the operation is in-place or not. This allows in-place
operations with different scatter lists.

This approach takes less resources than parsing both scatter lists to
check if they are equal.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>