summaryrefslogtreecommitdiff
path: root/lib/muldi3.c
diff options
context:
space:
mode:
authorRyan Wanner <Ryan.Wanner@microchip.com>2023-03-28 22:56:27 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-06 11:41:28 +0300
commitc13357fd4a8a56b345db25b875239a740deea18c (patch)
tree45ec7a0d24389098882ecfef8e6aef510cc65fcf /lib/muldi3.c
parent232c1e8e19ff8e60237012fadead02557aafca5a (diff)
downloadlinux-c13357fd4a8a56b345db25b875239a740deea18c.tar.xz
crypto: atmel-tdes - Detecting in-place operations with 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 without affecting other operations. 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>
Diffstat (limited to 'lib/muldi3.c')
0 files changed, 0 insertions, 0 deletions