pub fn ecdh(
suite: SecuritySuite,
private_key: &[u8],
public_key: &[u8],
) -> Result<Vec<u8>, AgreementError>Expand description
Computes the raw ECDH shared secret Z = FE2OS(x) between our private_key
(raw scalar) and the peer’s public_key (raw x ‖ y or SEC1) on the suite’s
curve.