Function hacl::ecdh::derive_base

source ยท
pub fn derive_base(mode: Mode, s: &[u8]) -> Result<Vec<u8>, Error>
Expand description

Returns Ok(base_point * s) on the provided curve (mode) or an error.