#[repr(transparent)]pub struct ElsKs8(pub u32);Expand description
Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl ElsKs8
impl ElsKs8
Sourcepub const fn set_ks8_ksize(&mut self, val: Ks8Ksize)
pub const fn set_ks8_ksize(&mut self, val: Ks8Ksize)
Key size.
Sourcepub const fn set_ks8_kact(&mut self, val: bool)
pub const fn set_ks8_kact(&mut self, val: bool)
Key is active.
Sourcepub const fn set_ks8_kbase(&mut self, val: bool)
pub const fn set_ks8_kbase(&mut self, val: bool)
First slot in a multislot key.
Sourcepub const fn set_ks8_fgp(&mut self, val: bool)
pub const fn set_ks8_fgp(&mut self, val: bool)
Hardware Feature General Purpose.
Sourcepub const fn set_ks8_frtn(&mut self, val: bool)
pub const fn set_ks8_frtn(&mut self, val: bool)
Hardware Feature Retention.
Sourcepub const fn set_ks8_fhwo(&mut self, val: bool)
pub const fn set_ks8_fhwo(&mut self, val: bool)
Hardware Feature Output.
Sourcepub const fn set_ks8_ukpuk(&mut self, val: bool)
pub const fn set_ks8_ukpuk(&mut self, val: bool)
CMAC key.
Sourcepub const fn ks8_utecdh(&self) -> bool
pub const fn ks8_utecdh(&self) -> bool
CMAC key.
Sourcepub const fn set_ks8_utecdh(&mut self, val: bool)
pub const fn set_ks8_utecdh(&mut self, val: bool)
CMAC key.
Sourcepub const fn set_ks8_ucmac(&mut self, val: bool)
pub const fn set_ks8_ucmac(&mut self, val: bool)
CMAC key.
Sourcepub const fn set_ks8_uksk(&mut self, val: bool)
pub const fn set_ks8_uksk(&mut self, val: bool)
KSK key.
Sourcepub const fn set_ks8_urtf(&mut self, val: bool)
pub const fn set_ks8_urtf(&mut self, val: bool)
Real Time Fingerprint key.
Sourcepub const fn set_ks8_uckdf(&mut self, val: bool)
pub const fn set_ks8_uckdf(&mut self, val: bool)
Derivation key for CKDF command.
Sourcepub const fn set_ks8_uhkdf(&mut self, val: bool)
pub const fn set_ks8_uhkdf(&mut self, val: bool)
Derivation key for HKDF command.
Sourcepub const fn set_ks8_uecsg(&mut self, val: bool)
pub const fn set_ks8_uecsg(&mut self, val: bool)
Ecc signing key.
Sourcepub const fn set_ks8_uecdh(&mut self, val: bool)
pub const fn set_ks8_uecdh(&mut self, val: bool)
Ecc diffie hellman key.
Sourcepub const fn set_ks8_uaes(&mut self, val: bool)
pub const fn set_ks8_uaes(&mut self, val: bool)
Aes key.
Sourcepub const fn set_ks8_uhmac(&mut self, val: bool)
pub const fn set_ks8_uhmac(&mut self, val: bool)
Hmac key.
Sourcepub const fn set_ks8_ukwk(&mut self, val: bool)
pub const fn set_ks8_ukwk(&mut self, val: bool)
Key wrapping key.
Sourcepub const fn set_ks8_ukuok(&mut self, val: bool)
pub const fn set_ks8_ukuok(&mut self, val: bool)
Key unwrapping key.
Sourcepub const fn ks8_utlspms(&self) -> bool
pub const fn ks8_utlspms(&self) -> bool
TLS Pre Master Secret.
Sourcepub const fn set_ks8_utlspms(&mut self, val: bool)
pub const fn set_ks8_utlspms(&mut self, val: bool)
TLS Pre Master Secret.
Sourcepub const fn ks8_utlsms(&self) -> bool
pub const fn ks8_utlsms(&self) -> bool
TLS Master Secret.
Sourcepub const fn set_ks8_utlsms(&mut self, val: bool)
pub const fn set_ks8_utlsms(&mut self, val: bool)
TLS Master Secret.
Sourcepub const fn ks8_ukgsrc(&self) -> bool
pub const fn ks8_ukgsrc(&self) -> bool
Supply KEYGEN source.
Sourcepub const fn set_ks8_ukgsrc(&mut self, val: bool)
pub const fn set_ks8_ukgsrc(&mut self, val: bool)
Supply KEYGEN source.
Sourcepub const fn set_ks8_uhwo(&mut self, val: bool)
pub const fn set_ks8_uhwo(&mut self, val: bool)
Hardware out key.
Sourcepub const fn ks8_uwrpok(&self) -> bool
pub const fn ks8_uwrpok(&self) -> bool
Ok to wrap key.
Sourcepub const fn set_ks8_uwrpok(&mut self, val: bool)
pub const fn set_ks8_uwrpok(&mut self, val: bool)
Ok to wrap key.
Sourcepub const fn set_ks8_uduk(&mut self, val: bool)
pub const fn set_ks8_uduk(&mut self, val: bool)
Device Unique Key.
Sourcepub const fn ks8_upprot(&self) -> u8
pub const fn ks8_upprot(&self) -> u8
Priviledge level.
Sourcepub const fn set_ks8_upprot(&mut self, val: u8)
pub const fn set_ks8_upprot(&mut self, val: u8)
Priviledge level.
Trait Implementations§
impl Copy for ElsKs8
impl Eq for ElsKs8
impl StructuralPartialEq for ElsKs8
Auto Trait Implementations§
impl Freeze for ElsKs8
impl RefUnwindSafe for ElsKs8
impl Send for ElsKs8
impl Sync for ElsKs8
impl Unpin for ElsKs8
impl UnwindSafe for ElsKs8
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