forked from wolfSSL/wolfssl
ecc.c: add (void)rng to wc_ecc_mulmod_ex2() to cover WOLFSSL_SP_MATH case.
This commit is contained in:
@@ -10122,6 +10122,8 @@ int wc_ecc_mulmod_ex2(mp_int* k, ecc_point *G, ecc_point *R, mp_int* a,
|
|||||||
|
|
||||||
return err;
|
return err;
|
||||||
#else
|
#else
|
||||||
|
(void)rng;
|
||||||
|
|
||||||
if (k == NULL || G == NULL || R == NULL || a == NULL || modulus == NULL ||
|
if (k == NULL || G == NULL || R == NULL || a == NULL || modulus == NULL ||
|
||||||
order == NULL) {
|
order == NULL) {
|
||||||
return ECC_BAD_ARG_E;
|
return ECC_BAD_ARG_E;
|
||||||
|
Reference in New Issue
Block a user