Type Alias esp_idf_sys::esp_hmac_md5_t
source · pub type esp_hmac_md5_t = Option<unsafe extern "C" fn(key: *const c_uchar, key_len: c_uint, data: *const c_uchar, data_len: c_uint, mac: *mut c_uchar) -> c_int>;
Expand description
@brief HMAC-MD5 callback function over data buffer (RFC 2104)’
@param key Key for HMAC operations @param key_len Length of the key in bytes @param data Pointers to the data area @param data_len Length of the data area @param mac Buffer for the hash (16 bytes) Returns: 0 on success, -1 on failure
Aliased Type§
enum esp_hmac_md5_t {
None,
Some(unsafe extern "C" fn(_: *const u8, _: u32, _: *const u8, _: u32, _: *mut u8) -> i32),
}