Enum HostCryptokeySel
#[repr(u8)]pub enum HostCryptokeySel {
KDr = 0,
KPrtl = 1,
Session = 2,
_RESERVED_3 = 3,
}Variants§
KDr = 0
Use device root key K_DR from CRYPTOCELL AO power domain.
KPrtl = 1
Use hard-coded RTL key K_PRTL.
Session = 2
Use provided session key.
_RESERVED_3 = 3
Implementations§
§impl HostCryptokeySel
impl HostCryptokeySel
pub const fn from_bits(val: u8) -> HostCryptokeySel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for HostCryptokeySel
impl Clone for HostCryptokeySel
§fn clone(&self) -> HostCryptokeySel
fn clone(&self) -> HostCryptokeySel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostCryptokeySel
§impl Debug for HostCryptokeySel
impl Debug for HostCryptokeySel
impl Eq for HostCryptokeySel
§impl From<u8> for HostCryptokeySel
impl From<u8> for HostCryptokeySel
§fn from(val: u8) -> HostCryptokeySel
fn from(val: u8) -> HostCryptokeySel
Converts to this type from the input type.
§impl Ord for HostCryptokeySel
impl Ord for HostCryptokeySel
§fn cmp(&self, other: &HostCryptokeySel) -> Ordering
fn cmp(&self, other: &HostCryptokeySel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for HostCryptokeySel
impl PartialEq for HostCryptokeySel
§impl PartialOrd for HostCryptokeySel
impl PartialOrd for HostCryptokeySel
impl StructuralPartialEq for HostCryptokeySel
Auto Trait Implementations§
impl Freeze for HostCryptokeySel
impl RefUnwindSafe for HostCryptokeySel
impl Send for HostCryptokeySel
impl Sync for HostCryptokeySel
impl Unpin for HostCryptokeySel
impl UnsafeUnpin for HostCryptokeySel
impl UnwindSafe for HostCryptokeySel
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