Struct mbedtls_sys::gcm_context
source · #[repr(C)]pub struct gcm_context {
pub cipher_ctx: cipher_context_t,
pub HL: [u64; 16],
pub HH: [u64; 16],
pub len: u64,
pub add_len: u64,
pub base_ectr: [c_uchar; 16],
pub y: [c_uchar; 16],
pub buf: [c_uchar; 16],
pub mode: c_int,
}
Fields§
§cipher_ctx: cipher_context_t
§HL: [u64; 16]
§HH: [u64; 16]
§len: u64
§add_len: u64
§base_ectr: [c_uchar; 16]
§y: [c_uchar; 16]
§buf: [c_uchar; 16]
§mode: c_int
Trait Implementations§
source§impl Clone for gcm_context
impl Clone for gcm_context
source§fn clone(&self) -> gcm_context
fn clone(&self) -> gcm_context
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for gcm_context
impl Default for gcm_context
impl Copy for gcm_context
Auto Trait Implementations§
impl RefUnwindSafe for gcm_context
impl !Send for gcm_context
impl !Sync for gcm_context
impl Unpin for gcm_context
impl UnwindSafe for gcm_context
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more