Fix for missing wolfcrypt_mp_prime_is_prime_ex def.

This commit is contained in:
David Garske
2021-06-21 13:01:53 -07:00
parent ae2f2b246e
commit 2d1b113f51
2 changed files with 2 additions and 1 deletions

View File

@@ -2434,7 +2434,7 @@ static int wc_RsaFunctionSync(const byte* in, word32 inLen, byte* out,
/* unblind */
if (ret == 0 && mp_mulmod(tmp, rndi, &key->n, tmp) != MP_OKAY)
ret = MP_MULMOD_E;
#endif /* WC_RSA_BLINDING */
#endif /* WC_RSA_BLINDING */
break;
}

View File

@@ -46,6 +46,7 @@ int ksdk_port_init(void);
int wolfcrypt_mp_mod(mp_int *a, mp_int *b, mp_int *c);
int wolfcrypt_mp_invmod(mp_int *a, mp_int *b, mp_int *c);
int wolfcrypt_mp_exptmod(mp_int *G, mp_int *X, mp_int *P, mp_int *Y);
int wolfcrypt_mp_prime_is_prime_ex(mp_int* a, int t, int* result, WC_RNG* rng);
/* Exported mp_mulmod function */
int mp_mulmod(mp_int *a, mp_int *b, mp_int *c, mp_int *d);