Skip to content

Commit 8316a40

Browse files
committed
Fix doc for wc_ecc_mulmod
1 parent 0f3c769 commit 8316a40

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • doc/dox_comments/header_files

doc/dox_comments/header_files/ecc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ int wc_ecc_point_is_at_infinity(ecc_point *p);
983983
\param k The multiplicand.
984984
\param G Base point to multiply.
985985
\param R Destination of product.
986+
\param a ECC curve parameter a.
986987
\param modulus The modulus for the curve.
987988
\param map If non-zero maps the point back to affine coordinates,
988989
otherwise it's left in jacobian-montgomery form.
@@ -997,7 +998,10 @@ int wc_ecc_point_is_at_infinity(ecc_point *p);
997998
// Setup other arguments
998999
mp_int multiplicand;
9991000
mp_int modulus;
1001+
mp_int a;
10001002
int map;
1003+
int rc;
1004+
rc = wc_ecc_mulmod(&multiplicand, base, destination, &a, &modulus, map);
10011005
\endcode
10021006
10031007
\sa none

0 commit comments

Comments
 (0)