mirror of https://github.com/wolfSSL/wolfssl
Add ECC unit test functions.
Change per David RE: WOLFSSL_ATECC508A Jenkins fix. Changes per Chris.
This commit is contained in:
parent
0af93ffd08
commit
6c76a89785
1843
tests/api.c
1843
tests/api.c
File diff suppressed because it is too large
Load Diff
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue