[][src]Enum lpc55s6x_pac::hashcrypt::ctrl::MODEW

pub enum MODEW {
    DISABLED,
    SHA1,
    SHA2_256,
    SHA2_512,
    AES,
    ICB_AES,
    SALSA20,
    CHACHA20,
}
[]

Values that can be written to the field Mode

Variants

DISABLED
[]

Disabled

SHA1
[]

SHA1 is enabled

SHA2_256
[]

SHA2-256 is enabled

SHA2_512
[]

SHA2-512 is enabled (if available)

AES
[]

AES if available (see also CRYPTCFG register for more controls)

ICB_AES
[]

ICB-AES if available (see also CRYPTCFG register for more controls)

SALSA20
[]

Salsa20/20 if available (including XSalsa - see also CRYPTCFG register)

CHACHA20
[]

ChaCha20 if available (see also CRYPTCFG register for more controls)

Auto Trait Implementations

impl Send for MODEW

impl Sync for MODEW

Blanket Implementations

impl<T> From<T> for T[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self