Searched refs:Ecdh (Results 1 – 3 of 3) sorted by relevance
63 pub struct Ecdh(Curve); struct65 impl Ecdh { implementation75 impl DhType for Ecdh { implementation157 use super::{DhType, Ecdh, EcdhError};176 let x25519 = Ecdh::new(CipherSuite::CURVE25519_AES128).unwrap(); in dh()182 let x25519 = Ecdh::new(CipherSuite::CURVE25519_AES128).unwrap(); in dh_invalid_key()219 let x25519 = Ecdh::new(CipherSuite::CURVE25519_CHACHA).unwrap(); in to_public()228 let x25519 = Ecdh::new(CipherSuite::CURVE25519_CHACHA).unwrap(); in to_public_invalid_key()237 let x25519 = Ecdh::new(CipherSuite::CURVE25519_AES128).unwrap(); in generate()249 let x25519 = Ecdh::new(CipherSuite::CURVE25519_AES128).unwrap(); in public_key_validate()[all …]
303 use crate::ecdh::Ecdh;360 let dh = Ecdh::new(cipher_suite).unwrap(); in dh_kem_kem_id()370 let dh = Ecdh::new(cipher_suite).unwrap(); in dh_kem_generate()380 let dh = Ecdh::new(cipher_suite).unwrap(); in dh_kem_derive()404 let dh = Ecdh::new(cipher_suite).unwrap(); in dh_kem_public_key_validate()
37 use ecdh::Ecdh;104 type CipherSuiteProvider = BoringsslCipherSuite<DhKem<Ecdh, Kdf>, Kdf, AeadWrapper>;118 let ecdh = Ecdh::new(cipher_suite)?; in cipher_suite_provider()