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 keystream. 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 tasks_rateoverride(self) -> Reg<u32, W>
pub const fn tasks_rateoverride(self) -> Reg<u32, W>
Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption
Sourcepub const fn events_endksgen(self) -> Reg<u32, RW>
pub const fn events_endksgen(self) -> Reg<u32, RW>
Keystream 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>
Deprecated register - CCM error event
Sourcepub const fn cnfptr(self) -> Reg<u32, RW>
pub const fn cnfptr(self) -> Reg<u32, RW>
Pointer to data structure holding the AES key and the 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
Sourcepub const fn maxpacketsize(self) -> Reg<Maxpacketsize, RW>
pub const fn maxpacketsize(self) -> Reg<Maxpacketsize, RW>
Length of keystream generated when MODE.LENGTH = Extended
Sourcepub const fn rateoverride(self) -> Reg<Rateoverride, RW>
pub const fn rateoverride(self) -> Reg<Rateoverride, RW>
Data rate override setting.
Sourcepub const fn headermask(self) -> Reg<Headermask, RW>
pub const fn headermask(self) -> Reg<Headermask, RW>
Header (S0) mask.
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
)