Home
last modified time | relevance | path

Searched refs:Prk (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/ring/src/
Dhkdf.rs71 pub fn extract(&self, secret: &[u8]) -> Prk { in extract() argument
80 Prk(hmac::Key::new(salt.algorithm(), prk.as_ref())) in extract()
109 pub struct Prk(hmac::Key); struct
111 impl Prk { implementation
145 impl From<Okm<'_, Algorithm>> for Prk { implementation
162 prk: &'a Prk,
189 prk: &Prk, in fill_okm() argument
/external/rust/crates/quiche/src/
Dcrypto.rs337 fn derive_initial_secret(secret: &[u8], version: u32) -> Result<hkdf::Prk> { in derive_initial_secret() argument
359 fn derive_client_initial_secret(prk: &hkdf::Prk, out: &mut [u8]) -> Result<()> { in derive_client_initial_secret() argument
364 fn derive_server_initial_secret(prk: &hkdf::Prk, out: &mut [u8]) -> Result<()> { in derive_server_initial_secret() argument
380 let secret = hkdf::Prk::new_less_safe(aead.get_ring_digest(), secret); in derive_hdr_key()
395 let secret = hkdf::Prk::new_less_safe(aead.get_ring_digest(), secret); in derive_pkt_key()
410 let secret = hkdf::Prk::new_less_safe(aead.get_ring_digest(), secret); in derive_pkt_iv()
415 prk: &hkdf::Prk, label: &[u8], out: &mut [u8], in hkdf_expand_label() argument