Home
last modified time | relevance | path

Searched refs:Ecdh (Results 1 – 3 of 3) sorted by relevance

/system/security/mls/mls-rs-crypto-boringssl/src/
Decdh.rs63 pub struct Ecdh(Curve); struct
65 impl Ecdh { implementation
75 impl DhType for Ecdh { implementation
157 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 …]
Dhpke.rs303 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()
Dlib.rs37 use ecdh::Ecdh;
104 type CipherSuiteProvider = BoringsslCipherSuite<DhKem<Ecdh, Kdf>, Kdf, AeadWrapper>;
118 let ecdh = Ecdh::new(cipher_suite)?; in cipher_suite_provider()