diff options
author | Eric Biggers <ebiggers@google.com> | 2024-05-27 10:05:39 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-06-07 13:46:38 +0200 |
commit | fa501bf25eb353422a0c966ed91662051edac839 (patch) | |
tree | 4633b512498c3fcc7d3da15ad31d43b0a052f4e8 /include/sound/tlv320aic32x4.h | |
parent | crypto: atmel-sha204a - fix negated return value (diff) | |
download | linux-fa501bf25eb353422a0c966ed91662051edac839.tar.xz linux-fa501bf25eb353422a0c966ed91662051edac839.zip |
crypto: testmgr - test setkey in no-SIMD context
Since crypto_shash_setkey(), crypto_ahash_setkey(),
crypto_skcipher_setkey(), and crypto_aead_setkey() apparently need to
work in no-SIMD context on some architectures, make the self-tests cover
this scenario. Specifically, sometimes do the setkey while under
crypto_disable_simd_for_test(), and do this independently from disabling
SIMD for the other parts of the crypto operation since there is no
guarantee that all parts happen in the same context. (I.e., drivers
mustn't store the key in different formats for SIMD vs. no-SIMD.)
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/sound/tlv320aic32x4.h')
0 files changed, 0 insertions, 0 deletions