Type Alias esp_idf_sys::esp_aes_128_decrypt_t

source ·
pub type esp_aes_128_decrypt_t = Option<unsafe extern "C" fn(key: *const c_uchar, iv: *const c_uchar, data: *mut c_uchar, data_len: c_int) -> c_int>;
Expand description

@brief The AES 128 decrypt callback function used by esp_wifi.

@param key Decryption key. @param iv Decryption IV for CBC mode (16 bytes). @param data Data to decrypt in-place. @param data_len Length of data in bytes (must be divisible by 16)

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.