#[repr(u8)]pub enum ModeKey0 {
Ecb = 0,
Cbc = 1,
Ctr = 2,
CbcMac = 3,
XexXts = 4,
XcbcMac = 5,
Ofb = 6,
Cmac = 7,
}Variants§
Ecb = 0
Electronic codebook mode.
Cbc = 1
Cipher block chaining mode.
Ctr = 2
Counter mode.
CbcMac = 3
Cipher Block Chaining Message Authentication Code.
XexXts = 4
Xor-Encrypt-Xor (XEX)-based tweaked-codebook mode with ciphertext stealing (XTS).
XcbcMac = 5
AES in CBC mode with extensions to overcome fixed length limitations.
Ofb = 6
AES Output FeedBack mode.
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