Function av_hmac_calc
pub unsafe extern "C" fn av_hmac_calc(
ctx: *mut AVHMAC,
data: *const u8,
len: u32,
key: *const u8,
keylen: u32,
out: *mut u8,
outlen: u32,
) -> i32
Expand description
Hash an array of data with a key. @param ctx The HMAC context @param data The data to hash @param len The length of the data, in bytes @param key The authentication key @param keylen The length of the key, in bytes @param out The output buffer to write the digest into @param outlen The length of the out buffer, in bytes @return The number of bytes written to out, or a negative error code.