[][src]Function ffmpeg_sys_next::av_hmac_calc

pub unsafe extern "C" fn av_hmac_calc(
    ctx: *mut AVHMAC,
    data: *const u8,
    len: c_uint,
    key: *const u8,
    keylen: c_uint,
    out: *mut u8,
    outlen: c_uint
) -> c_int

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.