Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Nettle.ECC_Curve()->point_mul()


Method point_mul

array(Gmp.mpz) point_mul(Gmp.mpz|int x, Gmp.mpz|int y, Gmp.mpz|int scalar)

Description

Multiply a point on the curve by a scalar.

A typical use is for Elliptic Curve Diffie Hellman (ECDH) key exchange.

Returns

Returns the new point on the curve.