pub enum ScpMode {
S8,
S16,
}Expand description
SCP03 secure-channel size mode (Amendment D §5.1 Table 5-1, bit b4 0x08):
S8 uses 8-byte challenges/cryptograms and 8-byte (truncated) MACs (legacy);
S16 (Amendment D v1.2) uses 16-byte challenges/cryptograms and full 16-byte
MACs. The MAC chaining value is 16 bytes in both modes.
Variants§
Implementations§
Source§impl ScpMode
impl ScpMode
Trait Implementations§
impl Copy for ScpMode
impl Eq for ScpMode
impl StructuralPartialEq for ScpMode
Auto Trait Implementations§
impl Freeze for ScpMode
impl RefUnwindSafe for ScpMode
impl Send for ScpMode
impl Sync for ScpMode
impl Unpin for ScpMode
impl UnsafeUnpin for ScpMode
impl UnwindSafe for ScpMode
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