Function hacl::p256::ecdh

source ยท
pub fn ecdh(p: &[u8], s: &[u8]) -> Result<[u8; 64], Error>
Expand description

Return p * s

The public key p can be in uncompressed or compressed form or a concatenation of the two 32 byte values.