Lines Matching defs:Algorithm
62 pub enum Algorithm { enum
73 impl Algorithm { implementation
84 fn get_ring_hp(self) -> &'static aead::quic::Algorithm { in get_ring_hp()
92 fn get_ring_digest(self) -> hkdf::Algorithm { in get_ring_digest()
141 alg: Algorithm, key: &[u8], iv: &[u8], hp_key: &[u8], secret: &[u8], in new()
154 pub fn from_secret(aead: Algorithm, secret: &[u8]) -> Result<Open> { in from_secret()
220 pub fn alg(&self) -> Algorithm { in alg()
253 alg: Algorithm, key: &[u8], iv: &[u8], hp_key: &[u8], secret: &[u8], in new()
266 pub fn from_secret(aead: Algorithm, secret: &[u8]) -> Result<Seal> { in from_secret()
347 pub fn alg(&self) -> Algorithm { in alg()
375 pub fn new(alg: Algorithm, hp_key: &[u8]) -> Result<Self> { in new()
384 pub fn from_secret(aead: Algorithm, secret: &[u8]) -> Result<Self> { in from_secret()
402 pub fn new(alg: Algorithm, key: &[u8], iv: &[u8]) -> Result<Self> { in new()
410 pub fn from_secret(aead: Algorithm, secret: &[u8]) -> Result<Self> { in from_secret()
535 fn derive_next_secret(aead: Algorithm, secret: &[u8]) -> Result<Vec<u8>> { in derive_next_secret()
547 aead: Algorithm, secret: &[u8], out: &mut [u8], in derive_hdr_key()
562 aead: Algorithm, secret: &[u8], out: &mut [u8], in derive_pkt_key()
577 aead: Algorithm, secret: &[u8], out: &mut [u8], in derive_pkt_iv()
591 fn make_aead_ctx(alg: Algorithm, key: &[u8]) -> Result<EVP_AEAD_CTX> { in make_aead_ctx()