[][src]Type Definition esp_idf_bindgen::esp_hmac_sha1_vector_t

type esp_hmac_sha1_vector_t = Option<unsafe extern "C" fn(key: *const c_uchar, key_len: c_uint, num_elem: c_uint, addr: *mut *const c_uchar, len: *const c_uint, mac: *mut c_uchar) -> c_int>;

@brief HMAC-SHA1 over data vector (RFC 2104)

@key: Key for HMAC operations @key_len: Length of the key in bytes @num_elem: Number of elements in the data vector @addr: Pointers to the data areas @len: Lengths of the data blocks @mac: Buffer for the hash (20 bytes) Returns: 0 on success, -1 on failure