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

@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

Aliased Type§

enum esp_omac1_aes_128_t {
    None,
    Some(unsafe extern "C" fn(_: *const u8, _: *const u8, _: usize, _: *mut u8) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.