rama::tls::rustls::dep::rustls::crypto::cipher

Function make_tls13_aad

pub fn make_tls13_aad(payload_len: usize) -> [u8; 5]
Expand description

Returns a TLS1.3 additional_data encoding.

See RFC8446 s5.2 for the additional_data definition.