Type Alias esp_idf_sys::esp_aes_wrap_t

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

@brief The AES wrap callback function used by esp_wifi.

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

Aliased Type§

enum esp_aes_wrap_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.