Type Alias esp_idf_svc::sys::esp_aes_gmac_t
source · pub type esp_aes_gmac_t = Option<unsafe extern "C" fn(_: *const u8, _: usize, _: *const u8, _: usize, _: *const u8, _: usize, _: *mut u8) -> i32>;
Expand description
@brief One-Key GMAC hash callback function with AES for MIC computation
@param key key for the hash operation @param keylen key length @param iv initialization vector @param iv_len initialization vector length @param aad aad @param aad_len aad length @param mic Buffer for MIC (128 bits, i.e., 16 bytes) Returns: 0 on success, -1 on failure
Aliased Type§
enum esp_aes_gmac_t {
None,
Some(unsafe extern "C" fn(_: *const u8, _: usize, _: *const u8, _: usize, _: *const u8, _: usize, _: *mut u8) -> i32),
}