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 subscribe_ksgen(self) -> Reg<Subscribe, RW>
pub const fn subscribe_ksgen(self) -> Reg<Subscribe, RW>
Subscribe configuration for task KSGEN
Sourcepub const fn subscribe_crypt(self) -> Reg<Subscribe, RW>
pub const fn subscribe_crypt(self) -> Reg<Subscribe, RW>
Subscribe configuration for task CRYPT
Sourcepub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task STOP
Sourcepub const fn subscribe_rateoverride(self) -> Reg<Subscribe, RW>
pub const fn subscribe_rateoverride(self) -> Reg<Subscribe, RW>
Subscribe configuration for task RATEOVERRIDE
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 publish_endksgen(self) -> Reg<Publish, RW>
pub const fn publish_endksgen(self) -> Reg<Publish, RW>
Publish configuration for event ENDKSGEN
Sourcepub const fn publish_endcrypt(self) -> Reg<Publish, RW>
pub const fn publish_endcrypt(self) -> Reg<Publish, RW>
Publish configuration for event ENDCRYPT
Sourcepub const fn publish_error(self) -> Reg<Publish, RW>
pub const fn publish_error(self) -> Reg<Publish, RW>
Deprecated register - Publish configuration for event ERROR
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
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)
clone_to_uninit
)