forked from wolfSSL/wolfssl
ecc fixed point compile fixes, still need ecc_mul2add
This commit is contained in:
@ -2455,6 +2455,15 @@ int mp_div_2(fp_int * a, fp_int * b)
|
|||||||
return MP_OKAY;
|
return MP_OKAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int mp_init_copy(fp_int * a, fp_int * b)
|
||||||
|
{
|
||||||
|
fp_init_copy(a, b);
|
||||||
|
return MP_OKAY;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HAVE_ECC */
|
#endif /* HAVE_ECC */
|
||||||
|
|
||||||
#endif /* USE_FAST_MATH */
|
#endif /* USE_FAST_MATH */
|
||||||
|
@ -654,6 +654,7 @@ int mp_to_unsigned_bin (mp_int * a, unsigned char *b);
|
|||||||
int mp_montgomery_setup(fp_int *a, fp_digit *rho);
|
int mp_montgomery_setup(fp_int *a, fp_digit *rho);
|
||||||
int mp_isodd(mp_int* a);
|
int mp_isodd(mp_int* a);
|
||||||
int mp_div_2(fp_int * a, fp_int * b);
|
int mp_div_2(fp_int * a, fp_int * b);
|
||||||
|
int mp_init_copy(fp_int * a, fp_int * b);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_ECC) || defined(CYASSL_KEY_GEN)
|
#if defined(HAVE_ECC) || defined(CYASSL_KEY_GEN)
|
||||||
|
Reference in New Issue
Block a user