#[repr(C)]pub struct sm_gp_session {
pub gp_keyset: sm_gp_keyset,
pub params: sm_type_params_gp,
pub host_challenge: [c_uchar; 8],
pub card_challenge: [c_uchar; 8],
pub session_enc: *mut c_uchar,
pub session_mac: *mut c_uchar,
pub session_kek: *mut c_uchar,
pub mac_icv: [c_uchar; 8],
}Fields§
§gp_keyset: sm_gp_keyset§params: sm_type_params_gp§host_challenge: [c_uchar; 8]§card_challenge: [c_uchar; 8]§session_enc: *mut c_uchar§session_mac: *mut c_uchar§session_kek: *mut c_uchar§mac_icv: [c_uchar; 8]Trait Implementations§
Source§impl Clone for sm_gp_session
impl Clone for sm_gp_session
Source§fn clone(&self) -> sm_gp_session
fn clone(&self) -> sm_gp_session
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 moreimpl Copy for sm_gp_session
Auto Trait Implementations§
impl Freeze for sm_gp_session
impl RefUnwindSafe for sm_gp_session
impl !Send for sm_gp_session
impl !Sync for sm_gp_session
impl Unpin for sm_gp_session
impl UnwindSafe for sm_gp_session
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