Type Alias esp_idf_svc::sys::esp_aes_128_encrypt_t
source · pub type esp_aes_128_encrypt_t = Option<unsafe extern "C" fn(_: *const u8, _: *const u8, _: *mut u8, _: i32) -> i32>;
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),
}