mirror of https://github.com/wolfSSL/wolfssl.git
mp_set pre-processor logic in fastmath breaking existing builds, normal math not effected
parent
fb699acec4
commit
301e91e4d3
|
@ -3886,7 +3886,8 @@ int mp_cnt_lsb(fp_int* a)
|
|||
|
||||
#endif /* HAVE_ECC */
|
||||
|
||||
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
|
||||
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA) || \
|
||||
defined(WOLFSSL_KEY_GEN)
|
||||
/* fast math conversion */
|
||||
int mp_set(fp_int *a, fp_digit b)
|
||||
{
|
||||
|
|
|
@ -725,7 +725,8 @@ MP_API int mp_radix_size (mp_int * a, int radix, int *size);
|
|||
MP_API int mp_init_copy(fp_int * a, fp_int * b);
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
|
||||
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA) || \
|
||||
defined(WOLFSSL_KEY_GEN)
|
||||
MP_API int mp_set(fp_int *a, fp_digit b);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue