diff options
| author | Eric Biggers <ebiggers@google.com> | 2025-04-01 17:24:03 -0700 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-07 13:22:27 +0800 |
| commit | 0ba6ec5b297204cde62bbbde8944219500c6229c (patch) | |
| tree | f5b44008f1c097fa0b67b77c3da66670d52e13d6 /tools/lib/python | |
| parent | 3a7dfdbbe333226be65164edcaf7b493f05fbe21 (diff) | |
crypto: x86/aes - stop using the SIMD helper
Stop wrapping skcipher and aead algorithms with the crypto SIMD helper
(crypto/simd.c). The only purpose of doing so was to work around x86
not always supporting kernel-mode FPU in softirqs. Specifically, if a
hardirq interrupted a task context kernel-mode FPU section and then a
softirqs were run at the end of that hardirq, those softirqs could not
use kernel-mode FPU. This has now been fixed. In combination with the
fact that the skcipher and aead APIs only support task and softirq
contexts, these can now just use kernel-mode FPU unconditionally on x86.
This simplifies the code and improves performance.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
