diff options
author | Peter Lafreniere <peter@n8pjl.ca> | 2023-01-21 19:34:50 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-03 05:54:54 +0100 |
commit | 8a1955f95883cc0cb35b74f0cf58a283680323ac (patch) | |
tree | 973e116e95cba6cd9c56fdf89db236be88ce42e5 /crypto/rsa-pkcs1pad.c | |
parent | crypto: engine - Fix excess parameter doc warning (diff) | |
download | linux-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