pub unsafe extern "C" fn dtls_prf(
key: *const c_uchar,
keylen: usize,
label: *const c_uchar,
labellen: usize,
random1: *const c_uchar,
random1len: usize,
random2: *const c_uchar,
random2len: usize,
buf: *mut c_uchar,
buflen: usize,
) -> usizeExpand description
This function implements the TLS PRF for DTLS_VERSION. For version 1.0, the PRF is P_MD5 ^ P_SHA1 while version 1.2 uses P_SHA256. Currently, the actual PRF is selected at compile time.