Struct Ccm
pub struct Ccm { /* private fields */ }
Expand description
AES CCM mode encryption
Implementations§
§impl Ccm
impl Ccm
pub const unsafe fn from_ptr(ptr: *mut ()) -> Ccm
pub const fn as_ptr(&self) -> *mut ()
pub 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.
pub 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.
pub const fn tasks_stop(self) -> Reg<u32, W>
pub const fn tasks_stop(self) -> Reg<u32, W>
Stop encryption/decryption
pub 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
pub const fn subscribe_ksgen(self) -> Reg<Subscribe, RW>
pub const fn subscribe_ksgen(self) -> Reg<Subscribe, RW>
Subscribe configuration for task KSGEN
pub const fn subscribe_crypt(self) -> Reg<Subscribe, RW>
pub const fn subscribe_crypt(self) -> Reg<Subscribe, RW>
Subscribe configuration for task CRYPT
pub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task STOP
pub const fn subscribe_rateoverride(self) -> Reg<Subscribe, RW>
pub const fn subscribe_rateoverride(self) -> Reg<Subscribe, RW>
Subscribe configuration for task RATEOVERRIDE
pub const fn events_endksgen(self) -> Reg<u32, RW>
pub const fn events_endksgen(self) -> Reg<u32, RW>
Keystream generation complete
pub const fn events_endcrypt(self) -> Reg<u32, RW>
pub const fn events_endcrypt(self) -> Reg<u32, RW>
Encrypt/decrypt complete
pub const fn events_error(self) -> Reg<u32, RW>
pub const fn events_error(self) -> Reg<u32, RW>
Deprecated register - CCM error event
pub const fn publish_endksgen(self) -> Reg<Publish, RW>
pub const fn publish_endksgen(self) -> Reg<Publish, RW>
Publish configuration for event ENDKSGEN
pub const fn publish_endcrypt(self) -> Reg<Publish, RW>
pub const fn publish_endcrypt(self) -> Reg<Publish, RW>
Publish configuration for event ENDCRYPT
pub const fn publish_error(self) -> Reg<Publish, RW>
pub const fn publish_error(self) -> Reg<Publish, RW>
Deprecated register - Publish configuration for event ERROR
pub 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
pub const fn scratchptr(self) -> Reg<u32, RW>
pub const fn scratchptr(self) -> Reg<u32, RW>
Pointer to data area used for temporary storage
pub const fn maxpacketsize(self) -> Reg<Maxpacketsize, RW>
pub const fn maxpacketsize(self) -> Reg<Maxpacketsize, RW>
Length of keystream generated when MODE.LENGTH = Extended
pub const fn rateoverride(self) -> Reg<Rateoverride, RW>
pub const fn rateoverride(self) -> Reg<Rateoverride, RW>
Data rate override setting.
pub 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
)