summaryrefslogtreecommitdiffstats
path: root/crypto/rsa-pkcs1pad.c
diff options
context:
space:
mode:
authorPeter Lafreniere <peter@n8pjl.ca>2023-01-21 19:34:50 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-03 05:54:54 +0100
commit8a1955f95883cc0cb35b74f0cf58a283680323ac (patch)
tree973e116e95cba6cd9c56fdf89db236be88ce42e5 /crypto/rsa-pkcs1pad.c
parentcrypto: engine - Fix excess parameter doc warning (diff)
downloadlinux-8a1955f95883cc0cb35b74f0cf58a283680323ac.tar.xz
linux-8a1955f95883cc0cb35b74f0cf58a283680323ac.zip
crypto: x86 - exit fpu context earlier in ECB/CBC macros
Currently the ecb/cbc macros hold fpu context unnecessarily when using scalar cipher routines (e.g. when handling odd sizes of blocks per walk). Change the macros to drop fpu context as soon as the fpu is out of use. No performance impact found (on Intel Haswell). Signed-off-by: Peter Lafreniere <peter@n8pjl.ca> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions