pub unsafe extern "C" fn hmac_sha256(
key: *const c_void,
key_length: size_t,
data: *const c_void,
len: size_t,
digest: *mut c_void,
)
Expand description
@brief function to compute a hmac-sha256 from a given message
@param[in] key key used in the hmac-sha256 computation @param[in] key_length the size in bytes of the key @param[in] data pointer to the buffer to generate the hmac-sha256 @param[in] len the length of the message in bytes @param[out] digest the computed hmac-sha256, length MUST be SHA256_DIGEST_LENGTH