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 callback function when do WPS connect.

@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),
}

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.