aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2018-11-16 17:26:23 -0800
committerHerbert Xu <[email protected]>2018-11-20 14:26:56 +0800
commitbe2830b15b60011845ad701076511e8b93b2fd76 (patch)
tree67c73b7ecd50df0b5a33fcb5d62fd899c47e20c0 /lib/mpi/mpi-bit.c
parentaa7624093cb7fbf4fea95e612580d8d29a819f67 (diff)
crypto: arm/chacha20 - limit the preemption-disabled section
To improve responsivesess, disable preemption for each step of the walk (which is at most PAGE_SIZE) rather than for the entire encryption/decryption operation. Suggested-by: Ard Biesheuvel <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions