Searched hist:"2 fbe4829" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/crypto/ |
H A D | atmel-aes.c | 2fbe4829 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>
|