Searched refs:derive_initial_secret (Results 1 – 1 of 1) sorted by relevance
300 let initial_secret = derive_initial_secret(&cid, version)?; in derive_initial_key_material()337 fn derive_initial_secret(secret: &[u8], version: u32) -> Result<hkdf::Prk> { in derive_initial_secret() function472 derive_initial_secret(&dcid, crate::PROTOCOL_VERSION).unwrap(); in derive_initial_secrets()551 derive_initial_secret(&dcid, crate::PROTOCOL_VERSION_DRAFT28) in derive_initial_secrets_old()