Struct mbedtls_sys::mbedtls_cipher_context_t
[−]
[src]
#[repr(C)]pub struct mbedtls_cipher_context_t { pub cipher_info: *const mbedtls_cipher_info_t, pub key_bitlen: c_int, pub operation: mbedtls_operation_t, pub add_padding: Option<unsafe extern "C" fn(_: *mut c_uchar, _: size_t, _: size_t)>, pub get_padding: Option<unsafe extern "C" fn(_: *mut c_uchar, _: size_t, _: *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, }
Fields
cipher_info: *const mbedtls_cipher_info_t
key_bitlen: c_int
operation: mbedtls_operation_t
add_padding: Option<unsafe extern "C" fn(_: *mut c_uchar, _: size_t, _: size_t)>
get_padding: Option<unsafe extern "C" fn(_: *mut c_uchar, _: size_t, _: *mut size_t) -> c_int>
unprocessed_data: [c_uchar; 16]
unprocessed_len: size_t
iv: [c_uchar; 16]
iv_size: size_t
cipher_ctx: *mut c_void
Trait Implementations
impl Copy for mbedtls_cipher_context_t
[src]
impl Clone for mbedtls_cipher_context_t
[src]
fn clone(&self) -> mbedtls_cipher_context_t
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more