diff --git a/wolfcrypt/src/integer.c b/wolfcrypt/src/integer.c index 245340356..be7bd5fcb 100644 --- a/wolfcrypt/src/integer.c +++ b/wolfcrypt/src/integer.c @@ -3893,7 +3893,7 @@ int mp_sqrmod (mp_int * a, mp_int * b, mp_int * c) #if defined(HAVE_ECC) || !defined(NO_PWDBASED) || defined(WOLFSSL_SNIFFER) || \ defined(WOLFSSL_HAVE_WOLFSCEP) || defined(WOLFSSL_KEY_GEN) || \ - defined(OPENSSL_EXTRA) + defined(OPENSSL_EXTRA) || defined(WC_RSA_BLINDING) /* single digit addition */ int mp_add_d (mp_int* a, mp_digit b, mp_int* c) diff --git a/wolfcrypt/src/tfm.c b/wolfcrypt/src/tfm.c index 27745ec97..35364334a 100644 --- a/wolfcrypt/src/tfm.c +++ b/wolfcrypt/src/tfm.c @@ -2855,7 +2855,8 @@ void fp_gcd(fp_int *a, fp_int *b, fp_int *c) #endif /* WOLFSSL_KEY_GEN */ -#if defined(HAVE_ECC) || !defined(NO_PWDBASED) || defined(OPENSSL_EXTRA) +#if defined(HAVE_ECC) || !defined(NO_PWDBASED) || defined(OPENSSL_EXTRA) || \ + defined(WC_RSA_BLINDING) /* c = a + b */ void fp_add_d(fp_int *a, fp_digit b, fp_int *c) {