summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2021-05-22 10:44:28 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-28 15:11:47 +0800
commit6889fc2104e5d20899b91e61daf07a7524b2010d (patch)
tree82d322121e238490be4e40c86002f1436be7d213 /crypto/testmgr.h
parent0dbcf1a24e6875d51c290a174a7f2526498e2836 (diff)
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.h')
-rw-r--r--crypto/testmgr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index aead75d90493..b9cf5b815532 100644
--- a/crypto/testmgr.h
+++ b/crypto/testmgr.h
@@ -2685,7 +2685,6 @@ static const struct kpp_testvec curve25519_tv_template[] = {
}
};
-#ifndef CONFIG_CRYPTO_FIPS
static const struct kpp_testvec ecdh_p192_tv_template[] = {
{
.secret =
@@ -2725,7 +2724,6 @@ static const struct kpp_testvec ecdh_p192_tv_template[] = {
.expected_ss_size = 24
}
};
-#endif
static const struct kpp_testvec ecdh_p256_tv_template[] = {
{