Struct libgmssl_sys::SM4_CBC_CTX
source · #[repr(C)]pub struct SM4_CBC_CTX {
pub sm4_key: SM4_KEY,
pub iv: [u8; 16],
pub block: [u8; 16],
pub block_nbytes: usize,
}Fields§
§sm4_key: SM4_KEY§iv: [u8; 16]§block: [u8; 16]§block_nbytes: usizeTrait Implementations§
source§impl Clone for SM4_CBC_CTX
impl Clone for SM4_CBC_CTX
source§fn clone(&self) -> SM4_CBC_CTX
fn clone(&self) -> SM4_CBC_CTX
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 Debug for SM4_CBC_CTX
impl Debug for SM4_CBC_CTX
impl Copy for SM4_CBC_CTX
Auto Trait Implementations§
impl RefUnwindSafe for SM4_CBC_CTX
impl Send for SM4_CBC_CTX
impl Sync for SM4_CBC_CTX
impl Unpin for SM4_CBC_CTX
impl UnwindSafe for SM4_CBC_CTX
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