Function nettle::curve448::mul

source ·
pub fn mul(q: &mut [u8], n: &[u8], p: &[u8]) -> Result<()>
Expand description

Derive DH shared secret.

Computes the shared secret q for our private key n and the other parties public key p. Returns an error if q, n or p are not CURVE448_SIZE bytes long, or if Curve448 is not supported by Nettle (see IS_SUPPORTED).