#[repr(u8)]
pub enum MODE_A {
Mode1,
Mode2,
Mode3,
Mode4,
}
Expand description
AES operating mode
Value on reset: 0
Variants
Mode1
0: Mode 1: encryption
Mode2
1: Mode 2: key derivation (or key preparation for ECB/CBC decryption)
Mode3
2: Mode 3: decryption
Mode4
3: Mode 4: key derivation then single decryption
Trait Implementations
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_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