Type Alias esp_idf_sys::esp_aes_encrypt_t

source ·
pub type esp_aes_encrypt_t = Option<unsafe extern "C" fn(ctx: *mut c_void, plain: *const c_uchar, crypt: *mut c_uchar)>;
Expand description

@brief Encrypt one AES block

@ctx: Context pointer from aes_encrypt_init() @plain: Plaintext data to be encrypted (16 bytes) @crypt: Buffer for the encrypted data (16 bytes)

Aliased Type§

enum esp_aes_encrypt_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *mut u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *mut u8))

Some value of type T.