Fix for ecc_projective_*_safe visibilty

pull/4466/head
Eric Blankenhorn 2021-10-12 11:12:42 -05:00
parent b8c4e89ea0
commit be6bf5687b
1 changed files with 4 additions and 2 deletions

View File

@ -6303,7 +6303,8 @@ int wc_ecc_free(ecc_key* key)
return 0;
}
#if !defined(WOLFSSL_SP_MATH)
#if !defined(WOLFSSL_ATECC508A) && !defined(WOLFSSL_ATECC608A) && \
!defined(WOLFSSL_CRYPTOCELL) && !defined(WOLFSSL_SP_MATH)
/* Handles add failure cases:
*
* Before add:
@ -6410,7 +6411,8 @@ int ecc_projective_dbl_point_safe(ecc_point *P, ecc_point *R, mp_int* a,
return err;
}
#endif
#endif /* !WOLFSSL_ATECC508A && !WOLFSSL_ATECC608A
&& !WOLFSSL_CRYPTOCELL && !WOLFSSL_SP_MATH */
#if !defined(WOLFSSL_SP_MATH) && !defined(WOLFSSL_ATECC508A) && \
!defined(WOLFSSL_ATECC608A) && !defined(WOLFSSL_CRYPTOCELL) && \