@@ -1880,7 +1880,8 @@ int test_wc_EccRequirementCoverage(void)
18801880{
18811881 EXPECT_DECLS ;
18821882#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
1883- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
1883+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
1884+ defined(OPENSSL_EXTRA ) && defined(WOLFSSL_PUBLIC_MP )
18841885 WC_RNG rng ;
18851886 int initRng = 0 ;
18861887
@@ -2072,7 +2073,8 @@ int test_wc_EccBadArgCoverage(void)
20722073{
20732074 EXPECT_DECLS ;
20742075#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
2075- !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
2076+ !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
2077+ defined(OPENSSL_EXTRA ) && defined(WOLFSSL_PUBLIC_MP )
20762078 const ecc_set_type * dp = NULL ;
20772079 int idx = wc_ecc_get_curve_idx (ECC_SECP256R1 );
20782080 ExpectIntGE (idx , 0 );
@@ -2276,7 +2278,8 @@ int test_wc_EccBadArgCoverage2(void)
22762278{
22772279 EXPECT_DECLS ;
22782280#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
2279- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
2281+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
2282+ defined(WOLFSSL_PUBLIC_MP )
22802283 const ecc_set_type * dp = NULL ;
22812284 int idx = wc_ecc_get_curve_idx (ECC_SECP256R1 );
22822285 static const char bogusHex [] = "01" ;
@@ -2518,7 +2521,8 @@ int test_wc_EccBadArgCoverage3(void)
25182521{
25192522 EXPECT_DECLS ;
25202523#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
2521- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
2524+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
2525+ defined(OPENSSL_EXTRA ) && defined(WOLFSSL_PUBLIC_MP )
25222526 WC_RNG rng ;
25232527 int initRng = 0 ;
25242528 ecc_key key ;
@@ -2761,7 +2765,8 @@ int test_wc_EccBadArgCoverage4(void)
27612765{
27622766 EXPECT_DECLS ;
27632767#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
2764- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
2768+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
2769+ defined(WOLFSSL_PUBLIC_MP )
27652770 WC_RNG rng ;
27662771 int initRng = 0 ;
27672772 ecc_key key ;
@@ -3222,7 +3227,8 @@ int test_wc_EccBadArgCoverage6(void)
32223227{
32233228 EXPECT_DECLS ;
32243229#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
3225- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
3230+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
3231+ defined(OPENSSL_EXTRA ) && defined(WOLFSSL_PUBLIC_MP )
32263232 WC_RNG rng ;
32273233 int initRng = 0 ;
32283234 ecc_key key ;
@@ -3370,7 +3376,8 @@ int test_wc_EccBadArgCoverage7(void)
33703376{
33713377 EXPECT_DECLS ;
33723378#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
3373- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
3379+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
3380+ defined(WOLFSSL_PUBLIC_MP )
33743381
33753382 /* --- wc_ecc_get_curve_id L4296 --- */
33763383 {
@@ -3534,7 +3541,8 @@ int test_wc_EccBadArgCoverage8(void)
35343541{
35353542 EXPECT_DECLS ;
35363543#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
3537- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
3544+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
3545+ defined(WOLFSSL_PUBLIC_MP )
35383546 WC_RNG rng ;
35393547 int initRng = 0 ;
35403548 ecc_key key ;
@@ -3819,7 +3827,8 @@ int test_wc_EccBadArgCoverage9(void)
38193827{
38203828 EXPECT_DECLS ;
38213829#if defined(HAVE_ECC ) && !defined(NO_ECC256 ) && !defined(NO_ECC_SECP ) && \
3822- !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST )
3830+ !defined(WC_NO_RNG ) && !defined(HAVE_FIPS ) && !defined(HAVE_SELFTEST ) && \
3831+ defined(WOLFSSL_PUBLIC_MP )
38233832 WC_RNG rng ;
38243833 int initRng = 0 ;
38253834 ecc_key key ;
0 commit comments