#[repr(u8)]pub enum ModeKey1 {
ECB = 0,
CBC = 1,
CTR = 2,
CBC_MAC = 3,
XEX_XTS = 4,
XCBC_MAC = 5,
OFB = 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 mode
XEX_XTS = 4
Xor-Encrypt-Xor (XEX)-based tweaked-codebook mode with ciphertext stealing (XTS)
XCBC_MAC = 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 ModeKey1
impl Ord for ModeKey1
Source§impl PartialOrd for ModeKey1
impl PartialOrd for ModeKey1
impl Copy for ModeKey1
impl Eq for ModeKey1
impl StructuralPartialEq for ModeKey1
Auto Trait Implementations§
impl Freeze for ModeKey1
impl RefUnwindSafe for ModeKey1
impl Send for ModeKey1
impl Sync for ModeKey1
impl Unpin for ModeKey1
impl UnwindSafe for ModeKey1
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