Searched refs:from_private_key (Results 1 – 2 of 2) sorted by relevance
37 pub fn from_private_key(buf: &[u8]) -> Result<ECDHPrivateKey> { in from_private_key() method130 let recipient = ECDHPrivateKey::from_private_key(&recipient.private_key()?)?; in test_crypto_roundtrip()
474 ECDHPrivateKey::from_private_key(&key.key) in unwrap_key_with_key()