Struct mbedtls_sys::ssl_transform
source · [−]#[repr(C)]pub struct ssl_transform {Show 18 fields
pub minlen: size_t,
pub ivlen: size_t,
pub fixed_ivlen: size_t,
pub maclen: size_t,
pub taglen: size_t,
pub iv_enc: [c_uchar; 16],
pub iv_dec: [c_uchar; 16],
pub mac_enc: [c_uchar; 20],
pub mac_dec: [c_uchar; 20],
pub md_ctx_enc: md_context_t,
pub md_ctx_dec: md_context_t,
pub encrypt_then_mac: c_int,
pub cipher_ctx_enc: cipher_context_t,
pub cipher_ctx_dec: cipher_context_t,
pub minor_ver: c_int,
pub ctx_deflate: z_stream,
pub ctx_inflate: z_stream,
pub randbytes: [c_uchar; 64],
}
Fields
minlen: size_t
ivlen: size_t
fixed_ivlen: size_t
maclen: size_t
taglen: size_t
iv_enc: [c_uchar; 16]
iv_dec: [c_uchar; 16]
mac_enc: [c_uchar; 20]
mac_dec: [c_uchar; 20]
md_ctx_enc: md_context_t
md_ctx_dec: md_context_t
encrypt_then_mac: c_int
cipher_ctx_enc: cipher_context_t
cipher_ctx_dec: cipher_context_t
minor_ver: c_int
ctx_deflate: z_stream
ctx_inflate: z_stream
randbytes: [c_uchar; 64]
Trait Implementations
sourceimpl Clone for ssl_transform
impl Clone for ssl_transform
sourcefn clone(&self) -> ssl_transform
fn clone(&self) -> ssl_transform
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ssl_transform
impl Default for ssl_transform
impl Copy for ssl_transform
Auto Trait Implementations
impl RefUnwindSafe for ssl_transform
impl !Send for ssl_transform
impl !Sync for ssl_transform
impl Unpin for ssl_transform
impl UnwindSafe for ssl_transform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more