diff options
author | Ryan Wanner <[email protected]> | 2023-03-28 12:56:28 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-04-06 16:41:28 +0800 |
commit | 2fbe4829f758e0b588470fb53f6cd087fe92b8d3 (patch) | |
tree | 78dc599e2c5e1ea90461dbfbc12d42d964226bf7 /lib/mpi/mpi-mod.c | |
parent | c13357fd4a8a56b345db25b875239a740deea18c (diff) |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions