Enable TFM mp_sqr even when HAVE_ECC disabled

This commit is contained in:
gojimmypi
2024-03-13 16:36:30 -07:00
parent 448378ce90
commit bebfb120d7
2 changed files with 4 additions and 3 deletions

View File

@@ -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)
{