[−][src]Struct hactool_sys::mbedtls_cipher_info_t
Cipher information. Allows cipher functions to be called in a generic way.
Fields
type_: mbedtls_cipher_type_t
Full cipher identifier (e.g. MBEDTLS_CIPHER_AES_256_CBC)
mode: mbedtls_cipher_mode_t
Cipher mode (e.g. MBEDTLS_MODE_CBC)
key_bitlen: c_uint
Cipher key length, in bits (default length for variable sized ciphers) (Includes parity bits for ciphers like DES)
name: *const c_char
Name of the cipher
iv_size: c_uint
IV/NONCE size, in bytes. For cipher that accept many sizes: recommended size
flags: c_int
Flags for variable IV size, variable key size, etc.
block_size: c_uint
block size, in bytes
base: *const mbedtls_cipher_base_t
Base cipher information and functions
Trait Implementations
impl Copy for mbedtls_cipher_info_t
[src]
impl Default for mbedtls_cipher_info_t
[src]
impl Clone for mbedtls_cipher_info_t
[src]
fn clone(&self) -> mbedtls_cipher_info_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for mbedtls_cipher_info_t
[src]
Auto Trait Implementations
impl !Send for mbedtls_cipher_info_t
impl !Sync for mbedtls_cipher_info_t
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,