Add ECC unit test functions.

Change per David RE: WOLFSSL_ATECC508A
Jenkins fix.
Changes per Chris.
This commit is contained in:
jrblixt 2017-06-13 13:23:21 -06:00
parent 0af93ffd08
commit 6c76a89785
2 changed files with 1847 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6948,6 +6948,10 @@ int wc_ecc_mulmod_ex(mp_int* k, ecc_point *G, ecc_point *R, mp_int* a,
mp_int mu;
int mpSetup = 0;
if (k == NULL || G == NULL || R == NULL || a == NULL || modulus == NULL) {
return ECC_BAD_ARG_E;
}
if (mp_init(&mu) != MP_OKAY)
return MP_INIT_E;