[][src]Function nettle::ecdh::point_mul

pub fn point_mul(scalar: &Scalar, point: &Point) -> Result<Point>

Derive ECDH shared secret.

Computes the shared secret for our private key scalar and the other parties public key point. Results an error if scalr and point are not on the same curve.