pub fn prf_tls12(
hmac: &dyn HmacProvider,
secret: &[u8],
label: &str,
seed: &[u8],
out: &mut Buf,
output_len: usize,
scratch: &mut Buf,
hash: HashAlgorithm,
) -> Result<(), CryptoError>Expand description
TLS 1.2 PRF: PRF(secret, label, seed) writing output_len bytes to out.
Uses scratch for temporary concatenation of label+seed.