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 callback function

@param ctx Context pointer from aes_encrypt_init() @param crypt Encrypted data (16 bytes) @param 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.