#[repr(u8)]
pub enum CHMOD_A {
Ecb,
Cbc,
Ctr,
Gcm,
}
Expand description
AES chaining mode Bit1 Bit0
Value on reset: 0
Variants
Ecb
0: Electronic codebook (ECB) / Counter with CBC-MAC (CCM) if CHMOD2 is 1
Cbc
1: Cipher-block chaining (CBC)
Ctr
2: Counter mode (CTR)
Gcm
3: Galois counter mode (GCM) and Galois message authentication code (GMAC)
Trait Implementations
impl Copy for CHMOD_A
impl StructuralPartialEq for CHMOD_A
Auto Trait Implementations
impl RefUnwindSafe for CHMOD_A
impl Send for CHMOD_A
impl Sync for CHMOD_A
impl Unpin for CHMOD_A
impl UnwindSafe for CHMOD_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more