Struct mbedtls_sys::cipher_context_t[][src]

#[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

impl Clone for cipher_context_t[src]

impl Copy for cipher_context_t[src]

impl Default for cipher_context_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.