rustls::client::tls13

Function fill_in_psk_binder

Source
pub(super) fn fill_in_psk_binder(
    resuming: &Tls13ClientSessionValue,
    transcript: &HandshakeHashBuffer,
    hmp: &mut HandshakeMessagePayload<'_>,
) -> KeyScheduleEarly
Expand description

This implements the horrifying TLS1.3 hack where PSK binders have a data dependency on the message they are contained within.