pub unsafe extern "C" fn Hacl_Curve25519_51_secret_to_public(
pub_: *mut u8,
priv_: *mut u8,
)
Expand description
Calculate a public point from a secret/private key.
This computes a scalar multiplication of the secret/private key with the curve’s basepoint.
@param pub Pointer to 32 bytes of memory, allocated by the caller, where the resulting point is written to. @param priv Pointer to 32 bytes of memory where the secret/private key is read from.