#[repr(u8)]
pub enum OPMOD_A {
ECB,
CBC,
OFB,
CFB,
CTR,
GCM,
}
Expand description
Operating Mode
Value on reset: 0
Variants
ECB
0: ECB: Electronic Code Book mode
CBC
1: CBC: Cipher Block Chaining mode
OFB
2: OFB: Output Feedback mode
CFB
3: CFB: Cipher Feedback mode
CTR
4: CTR: Counter mode (16-bit internal counter)
GCM
5: GCM: Galois/Counter mode
Trait Implementations
impl Copy for OPMOD_A
impl StructuralPartialEq for OPMOD_A
Auto Trait Implementations
impl RefUnwindSafe for OPMOD_A
impl Send for OPMOD_A
impl Sync for OPMOD_A
impl Unpin for OPMOD_A
impl UnwindSafe for OPMOD_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