#[repr(u8)]pub enum HOST_CRYPTOKEY_SEL_A {
K_DR = 0,
K_PRTL = 1,
SESSION = 2,
}
Expand description
Select the source of the HW key that is used by the AES engine
Value on reset: 0
Variants§
K_DR = 0
0: Use device root key K_DR from CRYPTOCELL AO power domain
K_PRTL = 1
1: Use hard-coded RTL key K_PRTL
SESSION = 2
2: Use provided session key
Trait Implementations§
source§impl Clone for HOST_CRYPTOKEY_SEL_A
impl Clone for HOST_CRYPTOKEY_SEL_A
source§fn clone(&self) -> HOST_CRYPTOKEY_SEL_A
fn clone(&self) -> HOST_CRYPTOKEY_SEL_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HOST_CRYPTOKEY_SEL_A
impl Debug for HOST_CRYPTOKEY_SEL_A
source§impl From<HOST_CRYPTOKEY_SEL_A> for u8
impl From<HOST_CRYPTOKEY_SEL_A> for u8
source§fn from(variant: HOST_CRYPTOKEY_SEL_A) -> Self
fn from(variant: HOST_CRYPTOKEY_SEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for HOST_CRYPTOKEY_SEL_A
impl PartialEq for HOST_CRYPTOKEY_SEL_A
impl Copy for HOST_CRYPTOKEY_SEL_A
impl StructuralPartialEq for HOST_CRYPTOKEY_SEL_A
Auto Trait Implementations§
impl Freeze for HOST_CRYPTOKEY_SEL_A
impl RefUnwindSafe for HOST_CRYPTOKEY_SEL_A
impl Send for HOST_CRYPTOKEY_SEL_A
impl Sync for HOST_CRYPTOKEY_SEL_A
impl Unpin for HOST_CRYPTOKEY_SEL_A
impl UnwindSafe for HOST_CRYPTOKEY_SEL_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
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
)