summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Lafreniere <peter@n8pjl.ca>2023-01-21 13:34:50 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-03 12:54:54 +0800
commit8a1955f95883cc0cb35b74f0cf58a283680323ac (patch)
tree973e116e95cba6cd9c56fdf89db236be88ce42e5 /crypto
parent42a9a08b9aa69134981d1564f95eb06c0469eff3 (diff)
downloadlwn-8a1955f95883cc0cb35b74f0cf58a283680323ac.tar.gz
lwn-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')
0 files changed, 0 insertions, 0 deletions