Lines Matching refs:CipherSuite
18 use mls_rs_core::crypto::{CipherSuite, HpkePublicKey, HpkeSecretKey};
67 pub fn new(cipher_suite: CipherSuite) -> Option<Self> { in new()
160 use mls_rs_core::crypto::{CipherSuite, HpkePublicKey, HpkeSecretKey};
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()
258 let x25519 = Ecdh::new(CipherSuite::CURVE25519_AES128).unwrap(); in public_key_validate_invalid_key()
268 CipherSuite::P256_AES128, in unsupported_cipher_suites()
269 CipherSuite::P384_AES256, in unsupported_cipher_suites()
270 CipherSuite::P521_AES256, in unsupported_cipher_suites()
271 CipherSuite::CURVE448_CHACHA, in unsupported_cipher_suites()
272 CipherSuite::CURVE448_AES256, in unsupported_cipher_suites()