Skip to main content

derive_finished_key

Function derive_finished_key 

Source
pub fn derive_finished_key(
    provider: &impl CryptoProvider,
    suite: CipherSuite,
    traffic_secret: &Hash,
) -> Result<Hash, Error>
Expand description

Derive the Finished key from a traffic secret.

finished_key = HKDF-Expand-Label(traffic_secret, “finished”, “”, Hash.length)