#[repr(C)]pub struct CRYPTO_CONTROL { /* private fields */ }
Expand description
Control registers for hardware crypto
Implementations§
Source§impl CRYPTO_CONTROL
impl CRYPTO_CONTROL
Sourcepub const fn interface_crypto_control(
&self,
n: usize,
) -> &INTERFACE_CRYPTO_CONTROL
pub const fn interface_crypto_control( &self, n: usize, ) -> &INTERFACE_CRYPTO_CONTROL
0x00..0x10 - Control over cryptographic parameters for a specific interface
Sourcepub fn interface_crypto_control_iter(
&self,
) -> impl Iterator<Item = &INTERFACE_CRYPTO_CONTROL>
pub fn interface_crypto_control_iter( &self, ) -> impl Iterator<Item = &INTERFACE_CRYPTO_CONTROL>
Iterator for array of: 0x00..0x10 - Control over cryptographic parameters for a specific interface
Sourcepub const fn general_crypto_control(&self) -> &GENERAL_CRYPTO_CONTROL
pub const fn general_crypto_control(&self) -> &GENERAL_CRYPTO_CONTROL
0x10 - Control over the whole crypto unit
Sourcepub const fn crypto_key_slot_state(&self) -> &CRYPTO_KEY_SLOT_STATE
pub const fn crypto_key_slot_state(&self) -> &CRYPTO_KEY_SLOT_STATE
0x14 - State of cryptographic key slots
Auto Trait Implementations§
impl !Freeze for CRYPTO_CONTROL
impl !RefUnwindSafe for CRYPTO_CONTROL
impl Send for CRYPTO_CONTROL
impl !Sync for CRYPTO_CONTROL
impl Unpin for CRYPTO_CONTROL
impl UnwindSafe for CRYPTO_CONTROL
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