aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2020-06-29 18:16:20 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-09 18:25:16 +1000
commita85211f36f3d637cd9c8e347ae5d37b72837dafb (patch)
treeffe0e4a8d2f6db2bb0003d5eecc8b2f75dd1e4e7 /crypto/api.c
parentcrypto: qat - remove unused field in skcipher ctx (diff)
downloadlinux-rng-a85211f36f3d637cd9c8e347ae5d37b72837dafb.tar.xz
linux-rng-a85211f36f3d637cd9c8e347ae5d37b72837dafb.zip
crypto: qat - fallback for xts with 192 bit keys
Forward requests to another provider if the key length for AES-XTS is 192 bits as this is not supported by the QAT accelerators. This fixes the following issue reported with the option CONFIG_CRYPTO_MANAGER_EXTRA_TESTS: alg: skcipher: qat_aes_xts setkey failed on test vector "random: len=3204 klen=48"; expected_error=0, actual_error=-22, flags=0x1 Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions