Function s2n_tls_sys::s2n_client_hello_get_cipher_suites
source · pub unsafe extern "C" fn s2n_client_hello_get_cipher_suites(
ch: *mut s2n_client_hello,
out: *mut u8,
max_length: u32
) -> isize
Expand description
Copies into the out
buffer max_length
bytes of the cipher_suites on the ClientHello.
@param ch The Client Hello handle @param out The destination buffer for the raw Client Hello cipher suites @param max_length The size of out in bytes @returns The number of copied bytes