Home
last modified time | relevance | path

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

/external/rust/crates/quiche/src/
Dcrypto.rs144 pub fn from_secret(aead: Algorithm, secret: &[u8]) -> Result<Open> { in from_secret() method
228 pub fn from_secret(aead: Algorithm, secret: &[u8]) -> Result<Seal> { in from_secret() method
Dtls.rs589 let open = match crypto::Open::from_secret(aead, &secret) { in set_read_secret()
639 let seal = match crypto::Seal::from_secret(aead, &secret) { in set_write_secret()
Dpacket.rs1505 let aead = crypto::Open::from_secret(alg, &secret).unwrap(); in decrypt_chacha20()
2150 let aead = crypto::Seal::from_secret(alg, &secret).unwrap(); in encrypt_chacha20()