Enum stm32wlxx_hal::pac::aes::cr::CHMOD_A
#[repr(u8)]pub enum CHMOD_A {
Ecb = 0,
Cbc = 1,
Ctr = 2,
Gcm = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
AES chaining mode Bit1 Bit0
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_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§
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