Lines Matching refs:CipherSuite

19     CipherSuite, HpkeCiphertext, HpkeContextR, HpkeContextS, HpkePublicKey, HpkeSecretKey,
98 pub fn new(cipher_suite: CipherSuite, dh: DH, kdf: KDF) -> Option<Self> { in new() argument
220 pub struct Hpke(pub CipherSuite);
224 pub fn new(cipher_suite: CipherSuite) -> Self { in new()
283 fn cipher_suite_to_params(cipher_suite: CipherSuite) -> Result<hpke::Params, HpkeError> { in cipher_suite_to_params()
285 CipherSuite::CURVE25519_AES128 => Ok(hpke::Params::new( in cipher_suite_to_params()
290 CipherSuite::CURVE25519_CHACHA => Ok(hpke::Params::new( in cipher_suite_to_params()
307 CipherSuite, HpkeContextR, HpkeContextS, HpkePublicKey, HpkeSecretKey,
313 fn hpke_suite_id(cipher_suite: CipherSuite) -> Vec<u8> { in hpke_suite_id()
325 let cipher_suite = CipherSuite::CURVE25519_AES128; in kdf_labeled_extract()
342 let cipher_suite = CipherSuite::CURVE25519_AES128; in kdf_labeled_expand()
359 let cipher_suite = CipherSuite::CURVE25519_CHACHA; in dh_kem_kem_id()
369 let cipher_suite = CipherSuite::CURVE25519_AES128; in dh_kem_generate()
379 let cipher_suite = CipherSuite::CURVE25519_CHACHA; in dh_kem_derive()
403 let cipher_suite = CipherSuite::CURVE25519_AES128; in dh_kem_public_key_validate()
418 let hpke = Hpke::new(CipherSuite::CURVE25519_AES128); in hpke_seal_open()
443 let hpke = Hpke::new(CipherSuite::CURVE25519_AES128); in hpke_context_seal_open()
467 let hpke = Hpke::new(CipherSuite::CURVE25519_AES128); in hpke_context_seal_open_multithreaded()
500 let hpke = Hpke::new(CipherSuite::CURVE25519_AES128); in hpke_context_export()
532 CipherSuite::P256_AES128, in hpke_unsupported_cipher_suites()
533 CipherSuite::P384_AES256, in hpke_unsupported_cipher_suites()
534 CipherSuite::P521_AES256, in hpke_unsupported_cipher_suites()
535 CipherSuite::CURVE448_CHACHA, in hpke_unsupported_cipher_suites()
536 CipherSuite::CURVE448_AES256, in hpke_unsupported_cipher_suites()