from bbc microbit library

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_CCM_Type Struct Reference

NRF_CCM_Type Struct Reference
[Device_Peripheral_Registers]

AES CCM Mode Encryption. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_KSGEN
__O uint32_t TASKS_CRYPT
__O uint32_t TASKS_STOP
__IO uint32_t EVENTS_ENDKSGEN
__IO uint32_t EVENTS_ENDCRYPT
__IO uint32_t EVENTS_ERROR
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__I uint32_t MICSTATUS
__IO uint32_t ENABLE
__IO uint32_t MODE
__IO uint32_t CNFPTR
__IO uint32_t INPTR
__IO uint32_t OUTPTR
__IO uint32_t SCRATCHPTR
__IO uint32_t POWER

Detailed Description

AES CCM Mode Encryption.

(CCM)

Definition at line 862 of file nrf51.h.


Field Documentation

__IO uint32_t CNFPTR

Pointer to a data structure holding AES key and NONCE vector.

Definition at line 882 of file nrf51.h.

__IO uint32_t ENABLE

CCM enable.

Definition at line 880 of file nrf51.h.

__IO uint32_t EVENTS_ENDCRYPT

Encrypt/decrypt completed.

Definition at line 870 of file nrf51.h.

__IO uint32_t EVENTS_ENDKSGEN

Keystream generation completed.

Definition at line 869 of file nrf51.h.

__IO uint32_t EVENTS_ERROR

Error happened.

Definition at line 871 of file nrf51.h.

__IO uint32_t INPTR

Pointer to the input packet.

Definition at line 883 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 876 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 875 of file nrf51.h.

__I uint32_t MICSTATUS

CCM RX MIC check result.

Definition at line 878 of file nrf51.h.

__IO uint32_t MODE

Operation mode.

Definition at line 881 of file nrf51.h.

__IO uint32_t OUTPTR

Pointer to the output packet.

Definition at line 884 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 888 of file nrf51.h.

__IO uint32_t SCRATCHPTR

Pointer to a "scratch" data area used for temporary storage during resolution. A minimum of 43 bytes must be reserved.

Definition at line 885 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for the CCM.

Definition at line 873 of file nrf51.h.

__O uint32_t TASKS_CRYPT

Start encrypt/decrypt. This operation will stop by itself when completed.

Definition at line 865 of file nrf51.h.

__O uint32_t TASKS_KSGEN

< CCM Structure Start generation of key-stream. This operation will stop by itself when completed.

Definition at line 863 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop encrypt/decrypt.

Definition at line 867 of file nrf51.h.