pub struct Ccm { /* private fields */ }
Expand description
AES CCM Mode Encryption
Implementations§
Source§impl Ccm
impl Ccm
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_ksgen(self) -> Reg<u32, W>
pub const fn tasks_ksgen(self) -> Reg<u32, W>
Start generation of key-stream. This operation will stop by itself when completed.
Sourcepub const fn tasks_crypt(self) -> Reg<u32, W>
pub const fn tasks_crypt(self) -> Reg<u32, W>
Start encryption/decryption. This operation will stop by itself when completed.
Sourcepub const fn tasks_stop(self) -> Reg<u32, W>
pub const fn tasks_stop(self) -> Reg<u32, W>
Stop encryption/decryption
Sourcepub const fn events_endksgen(self) -> Reg<u32, RW>
pub const fn events_endksgen(self) -> Reg<u32, RW>
Key-stream generation complete
Sourcepub const fn events_endcrypt(self) -> Reg<u32, RW>
pub const fn events_endcrypt(self) -> Reg<u32, RW>
Encrypt/decrypt complete
Sourcepub const fn events_error(self) -> Reg<u32, RW>
pub const fn events_error(self) -> Reg<u32, RW>
CCM error event
Sourcepub const fn cnfptr(self) -> Reg<u32, RW>
pub const fn cnfptr(self) -> Reg<u32, RW>
Pointer to data structure holding AES key and NONCE vector
Sourcepub const fn scratchptr(self) -> Reg<u32, RW>
pub const fn scratchptr(self) -> Reg<u32, RW>
Pointer to data area used for temporary storage
Trait Implementations§
impl Copy for Ccm
impl Eq for Ccm
impl Send for Ccm
impl StructuralPartialEq for Ccm
impl Sync for Ccm
Auto Trait Implementations§
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
)