mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Merge pull request #1836 from kaleb-himes/MP_SET_IMPL_DEC_FIX
mp_set pre-processor logic in fastmath breaking existing builds, norm…
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user