Type Alias esp_idf_sys::esp_aes_decrypt_t

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

@brief Decrypt one AES block

@ctx: Context pointer from aes_encrypt_init() @crypt: Encrypted data (16 bytes) @plain: Buffer for the decrypted data (16 bytes)

Aliased Type§

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