#[repr(u8)]pub enum HostCryptokeySel {
K_DR = 0,
K_PRTL = 1,
SESSION = 2,
_RESERVED_3 = 3,
}
Variants§
K_DR = 0
Use device root key K_DR from CRYPTOCELL AO power domain
K_PRTL = 1
Use hard-coded RTL key K_PRTL
SESSION = 2
Use provided session key
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for HostCryptokeySel
impl Clone for HostCryptokeySel
Source§fn clone(&self) -> HostCryptokeySel
fn clone(&self) -> HostCryptokeySel
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 From<HostCryptokeySel> for u8
impl From<HostCryptokeySel> for u8
Source§fn from(val: HostCryptokeySel) -> u8
fn from(val: HostCryptokeySel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for HostCryptokeySel
impl From<u8> for HostCryptokeySel
Source§fn from(val: u8) -> HostCryptokeySel
fn from(val: u8) -> HostCryptokeySel
Converts to this type from the input type.
Source§impl Ord for HostCryptokeySel
impl Ord for HostCryptokeySel
Source§fn cmp(&self, other: &HostCryptokeySel) -> Ordering
fn cmp(&self, other: &HostCryptokeySel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for HostCryptokeySel
impl PartialEq for HostCryptokeySel
Source§impl PartialOrd for HostCryptokeySel
impl PartialOrd for HostCryptokeySel
impl Copy for HostCryptokeySel
impl Eq 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 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
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
)