rustls::tls13::key_schedule

Function hkdf_expand_label_slice

Source
fn hkdf_expand_label_slice(
    expander: &dyn HkdfExpander,
    label: &[u8],
    context: &[u8],
    output: &mut [u8],
) -> Result<(), OutputLengthError>
Expand description

[HKDF-Expand-Label] where the output is a slice.

This can fail because HKDF-Expand is limited in its maximum output length.