mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-31 07:59:18 +01:00
Enable TFM mp_sqr even when HAVE_ECC disabled
This commit is contained in:
@@ -6092,14 +6092,14 @@ int mp_montgomery_setup(fp_int *a, fp_digit *rho)
|
||||
|
||||
#endif /* HAVE_ECC || (!NO_RSA && WC_RSA_BLINDING) */
|
||||
|
||||
#ifdef HAVE_ECC
|
||||
|
||||
/* fast math conversion */
|
||||
int mp_sqr(fp_int *A, fp_int *B)
|
||||
{
|
||||
return fp_sqr(A, B);
|
||||
}
|
||||
|
||||
#ifdef HAVE_ECC
|
||||
|
||||
/* fast math conversion */
|
||||
int mp_div_2(fp_int * a, fp_int * b)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user