#[repr(transparent)]pub struct ElsKs18(pub u32);Expand description
Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl ElsKs18
impl ElsKs18
Sourcepub const fn ks18_ksize(&self) -> Ks18Ksize
pub const fn ks18_ksize(&self) -> Ks18Ksize
Key size
Sourcepub const fn set_ks18_ksize(&mut self, val: Ks18Ksize)
pub const fn set_ks18_ksize(&mut self, val: Ks18Ksize)
Key size
Sourcepub const fn set_ks18_kact(&mut self, val: bool)
pub const fn set_ks18_kact(&mut self, val: bool)
Key is active
Sourcepub const fn ks18_kbase(&self) -> bool
pub const fn ks18_kbase(&self) -> bool
First slot in a multislot key
Sourcepub const fn set_ks18_kbase(&mut self, val: bool)
pub const fn set_ks18_kbase(&mut self, val: bool)
First slot in a multislot key
Sourcepub const fn set_ks18_fgp(&mut self, val: bool)
pub const fn set_ks18_fgp(&mut self, val: bool)
Hardware Feature General Purpose
Sourcepub const fn set_ks18_frtn(&mut self, val: bool)
pub const fn set_ks18_frtn(&mut self, val: bool)
Hardware Feature Retention
Sourcepub const fn set_ks18_fhwo(&mut self, val: bool)
pub const fn set_ks18_fhwo(&mut self, val: bool)
Hardware Feature Output
Sourcepub const fn ks18_ukpuk(&self) -> bool
pub const fn ks18_ukpuk(&self) -> bool
CMAC key
Sourcepub const fn set_ks18_ukpuk(&mut self, val: bool)
pub const fn set_ks18_ukpuk(&mut self, val: bool)
CMAC key
Sourcepub const fn ks18_utecdh(&self) -> bool
pub const fn ks18_utecdh(&self) -> bool
CMAC key
Sourcepub const fn set_ks18_utecdh(&mut self, val: bool)
pub const fn set_ks18_utecdh(&mut self, val: bool)
CMAC key
Sourcepub const fn ks18_ucmac(&self) -> bool
pub const fn ks18_ucmac(&self) -> bool
CMAC key
Sourcepub const fn set_ks18_ucmac(&mut self, val: bool)
pub const fn set_ks18_ucmac(&mut self, val: bool)
CMAC key
Sourcepub const fn set_ks18_uksk(&mut self, val: bool)
pub const fn set_ks18_uksk(&mut self, val: bool)
KSK key
Sourcepub const fn set_ks18_urtf(&mut self, val: bool)
pub const fn set_ks18_urtf(&mut self, val: bool)
Real Time Fingerprint key
Sourcepub const fn ks18_uckdf(&self) -> bool
pub const fn ks18_uckdf(&self) -> bool
Derivation key for CKDF command
Sourcepub const fn set_ks18_uckdf(&mut self, val: bool)
pub const fn set_ks18_uckdf(&mut self, val: bool)
Derivation key for CKDF command
Sourcepub const fn ks18_uhkdf(&self) -> bool
pub const fn ks18_uhkdf(&self) -> bool
Derivation key for HKDF command
Sourcepub const fn set_ks18_uhkdf(&mut self, val: bool)
pub const fn set_ks18_uhkdf(&mut self, val: bool)
Derivation key for HKDF command
Sourcepub const fn ks18_uecsg(&self) -> bool
pub const fn ks18_uecsg(&self) -> bool
Ecc signing key
Sourcepub const fn set_ks18_uecsg(&mut self, val: bool)
pub const fn set_ks18_uecsg(&mut self, val: bool)
Ecc signing key
Sourcepub const fn ks18_uecdh(&self) -> bool
pub const fn ks18_uecdh(&self) -> bool
Ecc diffie hellman key
Sourcepub const fn set_ks18_uecdh(&mut self, val: bool)
pub const fn set_ks18_uecdh(&mut self, val: bool)
Ecc diffie hellman key
Sourcepub const fn set_ks18_uaes(&mut self, val: bool)
pub const fn set_ks18_uaes(&mut self, val: bool)
Aes key
Sourcepub const fn ks18_uhmac(&self) -> bool
pub const fn ks18_uhmac(&self) -> bool
Hmac key
Sourcepub const fn set_ks18_uhmac(&mut self, val: bool)
pub const fn set_ks18_uhmac(&mut self, val: bool)
Hmac key
Sourcepub const fn set_ks18_ukwk(&mut self, val: bool)
pub const fn set_ks18_ukwk(&mut self, val: bool)
Key wrapping key
Sourcepub const fn ks18_ukuok(&self) -> bool
pub const fn ks18_ukuok(&self) -> bool
Key unwrapping key
Sourcepub const fn set_ks18_ukuok(&mut self, val: bool)
pub const fn set_ks18_ukuok(&mut self, val: bool)
Key unwrapping key
Sourcepub const fn ks18_utlspms(&self) -> bool
pub const fn ks18_utlspms(&self) -> bool
TLS Pre Master Secret
Sourcepub const fn set_ks18_utlspms(&mut self, val: bool)
pub const fn set_ks18_utlspms(&mut self, val: bool)
TLS Pre Master Secret
Sourcepub const fn ks18_utlsms(&self) -> bool
pub const fn ks18_utlsms(&self) -> bool
TLS Master Secret
Sourcepub const fn set_ks18_utlsms(&mut self, val: bool)
pub const fn set_ks18_utlsms(&mut self, val: bool)
TLS Master Secret
Sourcepub const fn ks18_ukgsrc(&self) -> bool
pub const fn ks18_ukgsrc(&self) -> bool
Supply KEYGEN source
Sourcepub const fn set_ks18_ukgsrc(&mut self, val: bool)
pub const fn set_ks18_ukgsrc(&mut self, val: bool)
Supply KEYGEN source
Sourcepub const fn set_ks18_uhwo(&mut self, val: bool)
pub const fn set_ks18_uhwo(&mut self, val: bool)
Hardware out key
Sourcepub const fn ks18_uwrpok(&self) -> bool
pub const fn ks18_uwrpok(&self) -> bool
Ok to wrap key
Sourcepub const fn set_ks18_uwrpok(&mut self, val: bool)
pub const fn set_ks18_uwrpok(&mut self, val: bool)
Ok to wrap key
Sourcepub const fn set_ks18_uduk(&mut self, val: bool)
pub const fn set_ks18_uduk(&mut self, val: bool)
Device Unique Key
Sourcepub const fn ks18_upprot(&self) -> u8
pub const fn ks18_upprot(&self) -> u8
Priviledge level
Sourcepub const fn set_ks18_upprot(&mut self, val: u8)
pub const fn set_ks18_upprot(&mut self, val: u8)
Priviledge level
Trait Implementations§
impl Copy for ElsKs18
impl Eq for ElsKs18
impl StructuralPartialEq for ElsKs18
Auto Trait Implementations§
impl Freeze for ElsKs18
impl RefUnwindSafe for ElsKs18
impl Send for ElsKs18
impl Sync for ElsKs18
impl Unpin for ElsKs18
impl UnwindSafe for ElsKs18
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