From e0f2bbd1b497f09327335a94c1fd5cd06c2fa251 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 19 Jul 2016 19:12:45 -0700 Subject: [PATCH] Added comment about why 0's test is disabled. ECC without Shamir fails with fast or normal math. --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index b33d24ce7..9d69a952d 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -6822,7 +6822,7 @@ static int ecc_test_curve_size(WC_RNG* rng, int keySize, int testVerifyCount, #endif /* HAVE_ECC_KEY_EXPORT */ #ifdef HAVE_ECC_SIGN -#ifdef ECC_SHAMIR +#ifdef ECC_SHAMIR /* ECC w/out Shamir has issue with all 0 digest */ /* test DSA sign hash with zeros */ for (i = 0; i < (int)sizeof(digest); i++) { digest[i] = 0;