Type Alias esp_idf_sys::esp_aes_gmac_t

source ·
pub type esp_aes_gmac_t = Option<unsafe extern "C" fn(key: *const u8, keylen: usize, iv: *const u8, iv_len: usize, aad: *const u8, aad_len: usize, mic: *mut u8) -> c_int>;
Expand description

@brief One-Key GMAC hash with AES for MIC computation

@key: key for the hash operation @keylen: key length @iv: initialization vector @iv_len: initialization vector length @aad: aad @aad_len: aad length @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),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const u8, _: usize, _: *const u8, _: usize, _: *const u8, _: usize, _: *mut u8) -> i32)

Some value of type T.