Function bearssl::br_tls10_prf
[−]
[src]
pub unsafe extern "C" fn br_tls10_prf(
dst: *mut c_void,
len: usize,
secret: *const c_void,
secret_len: usize,
label: *const c_char,
seed_num: usize,
seed: *const br_tls_prf_seed_chunk
)
\brief PRF implementation for TLS 1.0 and 1.1.
This PRF is the one specified by TLS 1.0 and 1.1. It internally uses MD5 and SHA-1.
\param dst destination buffer. \param len output length (in bytes). \param secret secret value (key) for this computation. \param secret_len length of "secret" (in bytes). \param label PRF label (zero-terminated ASCII string). \param seed_num number of seed chunks. \param seed seed chnks for this computation (usually non-secret).