Type Alias esp_idf_sys::esp_aes_unwrap_t

source ·
pub type esp_aes_unwrap_t = Option<unsafe extern "C" fn(kek: *const c_uchar, n: c_int, cipher: *const c_uchar, plain: *mut c_uchar) -> c_int>;
Expand description

@brief The AES callback function when do STA connect.

@param kek 16-octet Key decryption key (KEK). @param n Length of the plaintext key in 64-bit units; @param cipher Wrapped key to be unwrapped, (n + 1) * 64 bits @param plain Plaintext key, n * 64 bits

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.