pub trait PrfSecret: Send + Sync { // Required method fn prf(&self, output: &mut [u8], label: &[u8], seed: &[u8]); }
An instantiation of the TLS1.2 PRF with a fixed hash function and master secret.
Computes PRF(secret, label, seed), writing the result into output.
PRF(secret, label, seed)
output
secret is implicit in this object; see Prf::new_secret.
secret
Prf::new_secret
The caller guarantees that label and seed are non-empty.
label
seed