commit | 8a1955f95883cc0cb35b74f0cf58a283680323ac | [log] [tgz] |
---|---|---|
author | Peter Lafreniere <peter@n8pjl.ca> | Sat Jan 21 13:34:50 2023 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Feb 03 12:54:54 2023 +0800 |
tree | 973e116e95cba6cd9c56fdf89db236be88ce42e5 | |
parent | 42a9a08b9aa69134981d1564f95eb06c0469eff3 [diff] |
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>