Enum ModeKey1
#[repr(u8)]pub enum ModeKey1 {
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 mode.
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§
impl Copy for ModeKey1
impl Eq for ModeKey1
§impl Ord for ModeKey1
impl Ord for ModeKey1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for ModeKey1
impl PartialOrd 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 UnsafeUnpin 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