diff options
author | Hui Tang <tanghui20@huawei.com> | 2021-05-22 10:44:28 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-28 15:11:47 +0800 |
commit | f962e85df3b6cbf5232410721612c09c24c618a8 (patch) | |
tree | fef689aec54783a1c0e0ac03b6cc518bcb9b2f6d /crypto/testmgr.c | |
parent | e866d9bcddb3e5a41dd19b1d3388b8f64664f760 (diff) | |
download | linux-crypto-f962e85df3b6cbf5232410721612c09c24c618a8.tar.gz linux-crypto-f962e85df3b6cbf5232410721612c09c24c618a8.zip |
crypto: ecdh - fix ecdh-nist-p192's entry in testmgr
Add a comment that p192 will fail to register in FIPS mode.
Fix ecdh-nist-p192's entry in testmgr by removing the ifdefs
and not setting fips_allowed.
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 10c5b3b0..26e40dba 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -4899,15 +4899,12 @@ static const struct alg_test_desc alg_test_descs[] = { } }, { #endif -#ifndef CONFIG_CRYPTO_FIPS .alg = "ecdh-nist-p192", .test = alg_test_kpp, - .fips_allowed = 1, .suite = { .kpp = __VECS(ecdh_p192_tv_template) } }, { -#endif .alg = "ecdh-nist-p256", .test = alg_test_kpp, .fips_allowed = 1, |