crypto: drbg - should select CTR
if CRYPTO_DRBG_CTR is builtin and CTR is module, allocating such algo will fail. DRBG: could not allocate CTR cipher TFM handle: ctr(aes) alg: drbg: Failed to reset rng alg: drbg: Test 0 failed for drbg_pr_ctr_aes128 DRBG: could not allocate CTR cipher TFM handle: ctr(aes) alg: drbg: Failed to reset rng alg: drbg: Test 0 failed for drbg_nopr_ctr_aes128 DRBG: could not allocate CTR cipher TFM handle: ctr(aes) alg: drbg: Failed to reset rng alg: drbg: Test 0 failed for drbg_nopr_ctr_aes192 DRBG: could not allocate CTR cipher TFM handle: ctr(aes) alg: drbg: Failed to reset rng alg: drbg: Test 0 failed for drbg_nopr_ctr_aes256 So let's select CTR instead of just depend on it. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
f23efcbcc5
commit
d6fc1a4592
@ -1819,7 +1819,7 @@ config CRYPTO_DRBG_HASH
|
|||||||
config CRYPTO_DRBG_CTR
|
config CRYPTO_DRBG_CTR
|
||||||
bool "Enable CTR DRBG"
|
bool "Enable CTR DRBG"
|
||||||
select CRYPTO_AES
|
select CRYPTO_AES
|
||||||
depends on CRYPTO_CTR
|
select CRYPTO_CTR
|
||||||
help
|
help
|
||||||
Enable the CTR DRBG variant as defined in NIST SP800-90A.
|
Enable the CTR DRBG variant as defined in NIST SP800-90A.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user