#[repr(C)]
pub struct cipher_context_t { pub cipher_info: *const cipher_info_t, pub key_bitlen: c_int, pub operation: operation_t, pub add_padding: Option<unsafe extern "C" fn(output: *mut c_uchar, olen: size_t, data_len: size_t)>, pub get_padding: Option<unsafe extern "C" fn(input: *mut c_uchar, ilen: size_t, data_len: *mut size_t) -> c_int>, pub unprocessed_data: [c_uchar; 16], pub unprocessed_len: size_t, pub iv: [c_uchar; 16], pub iv_size: size_t, pub cipher_ctx: *mut c_void, pub cmac_ctx: *mut cmac_context_t, }

Fields

cipher_info: *const cipher_info_tkey_bitlen: c_intoperation: operation_tadd_padding: Option<unsafe extern "C" fn(output: *mut c_uchar, olen: size_t, data_len: size_t)>get_padding: Option<unsafe extern "C" fn(input: *mut c_uchar, ilen: size_t, data_len: *mut size_t) -> c_int>unprocessed_data: [c_uchar; 16]unprocessed_len: size_tiv: [c_uchar; 16]iv_size: size_tcipher_ctx: *mut c_voidcmac_ctx: *mut cmac_context_t

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.