aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorRyan Wanner <[email protected]>2023-03-28 12:56:27 -0700
committerHerbert Xu <[email protected]>2023-04-06 16:41:28 +0800
commitc13357fd4a8a56b345db25b875239a740deea18c (patch)
tree45ec7a0d24389098882ecfef8e6aef510cc65fcf /lib/mpi/mpi-mod.c
parent232c1e8e19ff8e60237012fadead02557aafca5a (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions