diff options
author | Hui Tang <tanghui20@huawei.com> | 2021-05-22 05:44:28 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-28 10:11:47 +0300 |
commit | 6889fc2104e5d20899b91e61daf07a7524b2010d (patch) | |
tree | 82d322121e238490be4e40c86002f1436be7d213 /crypto/testmgr.c | |
parent | 0dbcf1a24e6875d51c290a174a7f2526498e2836 (diff) | |
download | linux-6889fc2104e5d20899b91e61daf07a7524b2010d.tar.xz |
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 10c5b3b01ec4..26e40dba9ad2 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, |