libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Registers (for F42xx or F43xx only)

Register access to the CRYP controller. More...

Collaboration diagram for Registers (for F42xx or F43xx only):

Macros

#define CRYP_CSGCMCCMR(i)   MMIO32(CRYP_BASE + 0x50 + (i) * 4)
 
#define CRYP_CSGCMR(i)   MMIO32(CRYP_BASE + 0x70 + (i) * 4)
 
#define CRYP_CR_GCM_CMPH_SHIFT   16
 
#define CRYP_CR_GCM_CMPH   (3 << CRYP_CR_GCM_CMPH_SHIFT)
 
#define CRYP_CR_GCM_CMPH_INIT   (0 << CRYP_CR_GCM_CMPH_SHIFT)
 
#define CRYP_CR_GCM_CMPH_HEADER   (1 << CRYP_CR_GCM_CMPH_SHIFT)
 
#define CRYP_CR_GCM_CMPH_PAYLOAD   (2 << CRYP_CR_GCM_CMPH_SHIFT)
 
#define CRYP_CR_GCM_CMPH_FINAL   (3 << CRYP_CR_GCM_CMPH_SHIFT)
 
#define CRYP_CR_ALGOMODE3   (1 << 19)
 

Detailed Description

Register access to the CRYP controller.

Registers for F42xx and 43xx

Macro Definition Documentation

◆ CRYP_CR_ALGOMODE3

#define CRYP_CR_ALGOMODE3   (1 << 19)

Definition at line 66 of file f4/crypto.h.

◆ CRYP_CR_GCM_CMPH

#define CRYP_CR_GCM_CMPH   (3 << CRYP_CR_GCM_CMPH_SHIFT)

Definition at line 59 of file f4/crypto.h.

◆ CRYP_CR_GCM_CMPH_FINAL

#define CRYP_CR_GCM_CMPH_FINAL   (3 << CRYP_CR_GCM_CMPH_SHIFT)

Definition at line 63 of file f4/crypto.h.

◆ CRYP_CR_GCM_CMPH_HEADER

#define CRYP_CR_GCM_CMPH_HEADER   (1 << CRYP_CR_GCM_CMPH_SHIFT)

Definition at line 61 of file f4/crypto.h.

◆ CRYP_CR_GCM_CMPH_INIT

#define CRYP_CR_GCM_CMPH_INIT   (0 << CRYP_CR_GCM_CMPH_SHIFT)

Definition at line 60 of file f4/crypto.h.

◆ CRYP_CR_GCM_CMPH_PAYLOAD

#define CRYP_CR_GCM_CMPH_PAYLOAD   (2 << CRYP_CR_GCM_CMPH_SHIFT)

Definition at line 62 of file f4/crypto.h.

◆ CRYP_CR_GCM_CMPH_SHIFT

#define CRYP_CR_GCM_CMPH_SHIFT   16

Definition at line 58 of file f4/crypto.h.

◆ CRYP_CSGCMCCMR

#define CRYP_CSGCMCCMR (   i)    MMIO32(CRYP_BASE + 0x50 + (i) * 4)

Definition at line 48 of file f4/crypto.h.

◆ CRYP_CSGCMR

#define CRYP_CSGCMR (   i)    MMIO32(CRYP_BASE + 0x70 + (i) * 4)

Definition at line 51 of file f4/crypto.h.