pub struct CCrypt {
pub cuid: [u8; 8],
pub rnd_b: [u8; 8],
pub client_cryptogram: [u8; 16],
}Expand description
osdp_CCRYPT body.
Fields§
§cuid: [u8; 8]PD client identifier (8 bytes).
rnd_b: [u8; 8]RND.B from the PD.
client_cryptogram: [u8; 16]Client cryptogram = AES_S-ENC( RND.A || RND.B ).
Implementations§
Trait Implementations§
impl Copy for CCrypt
impl Eq for CCrypt
impl StructuralPartialEq for CCrypt
Auto Trait Implementations§
impl Freeze for CCrypt
impl RefUnwindSafe for CCrypt
impl Send for CCrypt
impl Sync for CCrypt
impl Unpin for CCrypt
impl UnsafeUnpin for CCrypt
impl UnwindSafe for CCrypt
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