mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +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 */
|
#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 */
|
/* fast math conversion */
|
||||||
int mp_set(fp_int *a, fp_digit b)
|
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);
|
MP_API int mp_init_copy(fp_int * a, fp_int * b);
|
||||||
#endif
|
#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);
|
MP_API int mp_set(fp_int *a, fp_digit b);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user