Struct Dh25519
snow::wrappers::hacl_wrapper
pub struct Dh25519 { /* fields omitted */ }
impl Default for Dh25519
fn default() -> Dh25519
Returns the "default value" for a type. Read more
impl Dh for Dh25519
fn name(&self) -> &'static str
fn pub_len(&self) -> usize
fn priv_len(&self) -> usize
fn set(&mut self, privkey: &[u8])
fn generate(&mut self, rng: &mut Random)
fn pubkey(&self) -> &[u8]
fn privkey(&self) -> &[u8]
fn dh(&self, pubkey: &[u8], out: &mut [u8])
impl Send for Dh25519
impl Sync for Dh25519