Function bearssl::br_tls12_sha384_prf
[−]
[src]
pub unsafe extern "C" fn br_tls12_sha384_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.2, with SHA-384.
This PRF is the one specified by TLS 1.2, when the underlying hash function is SHA-384.
\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).