#[repr(C)]pub struct mbedtls_gcm_context_soft {
pub private_cipher_ctx: mbedtls_cipher_context_t,
pub private_H: [[u64; 2]; 16],
pub private_len: u64,
pub private_add_len: u64,
pub private_base_ectr: [c_uchar; 16],
pub private_y: [c_uchar; 16],
pub private_buf: [c_uchar; 16],
pub private_mode: c_uchar,
pub private_acceleration: c_uchar,
}Expand description
\brief The GCM context structure.
Fields§
§private_cipher_ctx: mbedtls_cipher_context_t< The cipher context used.
private_H: [[u64; 2]; 16]< Precalculated HTable.
private_len: u64< The total length of the encrypted data.
private_add_len: u64< The total length of the additional data.
private_base_ectr: [c_uchar; 16]< The first ECTR for tag.
private_y: [c_uchar; 16]< The Y working value.
private_buf: [c_uchar; 16]< The buf working value.
private_mode: c_uchar< The operation to perform: #MBEDTLS_GCM_ENCRYPT or #MBEDTLS_GCM_DECRYPT.
private_acceleration: c_uchar< The acceleration to use.
Trait Implementations§
Source§impl Clone for mbedtls_gcm_context_soft
impl Clone for mbedtls_gcm_context_soft
Source§fn clone(&self) -> mbedtls_gcm_context_soft
fn clone(&self) -> mbedtls_gcm_context_soft
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for mbedtls_gcm_context_soft
impl Debug for mbedtls_gcm_context_soft
Source§impl Default for mbedtls_gcm_context_soft
impl Default for mbedtls_gcm_context_soft
impl Copy for mbedtls_gcm_context_soft
Auto Trait Implementations§
impl Freeze for mbedtls_gcm_context_soft
impl RefUnwindSafe for mbedtls_gcm_context_soft
impl !Send for mbedtls_gcm_context_soft
impl !Sync for mbedtls_gcm_context_soft
impl Unpin for mbedtls_gcm_context_soft
impl UnsafeUnpin for mbedtls_gcm_context_soft
impl UnwindSafe for mbedtls_gcm_context_soft
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)