libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Register access to the CRYP controller. More...
Register access to the CRYP controller.
(All chips)
#define CRYP CRYP_BASE |
Definition at line 114 of file crypto_common_f24.h.
Definition at line 117 of file crypto_common_f24.h.
#define CRYP_CR_ALGODIR (1 << 2) |
Definition at line 149 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE (7 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 153 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_AES_CBC (5 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 159 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_AES_CTR (6 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 160 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_AES_ECB (4 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 158 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_AES_PREP (7 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 161 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_DES_CBC (3 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 157 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_DES_ECB (2 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 156 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_SHIFT 3 |
Definition at line 152 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_TDES_CBC (1 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 155 of file crypto_common_f24.h.
#define CRYP_CR_ALGOMODE_TDES_ECB (0 << CRYP_CR_ALGOMODE_SHIFT) |
Definition at line 154 of file crypto_common_f24.h.
#define CRYP_CR_CRYPEN (1 << 15) |
Definition at line 182 of file crypto_common_f24.h.
#define CRYP_CR_DATATYPE (3 << CRYP_CR_DATATYPE_SHIFT) |
Definition at line 165 of file crypto_common_f24.h.
#define CRYP_CR_DATATYPE_16 (1 << CRYP_CR_DATATYPE_SHIFT) |
Definition at line 167 of file crypto_common_f24.h.
#define CRYP_CR_DATATYPE_32 (0 << CRYP_CR_DATATYPE_SHIFT) |
Definition at line 166 of file crypto_common_f24.h.
#define CRYP_CR_DATATYPE_8 (2 << CRYP_CR_DATATYPE_SHIFT) |
Definition at line 168 of file crypto_common_f24.h.
#define CRYP_CR_DATATYPE_BIT (3 << CRYP_CR_DATATYPE_SHIFT) |
Definition at line 169 of file crypto_common_f24.h.
#define CRYP_CR_DATATYPE_SHIFT 6 |
Definition at line 164 of file crypto_common_f24.h.
#define CRYP_CR_FFLUSH (1 << 14) |
Definition at line 179 of file crypto_common_f24.h.
#define CRYP_CR_KEYSIZE (3 << CRYP_CR_KEYSIZE_SHIFT) |
Definition at line 173 of file crypto_common_f24.h.
#define CRYP_CR_KEYSIZE_128 (0 << CRYP_CR_KEYSIZE_SHIFT) |
Definition at line 174 of file crypto_common_f24.h.
#define CRYP_CR_KEYSIZE_192 (1 << CRYP_CR_KEYSIZE_SHIFT) |
Definition at line 175 of file crypto_common_f24.h.
#define CRYP_CR_KEYSIZE_256 (2 << CRYP_CR_KEYSIZE_SHIFT) |
Definition at line 176 of file crypto_common_f24.h.
#define CRYP_CR_KEYSIZE_SHIFT 8 |
Definition at line 172 of file crypto_common_f24.h.
Definition at line 123 of file crypto_common_f24.h.
Definition at line 129 of file crypto_common_f24.h.
#define CRYP_DMACR_DIEN (1 << 0) |
Definition at line 204 of file crypto_common_f24.h.
#define CRYP_DMACR_DOEN (1 << 1) |
Definition at line 207 of file crypto_common_f24.h.
CRYP Data Output Register (CRYP_DOUT)
Definition at line 126 of file crypto_common_f24.h.
Definition at line 132 of file crypto_common_f24.h.
#define CRYP_IMSCR_INIM (1 << 0) |
Definition at line 212 of file crypto_common_f24.h.
#define CRYP_IMSCR_OUTIM (1 << 1) |
Definition at line 215 of file crypto_common_f24.h.
Definition at line 144 of file crypto_common_f24.h.
Definition at line 141 of file crypto_common_f24.h.
Definition at line 138 of file crypto_common_f24.h.
#define CRYP_MISR_INMIS (1 << 0) |
Definition at line 228 of file crypto_common_f24.h.
#define CRYP_MISR_OUTMIS (1 << 0) |
Definition at line 231 of file crypto_common_f24.h.
Definition at line 135 of file crypto_common_f24.h.
#define CRYP_RISR_INRIS (1 << 0) |
Definition at line 220 of file crypto_common_f24.h.
#define CRYP_RISR_OUTRIS (1 << 0) |
Definition at line 223 of file crypto_common_f24.h.
Definition at line 120 of file crypto_common_f24.h.
#define CRYP_SR_BUSY (1 << 4) |
Definition at line 199 of file crypto_common_f24.h.
#define CRYP_SR_IFEM (1 << 0) |
Definition at line 187 of file crypto_common_f24.h.
#define CRYP_SR_IFNF (1 << 1) |
Definition at line 190 of file crypto_common_f24.h.
#define CRYP_SR_OFFU (1 << 3) |
Definition at line 196 of file crypto_common_f24.h.
#define CRYP_SR_OFNE (1 << 2) |
Definition at line 193 of file crypto_common_f24.h.