#[repr(u8)]pub enum ModeKey0 {
ECB = 0,
CBC = 1,
CTR = 2,
CBC_MAC = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
CMAC = 7,
}
Variants§
ECB = 0
Electronic codebook mode
CBC = 1
Cipher block chaining mode
CTR = 2
Counter mode
CBC_MAC = 3
Cipher Block Chaining Message Authentication Code
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
CMAC = 7
Cipher-based Message Authentication Code
Implementations§
Trait Implementations§
Source§impl Ord for ModeKey0
impl Ord for ModeKey0
Source§impl PartialOrd for ModeKey0
impl PartialOrd for ModeKey0
impl Copy for ModeKey0
impl Eq for ModeKey0
impl StructuralPartialEq for ModeKey0
Auto Trait Implementations§
impl Freeze for ModeKey0
impl RefUnwindSafe for ModeKey0
impl Send for ModeKey0
impl Sync for ModeKey0
impl Unpin for ModeKey0
impl UnwindSafe for ModeKey0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)