#[repr(u8)]pub enum Mode {
Show 32 variants
BYPASS = 0,
AESACTIVE = 1,
AESTO_HASH_ACTIVE = 2,
AESAND_HASH_ACTIVE = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
HASH_ACTIVE = 7,
_RESERVED_8 = 8,
AESMACAND_BYPASS_ACTIVE = 9,
AESTO_HASH_AND_DOUTACTIVE = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
CHA_CHA_ACTIVE = 16,
_RESERVED_11 = 17,
_RESERVED_12 = 18,
_RESERVED_13 = 19,
_RESERVED_14 = 20,
_RESERVED_15 = 21,
_RESERVED_16 = 22,
_RESERVED_17 = 23,
_RESERVED_18 = 24,
_RESERVED_19 = 25,
_RESERVED_1a = 26,
_RESERVED_1b = 27,
_RESERVED_1c = 28,
_RESERVED_1d = 29,
_RESERVED_1e = 30,
_RESERVED_1f = 31,
}
Variants§
BYPASS = 0
Bypass cryptographic engine
AESACTIVE = 1
Use AES engine
AESTO_HASH_ACTIVE = 2
Pipe AES engine output to HASH engine input
AESAND_HASH_ACTIVE = 3
Process input using both AES and HASH engine in parallell
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
HASH_ACTIVE = 7
Use HASH engine
_RESERVED_8 = 8
AESMACAND_BYPASS_ACTIVE = 9
Calculate AES MAC and bypass
AESTO_HASH_AND_DOUTACTIVE = 10
Pipe AES engine output to HASH engine input. The resulting digest output is piped to DOUT buffer.
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
CHA_CHA_ACTIVE = 16
Use CHACHA engine
_RESERVED_11 = 17
_RESERVED_12 = 18
_RESERVED_13 = 19
_RESERVED_14 = 20
_RESERVED_15 = 21
_RESERVED_16 = 22
_RESERVED_17 = 23
_RESERVED_18 = 24
_RESERVED_19 = 25
_RESERVED_1a = 26
_RESERVED_1b = 27
_RESERVED_1c = 28
_RESERVED_1d = 29
_RESERVED_1e = 30
_RESERVED_1f = 31
Implementations§
Trait Implementations§
Source§impl Ord for Mode
impl Ord for Mode
Source§impl PartialOrd for Mode
impl PartialOrd for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)