Fix doc for wc_ecc_mulmod

This commit is contained in:
Eric Blankenhorn
2026-01-15 16:45:48 -06:00
parent 0f3c769c44
commit 8316a4080d

View File

@@ -983,6 +983,7 @@ int wc_ecc_point_is_at_infinity(ecc_point *p);
\param k The multiplicand.
\param G Base point to multiply.
\param R Destination of product.
\param a ECC curve parameter a.
\param modulus The modulus for the curve.
\param map If non-zero maps the point back to affine coordinates,
otherwise it's left in jacobian-montgomery form.
@@ -997,7 +998,10 @@ int wc_ecc_point_is_at_infinity(ecc_point *p);
// Setup other arguments
mp_int multiplicand;
mp_int modulus;
mp_int a;
int map;
int rc;
rc = wc_ecc_mulmod(&multiplicand, base, destination, &a, &modulus, map);
\endcode
\sa none