Skip to content
Snippets Groups Projects
Commit bf60e86d authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Nettle.ECC_Curve: Improved documentation about point_mul().

Added note that point_mul() validates that the coordinate
is valid for the curve.
parent 0e7f3329
Branches
Tags
No related merge requests found
...@@ -492,6 +492,9 @@ PIKECLASS ECC_Curve ...@@ -492,6 +492,9 @@ PIKECLASS ECC_Curve
*! *!
*! @returns *! @returns
*! Returns the new point on the curve. *! Returns the new point on the curve.
*!
*! @throws
*! Throws an error if the point (@[x], @[y]) isn't on the curve.
*/ */
PIKEFUN array(object(Gmp.mpz)) point_mul(object(Gmp.mpz)|int x, PIKEFUN array(object(Gmp.mpz)) point_mul(object(Gmp.mpz)|int x,
object(Gmp.mpz)|int y, object(Gmp.mpz)|int y,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment