Module ccm

Source
Expand description

AES CCM Mode Encryption

Modules§

cnfptr
Pointer to data structure holding AES key and NONCE vector
enable
Enable
events_endcrypt
Encrypt/decrypt complete
events_endksgen
Key-stream generation complete
events_error
Deprecated register - CCM error event
inptr
Input pointer
intenclr
Disable interrupt
intenset
Enable interrupt
maxpacketsize
Length of key-stream generated when MODE.LENGTH = Extended.
micstatus
MIC check result
mode
Operation mode
outptr
Output pointer
rateoverride
Data rate override setting.
scratchptr
Pointer to data area used for temporary storage
shorts
Shortcuts between local events and tasks
tasks_crypt
Start encryption/decryption. This operation will stop by itself when completed.
tasks_ksgen
Start generation of key-stream. This operation will stop by itself when completed.
tasks_rateoverride
Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption
tasks_stop
Stop encryption/decryption

Structs§

RegisterBlock
Register block

Type Aliases§

CNFPTR
CNFPTR (rw) register accessor: an alias for Reg<CNFPTR_SPEC>
ENABLE
ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
EVENTS_ENDCRYPT
EVENTS_ENDCRYPT (rw) register accessor: an alias for Reg<EVENTS_ENDCRYPT_SPEC>
EVENTS_ENDKSGEN
EVENTS_ENDKSGEN (rw) register accessor: an alias for Reg<EVENTS_ENDKSGEN_SPEC>
EVENTS_ERROR
EVENTS_ERROR (rw) register accessor: an alias for Reg<EVENTS_ERROR_SPEC>
INPTR
INPTR (rw) register accessor: an alias for Reg<INPTR_SPEC>
INTENCLR
INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
MAXPACKETSIZE
MAXPACKETSIZE (rw) register accessor: an alias for Reg<MAXPACKETSIZE_SPEC>
MICSTATUS
MICSTATUS (r) register accessor: an alias for Reg<MICSTATUS_SPEC>
MODE
MODE (rw) register accessor: an alias for Reg<MODE_SPEC>
OUTPTR
OUTPTR (rw) register accessor: an alias for Reg<OUTPTR_SPEC>
RATEOVERRIDE
RATEOVERRIDE (rw) register accessor: an alias for Reg<RATEOVERRIDE_SPEC>
SCRATCHPTR
SCRATCHPTR (rw) register accessor: an alias for Reg<SCRATCHPTR_SPEC>
SHORTS
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
TASKS_CRYPT
TASKS_CRYPT (w) register accessor: an alias for Reg<TASKS_CRYPT_SPEC>
TASKS_KSGEN
TASKS_KSGEN (w) register accessor: an alias for Reg<TASKS_KSGEN_SPEC>
TASKS_RATEOVERRIDE
TASKS_RATEOVERRIDE (w) register accessor: an alias for Reg<TASKS_RATEOVERRIDE_SPEC>
TASKS_STOP
TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>