diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-12 22:56:13 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-20 13:39:26 +0800 |
commit | 6dac6980754c6e19dc1f82dbd8c0a3383e26cf98 (patch) | |
tree | face20052cfccf3734aa613908b709e0005f9312 /crypto/asymmetric_keys/Makefile | |
parent | ab230b6c7e63b47b853c2bb6023c26c054c2d6c5 (diff) | |
download | linux-crypto-6dac6980754c6e19dc1f82dbd8c0a3383e26cf98.tar.gz linux-crypto-6dac6980754c6e19dc1f82dbd8c0a3383e26cf98.zip |
crypto: skcipher - fix weak key check for lskciphers
When an algorithm of the new "lskcipher" type is exposed through the
"skcipher" API, calls to crypto_skcipher_setkey() don't pass on the
CRYPTO_TFM_REQ_FORBID_WEAK_KEYS flag to the lskcipher. This causes
self-test failures for ecb(des), as weak keys are not rejected anymore.
Fix this.
Fixes: 17155679d03d ("crypto: skcipher - Add lskcipher")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys/Makefile')
0 files changed, 0 insertions, 0 deletions