Type Alias esp_idf_sys::esp_aes_128_encrypt_t
source · pub type esp_aes_128_encrypt_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 encrypt callback function used by esp_wifi.
@param key Encryption key. @param iv Encryption IV for CBC mode (16 bytes). @param data Data to encrypt in-place. @param data_len Length of data in bytes (must be divisible by 16)
Aliased Type§
enum esp_aes_128_encrypt_t {
None,
Some(unsafe extern "C" fn(_: *const u8, _: *const u8, _: *mut u8, _: i32) -> i32),
}