#[repr(u8)]pub enum CHMOD {
Ecb = 0,
Cbc = 1,
Ctr = 2,
Gcm = 3,
}
Expand description
AES chaining mode
Value on reset: 0
Variants§
Ecb = 0
0: Electronic codebook (ECB) / Counter with CBC-MAC (CCM) if CHMOD2 is 1
Cbc = 1
1: Cipher-block chaining (CBC)
Ctr = 2
2: Counter mode (CTR)
Gcm = 3
3: Galois counter mode (GCM) and Galois message authentication code (GMAC)
Trait Implementations§
impl Copy for CHMOD
impl Eq for CHMOD
impl IsEnum for CHMOD
impl StructuralPartialEq for CHMOD
Auto Trait Implementations§
impl Freeze for CHMOD
impl RefUnwindSafe for CHMOD
impl Send for CHMOD
impl Sync for CHMOD
impl Unpin for CHMOD
impl UnwindSafe for CHMOD
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