[][src]Type Definition esp_idf_bindgen::esp_omac1_aes_128_t

type esp_omac1_aes_128_t = Option<unsafe extern "C" fn(key: *const u8, data: *const u8, data_len: size_t, mic: *mut u8) -> c_int>;

@brief One-Key CBC MAC (OMAC1) hash with AES-128 for MIC computation

@key: 128-bit key for the hash operation @data: Data buffer for which a MIC is computed @data_len: Length of data buffer in bytes @mic: Buffer for MIC (128 bits, i.e., 16 bytes) Returns: 0 on success, -1 on failure