EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
efr32mg1p_crypto.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t CTRL;
44  __IOM uint32_t WAC;
45  __IOM uint32_t CMD;
46  uint32_t RESERVED0[1];
47  __IM uint32_t STATUS;
48  __IM uint32_t DSTATUS;
49  __IM uint32_t CSTATUS;
50  uint32_t RESERVED1[1];
51  __IOM uint32_t KEY;
52  __IOM uint32_t KEYBUF;
53  uint32_t RESERVED2[2];
54  __IOM uint32_t SEQCTRL;
55  __IOM uint32_t SEQCTRLB;
56  uint32_t RESERVED3[2];
57  __IM uint32_t IF;
58  __IOM uint32_t IFS;
59  __IOM uint32_t IFC;
60  __IOM uint32_t IEN;
61  __IOM uint32_t SEQ0;
62  __IOM uint32_t SEQ1;
63  __IOM uint32_t SEQ2;
64  __IOM uint32_t SEQ3;
65  __IOM uint32_t SEQ4;
66  uint32_t RESERVED4[7];
67  __IOM uint32_t DATA0;
68  __IOM uint32_t DATA1;
69  __IOM uint32_t DATA2;
70  __IOM uint32_t DATA3;
71  uint32_t RESERVED5[4];
72  __IOM uint32_t DATA0XOR;
73  uint32_t RESERVED6[3];
74  __IOM uint32_t DATA0BYTE;
75  __IOM uint32_t DATA1BYTE;
76  uint32_t RESERVED7[1];
77  __IOM uint32_t DATA0XORBYTE;
78  __IOM uint32_t DATA0BYTE12;
79  __IOM uint32_t DATA0BYTE13;
80  __IOM uint32_t DATA0BYTE14;
81  __IOM uint32_t DATA0BYTE15;
82  uint32_t RESERVED8[12];
83  __IOM uint32_t DDATA0;
84  __IOM uint32_t DDATA1;
85  __IOM uint32_t DDATA2;
86  __IOM uint32_t DDATA3;
87  __IOM uint32_t DDATA4;
88  uint32_t RESERVED9[7];
89  __IOM uint32_t DDATA0BIG;
90  uint32_t RESERVED10[3];
91  __IOM uint32_t DDATA0BYTE;
92  __IOM uint32_t DDATA1BYTE;
93  __IOM uint32_t DDATA0BYTE32;
94  uint32_t RESERVED11[13];
95  __IOM uint32_t QDATA0;
96  __IOM uint32_t QDATA1;
97  uint32_t RESERVED12[7];
98  __IOM uint32_t QDATA1BIG;
99  uint32_t RESERVED13[6];
100  __IOM uint32_t QDATA0BYTE;
101  __IOM uint32_t QDATA1BYTE;
102 } CRYPTO_TypeDef;
104 /**************************************************************************/
109 /* Bit fields for CRYPTO CTRL */
110 #define _CRYPTO_CTRL_RESETVALUE 0x00000000UL
111 #define _CRYPTO_CTRL_MASK 0xB333C407UL
112 #define CRYPTO_CTRL_AES (0x1UL << 0)
113 #define _CRYPTO_CTRL_AES_SHIFT 0
114 #define _CRYPTO_CTRL_AES_MASK 0x1UL
115 #define _CRYPTO_CTRL_AES_DEFAULT 0x00000000UL
116 #define _CRYPTO_CTRL_AES_AES128 0x00000000UL
117 #define _CRYPTO_CTRL_AES_AES256 0x00000001UL
118 #define CRYPTO_CTRL_AES_DEFAULT (_CRYPTO_CTRL_AES_DEFAULT << 0)
119 #define CRYPTO_CTRL_AES_AES128 (_CRYPTO_CTRL_AES_AES128 << 0)
120 #define CRYPTO_CTRL_AES_AES256 (_CRYPTO_CTRL_AES_AES256 << 0)
121 #define CRYPTO_CTRL_KEYBUFDIS (0x1UL << 1)
122 #define _CRYPTO_CTRL_KEYBUFDIS_SHIFT 1
123 #define _CRYPTO_CTRL_KEYBUFDIS_MASK 0x2UL
124 #define _CRYPTO_CTRL_KEYBUFDIS_DEFAULT 0x00000000UL
125 #define CRYPTO_CTRL_KEYBUFDIS_DEFAULT (_CRYPTO_CTRL_KEYBUFDIS_DEFAULT << 1)
126 #define CRYPTO_CTRL_SHA (0x1UL << 2)
127 #define _CRYPTO_CTRL_SHA_SHIFT 2
128 #define _CRYPTO_CTRL_SHA_MASK 0x4UL
129 #define _CRYPTO_CTRL_SHA_DEFAULT 0x00000000UL
130 #define _CRYPTO_CTRL_SHA_SHA1 0x00000000UL
131 #define _CRYPTO_CTRL_SHA_SHA2 0x00000001UL
132 #define CRYPTO_CTRL_SHA_DEFAULT (_CRYPTO_CTRL_SHA_DEFAULT << 2)
133 #define CRYPTO_CTRL_SHA_SHA1 (_CRYPTO_CTRL_SHA_SHA1 << 2)
134 #define CRYPTO_CTRL_SHA_SHA2 (_CRYPTO_CTRL_SHA_SHA2 << 2)
135 #define CRYPTO_CTRL_NOBUSYSTALL (0x1UL << 10)
136 #define _CRYPTO_CTRL_NOBUSYSTALL_SHIFT 10
137 #define _CRYPTO_CTRL_NOBUSYSTALL_MASK 0x400UL
138 #define _CRYPTO_CTRL_NOBUSYSTALL_DEFAULT 0x00000000UL
139 #define CRYPTO_CTRL_NOBUSYSTALL_DEFAULT (_CRYPTO_CTRL_NOBUSYSTALL_DEFAULT << 10)
140 #define _CRYPTO_CTRL_INCWIDTH_SHIFT 14
141 #define _CRYPTO_CTRL_INCWIDTH_MASK 0xC000UL
142 #define _CRYPTO_CTRL_INCWIDTH_DEFAULT 0x00000000UL
143 #define _CRYPTO_CTRL_INCWIDTH_INCWIDTH1 0x00000000UL
144 #define _CRYPTO_CTRL_INCWIDTH_INCWIDTH2 0x00000001UL
145 #define _CRYPTO_CTRL_INCWIDTH_INCWIDTH3 0x00000002UL
146 #define _CRYPTO_CTRL_INCWIDTH_INCWIDTH4 0x00000003UL
147 #define CRYPTO_CTRL_INCWIDTH_DEFAULT (_CRYPTO_CTRL_INCWIDTH_DEFAULT << 14)
148 #define CRYPTO_CTRL_INCWIDTH_INCWIDTH1 (_CRYPTO_CTRL_INCWIDTH_INCWIDTH1 << 14)
149 #define CRYPTO_CTRL_INCWIDTH_INCWIDTH2 (_CRYPTO_CTRL_INCWIDTH_INCWIDTH2 << 14)
150 #define CRYPTO_CTRL_INCWIDTH_INCWIDTH3 (_CRYPTO_CTRL_INCWIDTH_INCWIDTH3 << 14)
151 #define CRYPTO_CTRL_INCWIDTH_INCWIDTH4 (_CRYPTO_CTRL_INCWIDTH_INCWIDTH4 << 14)
152 #define _CRYPTO_CTRL_DMA0MODE_SHIFT 16
153 #define _CRYPTO_CTRL_DMA0MODE_MASK 0x30000UL
154 #define _CRYPTO_CTRL_DMA0MODE_DEFAULT 0x00000000UL
155 #define _CRYPTO_CTRL_DMA0MODE_FULL 0x00000000UL
156 #define _CRYPTO_CTRL_DMA0MODE_LENLIMIT 0x00000001UL
157 #define _CRYPTO_CTRL_DMA0MODE_FULLBYTE 0x00000002UL
158 #define _CRYPTO_CTRL_DMA0MODE_LENLIMITBYTE 0x00000003UL
159 #define CRYPTO_CTRL_DMA0MODE_DEFAULT (_CRYPTO_CTRL_DMA0MODE_DEFAULT << 16)
160 #define CRYPTO_CTRL_DMA0MODE_FULL (_CRYPTO_CTRL_DMA0MODE_FULL << 16)
161 #define CRYPTO_CTRL_DMA0MODE_LENLIMIT (_CRYPTO_CTRL_DMA0MODE_LENLIMIT << 16)
162 #define CRYPTO_CTRL_DMA0MODE_FULLBYTE (_CRYPTO_CTRL_DMA0MODE_FULLBYTE << 16)
163 #define CRYPTO_CTRL_DMA0MODE_LENLIMITBYTE (_CRYPTO_CTRL_DMA0MODE_LENLIMITBYTE << 16)
164 #define _CRYPTO_CTRL_DMA0RSEL_SHIFT 20
165 #define _CRYPTO_CTRL_DMA0RSEL_MASK 0x300000UL
166 #define _CRYPTO_CTRL_DMA0RSEL_DEFAULT 0x00000000UL
167 #define _CRYPTO_CTRL_DMA0RSEL_DATA0 0x00000000UL
168 #define _CRYPTO_CTRL_DMA0RSEL_DDATA0 0x00000001UL
169 #define _CRYPTO_CTRL_DMA0RSEL_DDATA0BIG 0x00000002UL
170 #define _CRYPTO_CTRL_DMA0RSEL_QDATA0 0x00000003UL
171 #define CRYPTO_CTRL_DMA0RSEL_DEFAULT (_CRYPTO_CTRL_DMA0RSEL_DEFAULT << 20)
172 #define CRYPTO_CTRL_DMA0RSEL_DATA0 (_CRYPTO_CTRL_DMA0RSEL_DATA0 << 20)
173 #define CRYPTO_CTRL_DMA0RSEL_DDATA0 (_CRYPTO_CTRL_DMA0RSEL_DDATA0 << 20)
174 #define CRYPTO_CTRL_DMA0RSEL_DDATA0BIG (_CRYPTO_CTRL_DMA0RSEL_DDATA0BIG << 20)
175 #define CRYPTO_CTRL_DMA0RSEL_QDATA0 (_CRYPTO_CTRL_DMA0RSEL_QDATA0 << 20)
176 #define _CRYPTO_CTRL_DMA1MODE_SHIFT 24
177 #define _CRYPTO_CTRL_DMA1MODE_MASK 0x3000000UL
178 #define _CRYPTO_CTRL_DMA1MODE_DEFAULT 0x00000000UL
179 #define _CRYPTO_CTRL_DMA1MODE_FULL 0x00000000UL
180 #define _CRYPTO_CTRL_DMA1MODE_LENLIMIT 0x00000001UL
181 #define _CRYPTO_CTRL_DMA1MODE_FULLBYTE 0x00000002UL
182 #define _CRYPTO_CTRL_DMA1MODE_LENLIMITBYTE 0x00000003UL
183 #define CRYPTO_CTRL_DMA1MODE_DEFAULT (_CRYPTO_CTRL_DMA1MODE_DEFAULT << 24)
184 #define CRYPTO_CTRL_DMA1MODE_FULL (_CRYPTO_CTRL_DMA1MODE_FULL << 24)
185 #define CRYPTO_CTRL_DMA1MODE_LENLIMIT (_CRYPTO_CTRL_DMA1MODE_LENLIMIT << 24)
186 #define CRYPTO_CTRL_DMA1MODE_FULLBYTE (_CRYPTO_CTRL_DMA1MODE_FULLBYTE << 24)
187 #define CRYPTO_CTRL_DMA1MODE_LENLIMITBYTE (_CRYPTO_CTRL_DMA1MODE_LENLIMITBYTE << 24)
188 #define _CRYPTO_CTRL_DMA1RSEL_SHIFT 28
189 #define _CRYPTO_CTRL_DMA1RSEL_MASK 0x30000000UL
190 #define _CRYPTO_CTRL_DMA1RSEL_DEFAULT 0x00000000UL
191 #define _CRYPTO_CTRL_DMA1RSEL_DATA1 0x00000000UL
192 #define _CRYPTO_CTRL_DMA1RSEL_DDATA1 0x00000001UL
193 #define _CRYPTO_CTRL_DMA1RSEL_QDATA1 0x00000002UL
194 #define _CRYPTO_CTRL_DMA1RSEL_QDATA1BIG 0x00000003UL
195 #define CRYPTO_CTRL_DMA1RSEL_DEFAULT (_CRYPTO_CTRL_DMA1RSEL_DEFAULT << 28)
196 #define CRYPTO_CTRL_DMA1RSEL_DATA1 (_CRYPTO_CTRL_DMA1RSEL_DATA1 << 28)
197 #define CRYPTO_CTRL_DMA1RSEL_DDATA1 (_CRYPTO_CTRL_DMA1RSEL_DDATA1 << 28)
198 #define CRYPTO_CTRL_DMA1RSEL_QDATA1 (_CRYPTO_CTRL_DMA1RSEL_QDATA1 << 28)
199 #define CRYPTO_CTRL_DMA1RSEL_QDATA1BIG (_CRYPTO_CTRL_DMA1RSEL_QDATA1BIG << 28)
200 #define CRYPTO_CTRL_COMBDMA0WEREQ (0x1UL << 31)
201 #define _CRYPTO_CTRL_COMBDMA0WEREQ_SHIFT 31
202 #define _CRYPTO_CTRL_COMBDMA0WEREQ_MASK 0x80000000UL
203 #define _CRYPTO_CTRL_COMBDMA0WEREQ_DEFAULT 0x00000000UL
204 #define CRYPTO_CTRL_COMBDMA0WEREQ_DEFAULT (_CRYPTO_CTRL_COMBDMA0WEREQ_DEFAULT << 31)
206 /* Bit fields for CRYPTO WAC */
207 #define _CRYPTO_WAC_RESETVALUE 0x00000000UL
208 #define _CRYPTO_WAC_MASK 0x00000F1FUL
209 #define _CRYPTO_WAC_MODULUS_SHIFT 0
210 #define _CRYPTO_WAC_MODULUS_MASK 0xFUL
211 #define _CRYPTO_WAC_MODULUS_DEFAULT 0x00000000UL
212 #define _CRYPTO_WAC_MODULUS_BIN256 0x00000000UL
213 #define _CRYPTO_WAC_MODULUS_BIN128 0x00000001UL
214 #define _CRYPTO_WAC_MODULUS_ECCBIN233P 0x00000002UL
215 #define _CRYPTO_WAC_MODULUS_ECCBIN163P 0x00000003UL
216 #define _CRYPTO_WAC_MODULUS_GCMBIN128 0x00000004UL
217 #define _CRYPTO_WAC_MODULUS_ECCPRIME256P 0x00000005UL
218 #define _CRYPTO_WAC_MODULUS_ECCPRIME224P 0x00000006UL
219 #define _CRYPTO_WAC_MODULUS_ECCPRIME192P 0x00000007UL
220 #define _CRYPTO_WAC_MODULUS_ECCBIN233N 0x00000008UL
221 #define _CRYPTO_WAC_MODULUS_ECCBIN233KN 0x00000009UL
222 #define _CRYPTO_WAC_MODULUS_ECCBIN163N 0x0000000AUL
223 #define _CRYPTO_WAC_MODULUS_ECCBIN163KN 0x0000000BUL
224 #define _CRYPTO_WAC_MODULUS_ECCPRIME256N 0x0000000CUL
225 #define _CRYPTO_WAC_MODULUS_ECCPRIME224N 0x0000000DUL
226 #define _CRYPTO_WAC_MODULUS_ECCPRIME192N 0x0000000EUL
227 #define CRYPTO_WAC_MODULUS_DEFAULT (_CRYPTO_WAC_MODULUS_DEFAULT << 0)
228 #define CRYPTO_WAC_MODULUS_BIN256 (_CRYPTO_WAC_MODULUS_BIN256 << 0)
229 #define CRYPTO_WAC_MODULUS_BIN128 (_CRYPTO_WAC_MODULUS_BIN128 << 0)
230 #define CRYPTO_WAC_MODULUS_ECCBIN233P (_CRYPTO_WAC_MODULUS_ECCBIN233P << 0)
231 #define CRYPTO_WAC_MODULUS_ECCBIN163P (_CRYPTO_WAC_MODULUS_ECCBIN163P << 0)
232 #define CRYPTO_WAC_MODULUS_GCMBIN128 (_CRYPTO_WAC_MODULUS_GCMBIN128 << 0)
233 #define CRYPTO_WAC_MODULUS_ECCPRIME256P (_CRYPTO_WAC_MODULUS_ECCPRIME256P << 0)
234 #define CRYPTO_WAC_MODULUS_ECCPRIME224P (_CRYPTO_WAC_MODULUS_ECCPRIME224P << 0)
235 #define CRYPTO_WAC_MODULUS_ECCPRIME192P (_CRYPTO_WAC_MODULUS_ECCPRIME192P << 0)
236 #define CRYPTO_WAC_MODULUS_ECCBIN233N (_CRYPTO_WAC_MODULUS_ECCBIN233N << 0)
237 #define CRYPTO_WAC_MODULUS_ECCBIN233KN (_CRYPTO_WAC_MODULUS_ECCBIN233KN << 0)
238 #define CRYPTO_WAC_MODULUS_ECCBIN163N (_CRYPTO_WAC_MODULUS_ECCBIN163N << 0)
239 #define CRYPTO_WAC_MODULUS_ECCBIN163KN (_CRYPTO_WAC_MODULUS_ECCBIN163KN << 0)
240 #define CRYPTO_WAC_MODULUS_ECCPRIME256N (_CRYPTO_WAC_MODULUS_ECCPRIME256N << 0)
241 #define CRYPTO_WAC_MODULUS_ECCPRIME224N (_CRYPTO_WAC_MODULUS_ECCPRIME224N << 0)
242 #define CRYPTO_WAC_MODULUS_ECCPRIME192N (_CRYPTO_WAC_MODULUS_ECCPRIME192N << 0)
243 #define CRYPTO_WAC_MODOP (0x1UL << 4)
244 #define _CRYPTO_WAC_MODOP_SHIFT 4
245 #define _CRYPTO_WAC_MODOP_MASK 0x10UL
246 #define _CRYPTO_WAC_MODOP_DEFAULT 0x00000000UL
247 #define _CRYPTO_WAC_MODOP_BINARY 0x00000000UL
248 #define _CRYPTO_WAC_MODOP_REGULAR 0x00000001UL
249 #define CRYPTO_WAC_MODOP_DEFAULT (_CRYPTO_WAC_MODOP_DEFAULT << 4)
250 #define CRYPTO_WAC_MODOP_BINARY (_CRYPTO_WAC_MODOP_BINARY << 4)
251 #define CRYPTO_WAC_MODOP_REGULAR (_CRYPTO_WAC_MODOP_REGULAR << 4)
252 #define _CRYPTO_WAC_MULWIDTH_SHIFT 8
253 #define _CRYPTO_WAC_MULWIDTH_MASK 0x300UL
254 #define _CRYPTO_WAC_MULWIDTH_DEFAULT 0x00000000UL
255 #define _CRYPTO_WAC_MULWIDTH_MUL256 0x00000000UL
256 #define _CRYPTO_WAC_MULWIDTH_MUL128 0x00000001UL
257 #define _CRYPTO_WAC_MULWIDTH_MULMOD 0x00000002UL
258 #define CRYPTO_WAC_MULWIDTH_DEFAULT (_CRYPTO_WAC_MULWIDTH_DEFAULT << 8)
259 #define CRYPTO_WAC_MULWIDTH_MUL256 (_CRYPTO_WAC_MULWIDTH_MUL256 << 8)
260 #define CRYPTO_WAC_MULWIDTH_MUL128 (_CRYPTO_WAC_MULWIDTH_MUL128 << 8)
261 #define CRYPTO_WAC_MULWIDTH_MULMOD (_CRYPTO_WAC_MULWIDTH_MULMOD << 8)
262 #define _CRYPTO_WAC_RESULTWIDTH_SHIFT 10
263 #define _CRYPTO_WAC_RESULTWIDTH_MASK 0xC00UL
264 #define _CRYPTO_WAC_RESULTWIDTH_DEFAULT 0x00000000UL
265 #define _CRYPTO_WAC_RESULTWIDTH_256BIT 0x00000000UL
266 #define _CRYPTO_WAC_RESULTWIDTH_128BIT 0x00000001UL
267 #define _CRYPTO_WAC_RESULTWIDTH_260BIT 0x00000002UL
268 #define CRYPTO_WAC_RESULTWIDTH_DEFAULT (_CRYPTO_WAC_RESULTWIDTH_DEFAULT << 10)
269 #define CRYPTO_WAC_RESULTWIDTH_256BIT (_CRYPTO_WAC_RESULTWIDTH_256BIT << 10)
270 #define CRYPTO_WAC_RESULTWIDTH_128BIT (_CRYPTO_WAC_RESULTWIDTH_128BIT << 10)
271 #define CRYPTO_WAC_RESULTWIDTH_260BIT (_CRYPTO_WAC_RESULTWIDTH_260BIT << 10)
273 /* Bit fields for CRYPTO CMD */
274 #define _CRYPTO_CMD_RESETVALUE 0x00000000UL
275 #define _CRYPTO_CMD_MASK 0x00000EFFUL
276 #define _CRYPTO_CMD_INSTR_SHIFT 0
277 #define _CRYPTO_CMD_INSTR_MASK 0xFFUL
278 #define _CRYPTO_CMD_INSTR_DEFAULT 0x00000000UL
279 #define _CRYPTO_CMD_INSTR_END 0x00000000UL
280 #define _CRYPTO_CMD_INSTR_EXEC 0x00000001UL
281 #define _CRYPTO_CMD_INSTR_DATA1INC 0x00000003UL
282 #define _CRYPTO_CMD_INSTR_DATA1INCCLR 0x00000004UL
283 #define _CRYPTO_CMD_INSTR_AESENC 0x00000005UL
284 #define _CRYPTO_CMD_INSTR_AESDEC 0x00000006UL
285 #define _CRYPTO_CMD_INSTR_SHA 0x00000007UL
286 #define _CRYPTO_CMD_INSTR_ADD 0x00000008UL
287 #define _CRYPTO_CMD_INSTR_ADDC 0x00000009UL
288 #define _CRYPTO_CMD_INSTR_MADD 0x0000000CUL
289 #define _CRYPTO_CMD_INSTR_MADD32 0x0000000DUL
290 #define _CRYPTO_CMD_INSTR_SUB 0x00000010UL
291 #define _CRYPTO_CMD_INSTR_SUBC 0x00000011UL
292 #define _CRYPTO_CMD_INSTR_MSUB 0x00000014UL
293 #define _CRYPTO_CMD_INSTR_MUL 0x00000018UL
294 #define _CRYPTO_CMD_INSTR_MULC 0x00000019UL
295 #define _CRYPTO_CMD_INSTR_MMUL 0x0000001CUL
296 #define _CRYPTO_CMD_INSTR_MULO 0x0000001DUL
297 #define _CRYPTO_CMD_INSTR_SHL 0x00000020UL
298 #define _CRYPTO_CMD_INSTR_SHLC 0x00000021UL
299 #define _CRYPTO_CMD_INSTR_SHLB 0x00000022UL
300 #define _CRYPTO_CMD_INSTR_SHL1 0x00000023UL
301 #define _CRYPTO_CMD_INSTR_SHR 0x00000024UL
302 #define _CRYPTO_CMD_INSTR_SHRC 0x00000025UL
303 #define _CRYPTO_CMD_INSTR_SHRB 0x00000026UL
304 #define _CRYPTO_CMD_INSTR_SHR1 0x00000027UL
305 #define _CRYPTO_CMD_INSTR_ADDO 0x00000028UL
306 #define _CRYPTO_CMD_INSTR_ADDIC 0x00000029UL
307 #define _CRYPTO_CMD_INSTR_CLR 0x00000030UL
308 #define _CRYPTO_CMD_INSTR_XOR 0x00000031UL
309 #define _CRYPTO_CMD_INSTR_INV 0x00000032UL
310 #define _CRYPTO_CMD_INSTR_CSET 0x00000034UL
311 #define _CRYPTO_CMD_INSTR_CCLR 0x00000035UL
312 #define _CRYPTO_CMD_INSTR_BBSWAP128 0x00000036UL
313 #define _CRYPTO_CMD_INSTR_INC 0x00000038UL
314 #define _CRYPTO_CMD_INSTR_DEC 0x00000039UL
315 #define _CRYPTO_CMD_INSTR_SHRA 0x0000003EUL
316 #define _CRYPTO_CMD_INSTR_DATA0TODATA0 0x00000040UL
317 #define _CRYPTO_CMD_INSTR_DATA0TODATA0XOR 0x00000041UL
318 #define _CRYPTO_CMD_INSTR_DATA0TODATA0XORLEN 0x00000042UL
319 #define _CRYPTO_CMD_INSTR_DATA0TODATA1 0x00000044UL
320 #define _CRYPTO_CMD_INSTR_DATA0TODATA2 0x00000045UL
321 #define _CRYPTO_CMD_INSTR_DATA0TODATA3 0x00000046UL
322 #define _CRYPTO_CMD_INSTR_DATA1TODATA0 0x00000048UL
323 #define _CRYPTO_CMD_INSTR_DATA1TODATA0XOR 0x00000049UL
324 #define _CRYPTO_CMD_INSTR_DATA1TODATA0XORLEN 0x0000004AUL
325 #define _CRYPTO_CMD_INSTR_DATA1TODATA2 0x0000004DUL
326 #define _CRYPTO_CMD_INSTR_DATA1TODATA3 0x0000004EUL
327 #define _CRYPTO_CMD_INSTR_DATA2TODATA0 0x00000050UL
328 #define _CRYPTO_CMD_INSTR_DATA2TODATA0XOR 0x00000051UL
329 #define _CRYPTO_CMD_INSTR_DATA2TODATA0XORLEN 0x00000052UL
330 #define _CRYPTO_CMD_INSTR_DATA2TODATA1 0x00000054UL
331 #define _CRYPTO_CMD_INSTR_DATA2TODATA3 0x00000056UL
332 #define _CRYPTO_CMD_INSTR_DATA3TODATA0 0x00000058UL
333 #define _CRYPTO_CMD_INSTR_DATA3TODATA0XOR 0x00000059UL
334 #define _CRYPTO_CMD_INSTR_DATA3TODATA0XORLEN 0x0000005AUL
335 #define _CRYPTO_CMD_INSTR_DATA3TODATA1 0x0000005CUL
336 #define _CRYPTO_CMD_INSTR_DATA3TODATA2 0x0000005DUL
337 #define _CRYPTO_CMD_INSTR_DATATODMA0 0x00000063UL
338 #define _CRYPTO_CMD_INSTR_DATA0TOBUF 0x00000064UL
339 #define _CRYPTO_CMD_INSTR_DATA0TOBUFXOR 0x00000065UL
340 #define _CRYPTO_CMD_INSTR_DATATODMA1 0x0000006BUL
341 #define _CRYPTO_CMD_INSTR_DATA1TOBUF 0x0000006CUL
342 #define _CRYPTO_CMD_INSTR_DATA1TOBUFXOR 0x0000006DUL
343 #define _CRYPTO_CMD_INSTR_DMA0TODATA 0x00000070UL
344 #define _CRYPTO_CMD_INSTR_DMA0TODATAXOR 0x00000071UL
345 #define _CRYPTO_CMD_INSTR_DMA1TODATA 0x00000072UL
346 #define _CRYPTO_CMD_INSTR_BUFTODATA0 0x00000078UL
347 #define _CRYPTO_CMD_INSTR_BUFTODATA0XOR 0x00000079UL
348 #define _CRYPTO_CMD_INSTR_BUFTODATA1 0x0000007AUL
349 #define _CRYPTO_CMD_INSTR_DDATA0TODDATA1 0x00000081UL
350 #define _CRYPTO_CMD_INSTR_DDATA0TODDATA2 0x00000082UL
351 #define _CRYPTO_CMD_INSTR_DDATA0TODDATA3 0x00000083UL
352 #define _CRYPTO_CMD_INSTR_DDATA0TODDATA4 0x00000084UL
353 #define _CRYPTO_CMD_INSTR_DDATA0LTODATA0 0x00000085UL
354 #define _CRYPTO_CMD_INSTR_DDATA0HTODATA1 0x00000086UL
355 #define _CRYPTO_CMD_INSTR_DDATA0LTODATA2 0x00000087UL
356 #define _CRYPTO_CMD_INSTR_DDATA1TODDATA0 0x00000088UL
357 #define _CRYPTO_CMD_INSTR_DDATA1TODDATA2 0x0000008AUL
358 #define _CRYPTO_CMD_INSTR_DDATA1TODDATA3 0x0000008BUL
359 #define _CRYPTO_CMD_INSTR_DDATA1TODDATA4 0x0000008CUL
360 #define _CRYPTO_CMD_INSTR_DDATA1LTODATA0 0x0000008DUL
361 #define _CRYPTO_CMD_INSTR_DDATA1HTODATA1 0x0000008EUL
362 #define _CRYPTO_CMD_INSTR_DDATA1LTODATA2 0x0000008FUL
363 #define _CRYPTO_CMD_INSTR_DDATA2TODDATA0 0x00000090UL
364 #define _CRYPTO_CMD_INSTR_DDATA2TODDATA1 0x00000091UL
365 #define _CRYPTO_CMD_INSTR_DDATA2TODDATA3 0x00000093UL
366 #define _CRYPTO_CMD_INSTR_DDATA2TODDATA4 0x00000094UL
367 #define _CRYPTO_CMD_INSTR_DDATA2LTODATA2 0x00000097UL
368 #define _CRYPTO_CMD_INSTR_DDATA3TODDATA0 0x00000098UL
369 #define _CRYPTO_CMD_INSTR_DDATA3TODDATA1 0x00000099UL
370 #define _CRYPTO_CMD_INSTR_DDATA3TODDATA2 0x0000009AUL
371 #define _CRYPTO_CMD_INSTR_DDATA3TODDATA4 0x0000009CUL
372 #define _CRYPTO_CMD_INSTR_DDATA3LTODATA0 0x0000009DUL
373 #define _CRYPTO_CMD_INSTR_DDATA3HTODATA1 0x0000009EUL
374 #define _CRYPTO_CMD_INSTR_DDATA4TODDATA0 0x000000A0UL
375 #define _CRYPTO_CMD_INSTR_DDATA4TODDATA1 0x000000A1UL
376 #define _CRYPTO_CMD_INSTR_DDATA4TODDATA2 0x000000A2UL
377 #define _CRYPTO_CMD_INSTR_DDATA4TODDATA3 0x000000A3UL
378 #define _CRYPTO_CMD_INSTR_DDATA4LTODATA0 0x000000A5UL
379 #define _CRYPTO_CMD_INSTR_DDATA4HTODATA1 0x000000A6UL
380 #define _CRYPTO_CMD_INSTR_DDATA4LTODATA2 0x000000A7UL
381 #define _CRYPTO_CMD_INSTR_DATA0TODDATA0 0x000000A8UL
382 #define _CRYPTO_CMD_INSTR_DATA0TODDATA1 0x000000A9UL
383 #define _CRYPTO_CMD_INSTR_DATA1TODDATA0 0x000000B0UL
384 #define _CRYPTO_CMD_INSTR_DATA1TODDATA1 0x000000B1UL
385 #define _CRYPTO_CMD_INSTR_DATA2TODDATA0 0x000000B8UL
386 #define _CRYPTO_CMD_INSTR_DATA2TODDATA1 0x000000B9UL
387 #define _CRYPTO_CMD_INSTR_DATA2TODDATA2 0x000000BAUL
388 #define _CRYPTO_CMD_INSTR_SELDDATA0DDATA0 0x000000C0UL
389 #define _CRYPTO_CMD_INSTR_SELDDATA1DDATA0 0x000000C1UL
390 #define _CRYPTO_CMD_INSTR_SELDDATA2DDATA0 0x000000C2UL
391 #define _CRYPTO_CMD_INSTR_SELDDATA3DDATA0 0x000000C3UL
392 #define _CRYPTO_CMD_INSTR_SELDDATA4DDATA0 0x000000C4UL
393 #define _CRYPTO_CMD_INSTR_SELDATA0DDATA0 0x000000C5UL
394 #define _CRYPTO_CMD_INSTR_SELDATA1DDATA0 0x000000C6UL
395 #define _CRYPTO_CMD_INSTR_SELDATA2DDATA0 0x000000C7UL
396 #define _CRYPTO_CMD_INSTR_SELDDATA0DDATA1 0x000000C8UL
397 #define _CRYPTO_CMD_INSTR_SELDDATA1DDATA1 0x000000C9UL
398 #define _CRYPTO_CMD_INSTR_SELDDATA2DDATA1 0x000000CAUL
399 #define _CRYPTO_CMD_INSTR_SELDDATA3DDATA1 0x000000CBUL
400 #define _CRYPTO_CMD_INSTR_SELDDATA4DDATA1 0x000000CCUL
401 #define _CRYPTO_CMD_INSTR_SELDATA0DDATA1 0x000000CDUL
402 #define _CRYPTO_CMD_INSTR_SELDATA1DDATA1 0x000000CEUL
403 #define _CRYPTO_CMD_INSTR_SELDATA2DDATA1 0x000000CFUL
404 #define _CRYPTO_CMD_INSTR_SELDDATA0DDATA2 0x000000D0UL
405 #define _CRYPTO_CMD_INSTR_SELDDATA1DDATA2 0x000000D1UL
406 #define _CRYPTO_CMD_INSTR_SELDDATA2DDATA2 0x000000D2UL
407 #define _CRYPTO_CMD_INSTR_SELDDATA3DDATA2 0x000000D3UL
408 #define _CRYPTO_CMD_INSTR_SELDDATA4DDATA2 0x000000D4UL
409 #define _CRYPTO_CMD_INSTR_SELDATA0DDATA2 0x000000D5UL
410 #define _CRYPTO_CMD_INSTR_SELDATA1DDATA2 0x000000D6UL
411 #define _CRYPTO_CMD_INSTR_SELDATA2DDATA2 0x000000D7UL
412 #define _CRYPTO_CMD_INSTR_SELDDATA0DDATA3 0x000000D8UL
413 #define _CRYPTO_CMD_INSTR_SELDDATA1DDATA3 0x000000D9UL
414 #define _CRYPTO_CMD_INSTR_SELDDATA2DDATA3 0x000000DAUL
415 #define _CRYPTO_CMD_INSTR_SELDDATA3DDATA3 0x000000DBUL
416 #define _CRYPTO_CMD_INSTR_SELDDATA4DDATA3 0x000000DCUL
417 #define _CRYPTO_CMD_INSTR_SELDATA0DDATA3 0x000000DDUL
418 #define _CRYPTO_CMD_INSTR_SELDATA1DDATA3 0x000000DEUL
419 #define _CRYPTO_CMD_INSTR_SELDATA2DDATA3 0x000000DFUL
420 #define _CRYPTO_CMD_INSTR_SELDDATA0DDATA4 0x000000E0UL
421 #define _CRYPTO_CMD_INSTR_SELDDATA1DDATA4 0x000000E1UL
422 #define _CRYPTO_CMD_INSTR_SELDDATA2DDATA4 0x000000E2UL
423 #define _CRYPTO_CMD_INSTR_SELDDATA3DDATA4 0x000000E3UL
424 #define _CRYPTO_CMD_INSTR_SELDDATA4DDATA4 0x000000E4UL
425 #define _CRYPTO_CMD_INSTR_SELDATA0DDATA4 0x000000E5UL
426 #define _CRYPTO_CMD_INSTR_SELDATA1DDATA4 0x000000E6UL
427 #define _CRYPTO_CMD_INSTR_SELDATA2DDATA4 0x000000E7UL
428 #define _CRYPTO_CMD_INSTR_SELDDATA0DATA0 0x000000E8UL
429 #define _CRYPTO_CMD_INSTR_SELDDATA1DATA0 0x000000E9UL
430 #define _CRYPTO_CMD_INSTR_SELDDATA2DATA0 0x000000EAUL
431 #define _CRYPTO_CMD_INSTR_SELDDATA3DATA0 0x000000EBUL
432 #define _CRYPTO_CMD_INSTR_SELDDATA4DATA0 0x000000ECUL
433 #define _CRYPTO_CMD_INSTR_SELDATA0DATA0 0x000000EDUL
434 #define _CRYPTO_CMD_INSTR_SELDATA1DATA0 0x000000EEUL
435 #define _CRYPTO_CMD_INSTR_SELDATA2DATA0 0x000000EFUL
436 #define _CRYPTO_CMD_INSTR_SELDDATA0DATA1 0x000000F0UL
437 #define _CRYPTO_CMD_INSTR_SELDDATA1DATA1 0x000000F1UL
438 #define _CRYPTO_CMD_INSTR_SELDDATA2DATA1 0x000000F2UL
439 #define _CRYPTO_CMD_INSTR_SELDDATA3DATA1 0x000000F3UL
440 #define _CRYPTO_CMD_INSTR_SELDDATA4DATA1 0x000000F4UL
441 #define _CRYPTO_CMD_INSTR_SELDATA0DATA1 0x000000F5UL
442 #define _CRYPTO_CMD_INSTR_SELDATA1DATA1 0x000000F6UL
443 #define _CRYPTO_CMD_INSTR_SELDATA2DATA1 0x000000F7UL
444 #define _CRYPTO_CMD_INSTR_EXECIFA 0x000000F8UL
445 #define _CRYPTO_CMD_INSTR_EXECIFB 0x000000F9UL
446 #define _CRYPTO_CMD_INSTR_EXECIFNLAST 0x000000FAUL
447 #define _CRYPTO_CMD_INSTR_EXECIFLAST 0x000000FBUL
448 #define _CRYPTO_CMD_INSTR_EXECIFCARRY 0x000000FCUL
449 #define _CRYPTO_CMD_INSTR_EXECIFNCARRY 0x000000FDUL
450 #define _CRYPTO_CMD_INSTR_EXECALWAYS 0x000000FEUL
451 #define CRYPTO_CMD_INSTR_DEFAULT (_CRYPTO_CMD_INSTR_DEFAULT << 0)
452 #define CRYPTO_CMD_INSTR_END (_CRYPTO_CMD_INSTR_END << 0)
453 #define CRYPTO_CMD_INSTR_EXEC (_CRYPTO_CMD_INSTR_EXEC << 0)
454 #define CRYPTO_CMD_INSTR_DATA1INC (_CRYPTO_CMD_INSTR_DATA1INC << 0)
455 #define CRYPTO_CMD_INSTR_DATA1INCCLR (_CRYPTO_CMD_INSTR_DATA1INCCLR << 0)
456 #define CRYPTO_CMD_INSTR_AESENC (_CRYPTO_CMD_INSTR_AESENC << 0)
457 #define CRYPTO_CMD_INSTR_AESDEC (_CRYPTO_CMD_INSTR_AESDEC << 0)
458 #define CRYPTO_CMD_INSTR_SHA (_CRYPTO_CMD_INSTR_SHA << 0)
459 #define CRYPTO_CMD_INSTR_ADD (_CRYPTO_CMD_INSTR_ADD << 0)
460 #define CRYPTO_CMD_INSTR_ADDC (_CRYPTO_CMD_INSTR_ADDC << 0)
461 #define CRYPTO_CMD_INSTR_MADD (_CRYPTO_CMD_INSTR_MADD << 0)
462 #define CRYPTO_CMD_INSTR_MADD32 (_CRYPTO_CMD_INSTR_MADD32 << 0)
463 #define CRYPTO_CMD_INSTR_SUB (_CRYPTO_CMD_INSTR_SUB << 0)
464 #define CRYPTO_CMD_INSTR_SUBC (_CRYPTO_CMD_INSTR_SUBC << 0)
465 #define CRYPTO_CMD_INSTR_MSUB (_CRYPTO_CMD_INSTR_MSUB << 0)
466 #define CRYPTO_CMD_INSTR_MUL (_CRYPTO_CMD_INSTR_MUL << 0)
467 #define CRYPTO_CMD_INSTR_MULC (_CRYPTO_CMD_INSTR_MULC << 0)
468 #define CRYPTO_CMD_INSTR_MMUL (_CRYPTO_CMD_INSTR_MMUL << 0)
469 #define CRYPTO_CMD_INSTR_MULO (_CRYPTO_CMD_INSTR_MULO << 0)
470 #define CRYPTO_CMD_INSTR_SHL (_CRYPTO_CMD_INSTR_SHL << 0)
471 #define CRYPTO_CMD_INSTR_SHLC (_CRYPTO_CMD_INSTR_SHLC << 0)
472 #define CRYPTO_CMD_INSTR_SHLB (_CRYPTO_CMD_INSTR_SHLB << 0)
473 #define CRYPTO_CMD_INSTR_SHL1 (_CRYPTO_CMD_INSTR_SHL1 << 0)
474 #define CRYPTO_CMD_INSTR_SHR (_CRYPTO_CMD_INSTR_SHR << 0)
475 #define CRYPTO_CMD_INSTR_SHRC (_CRYPTO_CMD_INSTR_SHRC << 0)
476 #define CRYPTO_CMD_INSTR_SHRB (_CRYPTO_CMD_INSTR_SHRB << 0)
477 #define CRYPTO_CMD_INSTR_SHR1 (_CRYPTO_CMD_INSTR_SHR1 << 0)
478 #define CRYPTO_CMD_INSTR_ADDO (_CRYPTO_CMD_INSTR_ADDO << 0)
479 #define CRYPTO_CMD_INSTR_ADDIC (_CRYPTO_CMD_INSTR_ADDIC << 0)
480 #define CRYPTO_CMD_INSTR_CLR (_CRYPTO_CMD_INSTR_CLR << 0)
481 #define CRYPTO_CMD_INSTR_XOR (_CRYPTO_CMD_INSTR_XOR << 0)
482 #define CRYPTO_CMD_INSTR_INV (_CRYPTO_CMD_INSTR_INV << 0)
483 #define CRYPTO_CMD_INSTR_CSET (_CRYPTO_CMD_INSTR_CSET << 0)
484 #define CRYPTO_CMD_INSTR_CCLR (_CRYPTO_CMD_INSTR_CCLR << 0)
485 #define CRYPTO_CMD_INSTR_BBSWAP128 (_CRYPTO_CMD_INSTR_BBSWAP128 << 0)
486 #define CRYPTO_CMD_INSTR_INC (_CRYPTO_CMD_INSTR_INC << 0)
487 #define CRYPTO_CMD_INSTR_DEC (_CRYPTO_CMD_INSTR_DEC << 0)
488 #define CRYPTO_CMD_INSTR_SHRA (_CRYPTO_CMD_INSTR_SHRA << 0)
489 #define CRYPTO_CMD_INSTR_DATA0TODATA0 (_CRYPTO_CMD_INSTR_DATA0TODATA0 << 0)
490 #define CRYPTO_CMD_INSTR_DATA0TODATA0XOR (_CRYPTO_CMD_INSTR_DATA0TODATA0XOR << 0)
491 #define CRYPTO_CMD_INSTR_DATA0TODATA0XORLEN (_CRYPTO_CMD_INSTR_DATA0TODATA0XORLEN << 0)
492 #define CRYPTO_CMD_INSTR_DATA0TODATA1 (_CRYPTO_CMD_INSTR_DATA0TODATA1 << 0)
493 #define CRYPTO_CMD_INSTR_DATA0TODATA2 (_CRYPTO_CMD_INSTR_DATA0TODATA2 << 0)
494 #define CRYPTO_CMD_INSTR_DATA0TODATA3 (_CRYPTO_CMD_INSTR_DATA0TODATA3 << 0)
495 #define CRYPTO_CMD_INSTR_DATA1TODATA0 (_CRYPTO_CMD_INSTR_DATA1TODATA0 << 0)
496 #define CRYPTO_CMD_INSTR_DATA1TODATA0XOR (_CRYPTO_CMD_INSTR_DATA1TODATA0XOR << 0)
497 #define CRYPTO_CMD_INSTR_DATA1TODATA0XORLEN (_CRYPTO_CMD_INSTR_DATA1TODATA0XORLEN << 0)
498 #define CRYPTO_CMD_INSTR_DATA1TODATA2 (_CRYPTO_CMD_INSTR_DATA1TODATA2 << 0)
499 #define CRYPTO_CMD_INSTR_DATA1TODATA3 (_CRYPTO_CMD_INSTR_DATA1TODATA3 << 0)
500 #define CRYPTO_CMD_INSTR_DATA2TODATA0 (_CRYPTO_CMD_INSTR_DATA2TODATA0 << 0)
501 #define CRYPTO_CMD_INSTR_DATA2TODATA0XOR (_CRYPTO_CMD_INSTR_DATA2TODATA0XOR << 0)
502 #define CRYPTO_CMD_INSTR_DATA2TODATA0XORLEN (_CRYPTO_CMD_INSTR_DATA2TODATA0XORLEN << 0)
503 #define CRYPTO_CMD_INSTR_DATA2TODATA1 (_CRYPTO_CMD_INSTR_DATA2TODATA1 << 0)
504 #define CRYPTO_CMD_INSTR_DATA2TODATA3 (_CRYPTO_CMD_INSTR_DATA2TODATA3 << 0)
505 #define CRYPTO_CMD_INSTR_DATA3TODATA0 (_CRYPTO_CMD_INSTR_DATA3TODATA0 << 0)
506 #define CRYPTO_CMD_INSTR_DATA3TODATA0XOR (_CRYPTO_CMD_INSTR_DATA3TODATA0XOR << 0)
507 #define CRYPTO_CMD_INSTR_DATA3TODATA0XORLEN (_CRYPTO_CMD_INSTR_DATA3TODATA0XORLEN << 0)
508 #define CRYPTO_CMD_INSTR_DATA3TODATA1 (_CRYPTO_CMD_INSTR_DATA3TODATA1 << 0)
509 #define CRYPTO_CMD_INSTR_DATA3TODATA2 (_CRYPTO_CMD_INSTR_DATA3TODATA2 << 0)
510 #define CRYPTO_CMD_INSTR_DATATODMA0 (_CRYPTO_CMD_INSTR_DATATODMA0 << 0)
511 #define CRYPTO_CMD_INSTR_DATA0TOBUF (_CRYPTO_CMD_INSTR_DATA0TOBUF << 0)
512 #define CRYPTO_CMD_INSTR_DATA0TOBUFXOR (_CRYPTO_CMD_INSTR_DATA0TOBUFXOR << 0)
513 #define CRYPTO_CMD_INSTR_DATATODMA1 (_CRYPTO_CMD_INSTR_DATATODMA1 << 0)
514 #define CRYPTO_CMD_INSTR_DATA1TOBUF (_CRYPTO_CMD_INSTR_DATA1TOBUF << 0)
515 #define CRYPTO_CMD_INSTR_DATA1TOBUFXOR (_CRYPTO_CMD_INSTR_DATA1TOBUFXOR << 0)
516 #define CRYPTO_CMD_INSTR_DMA0TODATA (_CRYPTO_CMD_INSTR_DMA0TODATA << 0)
517 #define CRYPTO_CMD_INSTR_DMA0TODATAXOR (_CRYPTO_CMD_INSTR_DMA0TODATAXOR << 0)
518 #define CRYPTO_CMD_INSTR_DMA1TODATA (_CRYPTO_CMD_INSTR_DMA1TODATA << 0)
519 #define CRYPTO_CMD_INSTR_BUFTODATA0 (_CRYPTO_CMD_INSTR_BUFTODATA0 << 0)
520 #define CRYPTO_CMD_INSTR_BUFTODATA0XOR (_CRYPTO_CMD_INSTR_BUFTODATA0XOR << 0)
521 #define CRYPTO_CMD_INSTR_BUFTODATA1 (_CRYPTO_CMD_INSTR_BUFTODATA1 << 0)
522 #define CRYPTO_CMD_INSTR_DDATA0TODDATA1 (_CRYPTO_CMD_INSTR_DDATA0TODDATA1 << 0)
523 #define CRYPTO_CMD_INSTR_DDATA0TODDATA2 (_CRYPTO_CMD_INSTR_DDATA0TODDATA2 << 0)
524 #define CRYPTO_CMD_INSTR_DDATA0TODDATA3 (_CRYPTO_CMD_INSTR_DDATA0TODDATA3 << 0)
525 #define CRYPTO_CMD_INSTR_DDATA0TODDATA4 (_CRYPTO_CMD_INSTR_DDATA0TODDATA4 << 0)
526 #define CRYPTO_CMD_INSTR_DDATA0LTODATA0 (_CRYPTO_CMD_INSTR_DDATA0LTODATA0 << 0)
527 #define CRYPTO_CMD_INSTR_DDATA0HTODATA1 (_CRYPTO_CMD_INSTR_DDATA0HTODATA1 << 0)
528 #define CRYPTO_CMD_INSTR_DDATA0LTODATA2 (_CRYPTO_CMD_INSTR_DDATA0LTODATA2 << 0)
529 #define CRYPTO_CMD_INSTR_DDATA1TODDATA0 (_CRYPTO_CMD_INSTR_DDATA1TODDATA0 << 0)
530 #define CRYPTO_CMD_INSTR_DDATA1TODDATA2 (_CRYPTO_CMD_INSTR_DDATA1TODDATA2 << 0)
531 #define CRYPTO_CMD_INSTR_DDATA1TODDATA3 (_CRYPTO_CMD_INSTR_DDATA1TODDATA3 << 0)
532 #define CRYPTO_CMD_INSTR_DDATA1TODDATA4 (_CRYPTO_CMD_INSTR_DDATA1TODDATA4 << 0)
533 #define CRYPTO_CMD_INSTR_DDATA1LTODATA0 (_CRYPTO_CMD_INSTR_DDATA1LTODATA0 << 0)
534 #define CRYPTO_CMD_INSTR_DDATA1HTODATA1 (_CRYPTO_CMD_INSTR_DDATA1HTODATA1 << 0)
535 #define CRYPTO_CMD_INSTR_DDATA1LTODATA2 (_CRYPTO_CMD_INSTR_DDATA1LTODATA2 << 0)
536 #define CRYPTO_CMD_INSTR_DDATA2TODDATA0 (_CRYPTO_CMD_INSTR_DDATA2TODDATA0 << 0)
537 #define CRYPTO_CMD_INSTR_DDATA2TODDATA1 (_CRYPTO_CMD_INSTR_DDATA2TODDATA1 << 0)
538 #define CRYPTO_CMD_INSTR_DDATA2TODDATA3 (_CRYPTO_CMD_INSTR_DDATA2TODDATA3 << 0)
539 #define CRYPTO_CMD_INSTR_DDATA2TODDATA4 (_CRYPTO_CMD_INSTR_DDATA2TODDATA4 << 0)
540 #define CRYPTO_CMD_INSTR_DDATA2LTODATA2 (_CRYPTO_CMD_INSTR_DDATA2LTODATA2 << 0)
541 #define CRYPTO_CMD_INSTR_DDATA3TODDATA0 (_CRYPTO_CMD_INSTR_DDATA3TODDATA0 << 0)
542 #define CRYPTO_CMD_INSTR_DDATA3TODDATA1 (_CRYPTO_CMD_INSTR_DDATA3TODDATA1 << 0)
543 #define CRYPTO_CMD_INSTR_DDATA3TODDATA2 (_CRYPTO_CMD_INSTR_DDATA3TODDATA2 << 0)
544 #define CRYPTO_CMD_INSTR_DDATA3TODDATA4 (_CRYPTO_CMD_INSTR_DDATA3TODDATA4 << 0)
545 #define CRYPTO_CMD_INSTR_DDATA3LTODATA0 (_CRYPTO_CMD_INSTR_DDATA3LTODATA0 << 0)
546 #define CRYPTO_CMD_INSTR_DDATA3HTODATA1 (_CRYPTO_CMD_INSTR_DDATA3HTODATA1 << 0)
547 #define CRYPTO_CMD_INSTR_DDATA4TODDATA0 (_CRYPTO_CMD_INSTR_DDATA4TODDATA0 << 0)
548 #define CRYPTO_CMD_INSTR_DDATA4TODDATA1 (_CRYPTO_CMD_INSTR_DDATA4TODDATA1 << 0)
549 #define CRYPTO_CMD_INSTR_DDATA4TODDATA2 (_CRYPTO_CMD_INSTR_DDATA4TODDATA2 << 0)
550 #define CRYPTO_CMD_INSTR_DDATA4TODDATA3 (_CRYPTO_CMD_INSTR_DDATA4TODDATA3 << 0)
551 #define CRYPTO_CMD_INSTR_DDATA4LTODATA0 (_CRYPTO_CMD_INSTR_DDATA4LTODATA0 << 0)
552 #define CRYPTO_CMD_INSTR_DDATA4HTODATA1 (_CRYPTO_CMD_INSTR_DDATA4HTODATA1 << 0)
553 #define CRYPTO_CMD_INSTR_DDATA4LTODATA2 (_CRYPTO_CMD_INSTR_DDATA4LTODATA2 << 0)
554 #define CRYPTO_CMD_INSTR_DATA0TODDATA0 (_CRYPTO_CMD_INSTR_DATA0TODDATA0 << 0)
555 #define CRYPTO_CMD_INSTR_DATA0TODDATA1 (_CRYPTO_CMD_INSTR_DATA0TODDATA1 << 0)
556 #define CRYPTO_CMD_INSTR_DATA1TODDATA0 (_CRYPTO_CMD_INSTR_DATA1TODDATA0 << 0)
557 #define CRYPTO_CMD_INSTR_DATA1TODDATA1 (_CRYPTO_CMD_INSTR_DATA1TODDATA1 << 0)
558 #define CRYPTO_CMD_INSTR_DATA2TODDATA0 (_CRYPTO_CMD_INSTR_DATA2TODDATA0 << 0)
559 #define CRYPTO_CMD_INSTR_DATA2TODDATA1 (_CRYPTO_CMD_INSTR_DATA2TODDATA1 << 0)
560 #define CRYPTO_CMD_INSTR_DATA2TODDATA2 (_CRYPTO_CMD_INSTR_DATA2TODDATA2 << 0)
561 #define CRYPTO_CMD_INSTR_SELDDATA0DDATA0 (_CRYPTO_CMD_INSTR_SELDDATA0DDATA0 << 0)
562 #define CRYPTO_CMD_INSTR_SELDDATA1DDATA0 (_CRYPTO_CMD_INSTR_SELDDATA1DDATA0 << 0)
563 #define CRYPTO_CMD_INSTR_SELDDATA2DDATA0 (_CRYPTO_CMD_INSTR_SELDDATA2DDATA0 << 0)
564 #define CRYPTO_CMD_INSTR_SELDDATA3DDATA0 (_CRYPTO_CMD_INSTR_SELDDATA3DDATA0 << 0)
565 #define CRYPTO_CMD_INSTR_SELDDATA4DDATA0 (_CRYPTO_CMD_INSTR_SELDDATA4DDATA0 << 0)
566 #define CRYPTO_CMD_INSTR_SELDATA0DDATA0 (_CRYPTO_CMD_INSTR_SELDATA0DDATA0 << 0)
567 #define CRYPTO_CMD_INSTR_SELDATA1DDATA0 (_CRYPTO_CMD_INSTR_SELDATA1DDATA0 << 0)
568 #define CRYPTO_CMD_INSTR_SELDATA2DDATA0 (_CRYPTO_CMD_INSTR_SELDATA2DDATA0 << 0)
569 #define CRYPTO_CMD_INSTR_SELDDATA0DDATA1 (_CRYPTO_CMD_INSTR_SELDDATA0DDATA1 << 0)
570 #define CRYPTO_CMD_INSTR_SELDDATA1DDATA1 (_CRYPTO_CMD_INSTR_SELDDATA1DDATA1 << 0)
571 #define CRYPTO_CMD_INSTR_SELDDATA2DDATA1 (_CRYPTO_CMD_INSTR_SELDDATA2DDATA1 << 0)
572 #define CRYPTO_CMD_INSTR_SELDDATA3DDATA1 (_CRYPTO_CMD_INSTR_SELDDATA3DDATA1 << 0)
573 #define CRYPTO_CMD_INSTR_SELDDATA4DDATA1 (_CRYPTO_CMD_INSTR_SELDDATA4DDATA1 << 0)
574 #define CRYPTO_CMD_INSTR_SELDATA0DDATA1 (_CRYPTO_CMD_INSTR_SELDATA0DDATA1 << 0)
575 #define CRYPTO_CMD_INSTR_SELDATA1DDATA1 (_CRYPTO_CMD_INSTR_SELDATA1DDATA1 << 0)
576 #define CRYPTO_CMD_INSTR_SELDATA2DDATA1 (_CRYPTO_CMD_INSTR_SELDATA2DDATA1 << 0)
577 #define CRYPTO_CMD_INSTR_SELDDATA0DDATA2 (_CRYPTO_CMD_INSTR_SELDDATA0DDATA2 << 0)
578 #define CRYPTO_CMD_INSTR_SELDDATA1DDATA2 (_CRYPTO_CMD_INSTR_SELDDATA1DDATA2 << 0)
579 #define CRYPTO_CMD_INSTR_SELDDATA2DDATA2 (_CRYPTO_CMD_INSTR_SELDDATA2DDATA2 << 0)
580 #define CRYPTO_CMD_INSTR_SELDDATA3DDATA2 (_CRYPTO_CMD_INSTR_SELDDATA3DDATA2 << 0)
581 #define CRYPTO_CMD_INSTR_SELDDATA4DDATA2 (_CRYPTO_CMD_INSTR_SELDDATA4DDATA2 << 0)
582 #define CRYPTO_CMD_INSTR_SELDATA0DDATA2 (_CRYPTO_CMD_INSTR_SELDATA0DDATA2 << 0)
583 #define CRYPTO_CMD_INSTR_SELDATA1DDATA2 (_CRYPTO_CMD_INSTR_SELDATA1DDATA2 << 0)
584 #define CRYPTO_CMD_INSTR_SELDATA2DDATA2 (_CRYPTO_CMD_INSTR_SELDATA2DDATA2 << 0)
585 #define CRYPTO_CMD_INSTR_SELDDATA0DDATA3 (_CRYPTO_CMD_INSTR_SELDDATA0DDATA3 << 0)
586 #define CRYPTO_CMD_INSTR_SELDDATA1DDATA3 (_CRYPTO_CMD_INSTR_SELDDATA1DDATA3 << 0)
587 #define CRYPTO_CMD_INSTR_SELDDATA2DDATA3 (_CRYPTO_CMD_INSTR_SELDDATA2DDATA3 << 0)
588 #define CRYPTO_CMD_INSTR_SELDDATA3DDATA3 (_CRYPTO_CMD_INSTR_SELDDATA3DDATA3 << 0)
589 #define CRYPTO_CMD_INSTR_SELDDATA4DDATA3 (_CRYPTO_CMD_INSTR_SELDDATA4DDATA3 << 0)
590 #define CRYPTO_CMD_INSTR_SELDATA0DDATA3 (_CRYPTO_CMD_INSTR_SELDATA0DDATA3 << 0)
591 #define CRYPTO_CMD_INSTR_SELDATA1DDATA3 (_CRYPTO_CMD_INSTR_SELDATA1DDATA3 << 0)
592 #define CRYPTO_CMD_INSTR_SELDATA2DDATA3 (_CRYPTO_CMD_INSTR_SELDATA2DDATA3 << 0)
593 #define CRYPTO_CMD_INSTR_SELDDATA0DDATA4 (_CRYPTO_CMD_INSTR_SELDDATA0DDATA4 << 0)
594 #define CRYPTO_CMD_INSTR_SELDDATA1DDATA4 (_CRYPTO_CMD_INSTR_SELDDATA1DDATA4 << 0)
595 #define CRYPTO_CMD_INSTR_SELDDATA2DDATA4 (_CRYPTO_CMD_INSTR_SELDDATA2DDATA4 << 0)
596 #define CRYPTO_CMD_INSTR_SELDDATA3DDATA4 (_CRYPTO_CMD_INSTR_SELDDATA3DDATA4 << 0)
597 #define CRYPTO_CMD_INSTR_SELDDATA4DDATA4 (_CRYPTO_CMD_INSTR_SELDDATA4DDATA4 << 0)
598 #define CRYPTO_CMD_INSTR_SELDATA0DDATA4 (_CRYPTO_CMD_INSTR_SELDATA0DDATA4 << 0)
599 #define CRYPTO_CMD_INSTR_SELDATA1DDATA4 (_CRYPTO_CMD_INSTR_SELDATA1DDATA4 << 0)
600 #define CRYPTO_CMD_INSTR_SELDATA2DDATA4 (_CRYPTO_CMD_INSTR_SELDATA2DDATA4 << 0)
601 #define CRYPTO_CMD_INSTR_SELDDATA0DATA0 (_CRYPTO_CMD_INSTR_SELDDATA0DATA0 << 0)
602 #define CRYPTO_CMD_INSTR_SELDDATA1DATA0 (_CRYPTO_CMD_INSTR_SELDDATA1DATA0 << 0)
603 #define CRYPTO_CMD_INSTR_SELDDATA2DATA0 (_CRYPTO_CMD_INSTR_SELDDATA2DATA0 << 0)
604 #define CRYPTO_CMD_INSTR_SELDDATA3DATA0 (_CRYPTO_CMD_INSTR_SELDDATA3DATA0 << 0)
605 #define CRYPTO_CMD_INSTR_SELDDATA4DATA0 (_CRYPTO_CMD_INSTR_SELDDATA4DATA0 << 0)
606 #define CRYPTO_CMD_INSTR_SELDATA0DATA0 (_CRYPTO_CMD_INSTR_SELDATA0DATA0 << 0)
607 #define CRYPTO_CMD_INSTR_SELDATA1DATA0 (_CRYPTO_CMD_INSTR_SELDATA1DATA0 << 0)
608 #define CRYPTO_CMD_INSTR_SELDATA2DATA0 (_CRYPTO_CMD_INSTR_SELDATA2DATA0 << 0)
609 #define CRYPTO_CMD_INSTR_SELDDATA0DATA1 (_CRYPTO_CMD_INSTR_SELDDATA0DATA1 << 0)
610 #define CRYPTO_CMD_INSTR_SELDDATA1DATA1 (_CRYPTO_CMD_INSTR_SELDDATA1DATA1 << 0)
611 #define CRYPTO_CMD_INSTR_SELDDATA2DATA1 (_CRYPTO_CMD_INSTR_SELDDATA2DATA1 << 0)
612 #define CRYPTO_CMD_INSTR_SELDDATA3DATA1 (_CRYPTO_CMD_INSTR_SELDDATA3DATA1 << 0)
613 #define CRYPTO_CMD_INSTR_SELDDATA4DATA1 (_CRYPTO_CMD_INSTR_SELDDATA4DATA1 << 0)
614 #define CRYPTO_CMD_INSTR_SELDATA0DATA1 (_CRYPTO_CMD_INSTR_SELDATA0DATA1 << 0)
615 #define CRYPTO_CMD_INSTR_SELDATA1DATA1 (_CRYPTO_CMD_INSTR_SELDATA1DATA1 << 0)
616 #define CRYPTO_CMD_INSTR_SELDATA2DATA1 (_CRYPTO_CMD_INSTR_SELDATA2DATA1 << 0)
617 #define CRYPTO_CMD_INSTR_EXECIFA (_CRYPTO_CMD_INSTR_EXECIFA << 0)
618 #define CRYPTO_CMD_INSTR_EXECIFB (_CRYPTO_CMD_INSTR_EXECIFB << 0)
619 #define CRYPTO_CMD_INSTR_EXECIFNLAST (_CRYPTO_CMD_INSTR_EXECIFNLAST << 0)
620 #define CRYPTO_CMD_INSTR_EXECIFLAST (_CRYPTO_CMD_INSTR_EXECIFLAST << 0)
621 #define CRYPTO_CMD_INSTR_EXECIFCARRY (_CRYPTO_CMD_INSTR_EXECIFCARRY << 0)
622 #define CRYPTO_CMD_INSTR_EXECIFNCARRY (_CRYPTO_CMD_INSTR_EXECIFNCARRY << 0)
623 #define CRYPTO_CMD_INSTR_EXECALWAYS (_CRYPTO_CMD_INSTR_EXECALWAYS << 0)
624 #define CRYPTO_CMD_SEQSTART (0x1UL << 9)
625 #define _CRYPTO_CMD_SEQSTART_SHIFT 9
626 #define _CRYPTO_CMD_SEQSTART_MASK 0x200UL
627 #define _CRYPTO_CMD_SEQSTART_DEFAULT 0x00000000UL
628 #define CRYPTO_CMD_SEQSTART_DEFAULT (_CRYPTO_CMD_SEQSTART_DEFAULT << 9)
629 #define CRYPTO_CMD_SEQSTOP (0x1UL << 10)
630 #define _CRYPTO_CMD_SEQSTOP_SHIFT 10
631 #define _CRYPTO_CMD_SEQSTOP_MASK 0x400UL
632 #define _CRYPTO_CMD_SEQSTOP_DEFAULT 0x00000000UL
633 #define CRYPTO_CMD_SEQSTOP_DEFAULT (_CRYPTO_CMD_SEQSTOP_DEFAULT << 10)
634 #define CRYPTO_CMD_SEQSTEP (0x1UL << 11)
635 #define _CRYPTO_CMD_SEQSTEP_SHIFT 11
636 #define _CRYPTO_CMD_SEQSTEP_MASK 0x800UL
637 #define _CRYPTO_CMD_SEQSTEP_DEFAULT 0x00000000UL
638 #define CRYPTO_CMD_SEQSTEP_DEFAULT (_CRYPTO_CMD_SEQSTEP_DEFAULT << 11)
640 /* Bit fields for CRYPTO STATUS */
641 #define _CRYPTO_STATUS_RESETVALUE 0x00000000UL
642 #define _CRYPTO_STATUS_MASK 0x00000007UL
643 #define CRYPTO_STATUS_SEQRUNNING (0x1UL << 0)
644 #define _CRYPTO_STATUS_SEQRUNNING_SHIFT 0
645 #define _CRYPTO_STATUS_SEQRUNNING_MASK 0x1UL
646 #define _CRYPTO_STATUS_SEQRUNNING_DEFAULT 0x00000000UL
647 #define CRYPTO_STATUS_SEQRUNNING_DEFAULT (_CRYPTO_STATUS_SEQRUNNING_DEFAULT << 0)
648 #define CRYPTO_STATUS_INSTRRUNNING (0x1UL << 1)
649 #define _CRYPTO_STATUS_INSTRRUNNING_SHIFT 1
650 #define _CRYPTO_STATUS_INSTRRUNNING_MASK 0x2UL
651 #define _CRYPTO_STATUS_INSTRRUNNING_DEFAULT 0x00000000UL
652 #define CRYPTO_STATUS_INSTRRUNNING_DEFAULT (_CRYPTO_STATUS_INSTRRUNNING_DEFAULT << 1)
653 #define CRYPTO_STATUS_DMAACTIVE (0x1UL << 2)
654 #define _CRYPTO_STATUS_DMAACTIVE_SHIFT 2
655 #define _CRYPTO_STATUS_DMAACTIVE_MASK 0x4UL
656 #define _CRYPTO_STATUS_DMAACTIVE_DEFAULT 0x00000000UL
657 #define CRYPTO_STATUS_DMAACTIVE_DEFAULT (_CRYPTO_STATUS_DMAACTIVE_DEFAULT << 2)
659 /* Bit fields for CRYPTO DSTATUS */
660 #define _CRYPTO_DSTATUS_RESETVALUE 0x00000000UL
661 #define _CRYPTO_DSTATUS_MASK 0x011F0F0FUL
662 #define _CRYPTO_DSTATUS_DATA0ZERO_SHIFT 0
663 #define _CRYPTO_DSTATUS_DATA0ZERO_MASK 0xFUL
664 #define _CRYPTO_DSTATUS_DATA0ZERO_DEFAULT 0x00000000UL
665 #define _CRYPTO_DSTATUS_DATA0ZERO_ZERO0TO31 0x00000001UL
666 #define _CRYPTO_DSTATUS_DATA0ZERO_ZERO32TO63 0x00000002UL
667 #define _CRYPTO_DSTATUS_DATA0ZERO_ZERO64TO95 0x00000004UL
668 #define _CRYPTO_DSTATUS_DATA0ZERO_ZERO96TO127 0x00000008UL
669 #define CRYPTO_DSTATUS_DATA0ZERO_DEFAULT (_CRYPTO_DSTATUS_DATA0ZERO_DEFAULT << 0)
670 #define CRYPTO_DSTATUS_DATA0ZERO_ZERO0TO31 (_CRYPTO_DSTATUS_DATA0ZERO_ZERO0TO31 << 0)
671 #define CRYPTO_DSTATUS_DATA0ZERO_ZERO32TO63 (_CRYPTO_DSTATUS_DATA0ZERO_ZERO32TO63 << 0)
672 #define CRYPTO_DSTATUS_DATA0ZERO_ZERO64TO95 (_CRYPTO_DSTATUS_DATA0ZERO_ZERO64TO95 << 0)
673 #define CRYPTO_DSTATUS_DATA0ZERO_ZERO96TO127 (_CRYPTO_DSTATUS_DATA0ZERO_ZERO96TO127 << 0)
674 #define _CRYPTO_DSTATUS_DDATA0LSBS_SHIFT 8
675 #define _CRYPTO_DSTATUS_DDATA0LSBS_MASK 0xF00UL
676 #define _CRYPTO_DSTATUS_DDATA0LSBS_DEFAULT 0x00000000UL
677 #define CRYPTO_DSTATUS_DDATA0LSBS_DEFAULT (_CRYPTO_DSTATUS_DDATA0LSBS_DEFAULT << 8)
678 #define _CRYPTO_DSTATUS_DDATA0MSBS_SHIFT 16
679 #define _CRYPTO_DSTATUS_DDATA0MSBS_MASK 0xF0000UL
680 #define _CRYPTO_DSTATUS_DDATA0MSBS_DEFAULT 0x00000000UL
681 #define CRYPTO_DSTATUS_DDATA0MSBS_DEFAULT (_CRYPTO_DSTATUS_DDATA0MSBS_DEFAULT << 16)
682 #define CRYPTO_DSTATUS_DDATA1MSB (0x1UL << 20)
683 #define _CRYPTO_DSTATUS_DDATA1MSB_SHIFT 20
684 #define _CRYPTO_DSTATUS_DDATA1MSB_MASK 0x100000UL
685 #define _CRYPTO_DSTATUS_DDATA1MSB_DEFAULT 0x00000000UL
686 #define CRYPTO_DSTATUS_DDATA1MSB_DEFAULT (_CRYPTO_DSTATUS_DDATA1MSB_DEFAULT << 20)
687 #define CRYPTO_DSTATUS_CARRY (0x1UL << 24)
688 #define _CRYPTO_DSTATUS_CARRY_SHIFT 24
689 #define _CRYPTO_DSTATUS_CARRY_MASK 0x1000000UL
690 #define _CRYPTO_DSTATUS_CARRY_DEFAULT 0x00000000UL
691 #define CRYPTO_DSTATUS_CARRY_DEFAULT (_CRYPTO_DSTATUS_CARRY_DEFAULT << 24)
693 /* Bit fields for CRYPTO CSTATUS */
694 #define _CRYPTO_CSTATUS_RESETVALUE 0x00000201UL
695 #define _CRYPTO_CSTATUS_MASK 0x01F30707UL
696 #define _CRYPTO_CSTATUS_V0_SHIFT 0
697 #define _CRYPTO_CSTATUS_V0_MASK 0x7UL
698 #define _CRYPTO_CSTATUS_V0_DDATA0 0x00000000UL
699 #define _CRYPTO_CSTATUS_V0_DEFAULT 0x00000001UL
700 #define _CRYPTO_CSTATUS_V0_DDATA1 0x00000001UL
701 #define _CRYPTO_CSTATUS_V0_DDATA2 0x00000002UL
702 #define _CRYPTO_CSTATUS_V0_DDATA3 0x00000003UL
703 #define _CRYPTO_CSTATUS_V0_DDATA4 0x00000004UL
704 #define _CRYPTO_CSTATUS_V0_DATA0 0x00000005UL
705 #define _CRYPTO_CSTATUS_V0_DATA1 0x00000006UL
706 #define _CRYPTO_CSTATUS_V0_DATA2 0x00000007UL
707 #define CRYPTO_CSTATUS_V0_DDATA0 (_CRYPTO_CSTATUS_V0_DDATA0 << 0)
708 #define CRYPTO_CSTATUS_V0_DEFAULT (_CRYPTO_CSTATUS_V0_DEFAULT << 0)
709 #define CRYPTO_CSTATUS_V0_DDATA1 (_CRYPTO_CSTATUS_V0_DDATA1 << 0)
710 #define CRYPTO_CSTATUS_V0_DDATA2 (_CRYPTO_CSTATUS_V0_DDATA2 << 0)
711 #define CRYPTO_CSTATUS_V0_DDATA3 (_CRYPTO_CSTATUS_V0_DDATA3 << 0)
712 #define CRYPTO_CSTATUS_V0_DDATA4 (_CRYPTO_CSTATUS_V0_DDATA4 << 0)
713 #define CRYPTO_CSTATUS_V0_DATA0 (_CRYPTO_CSTATUS_V0_DATA0 << 0)
714 #define CRYPTO_CSTATUS_V0_DATA1 (_CRYPTO_CSTATUS_V0_DATA1 << 0)
715 #define CRYPTO_CSTATUS_V0_DATA2 (_CRYPTO_CSTATUS_V0_DATA2 << 0)
716 #define _CRYPTO_CSTATUS_V1_SHIFT 8
717 #define _CRYPTO_CSTATUS_V1_MASK 0x700UL
718 #define _CRYPTO_CSTATUS_V1_DDATA0 0x00000000UL
719 #define _CRYPTO_CSTATUS_V1_DDATA1 0x00000001UL
720 #define _CRYPTO_CSTATUS_V1_DEFAULT 0x00000002UL
721 #define _CRYPTO_CSTATUS_V1_DDATA2 0x00000002UL
722 #define _CRYPTO_CSTATUS_V1_DDATA3 0x00000003UL
723 #define _CRYPTO_CSTATUS_V1_DDATA4 0x00000004UL
724 #define _CRYPTO_CSTATUS_V1_DATA0 0x00000005UL
725 #define _CRYPTO_CSTATUS_V1_DATA1 0x00000006UL
726 #define _CRYPTO_CSTATUS_V1_DATA2 0x00000007UL
727 #define CRYPTO_CSTATUS_V1_DDATA0 (_CRYPTO_CSTATUS_V1_DDATA0 << 8)
728 #define CRYPTO_CSTATUS_V1_DDATA1 (_CRYPTO_CSTATUS_V1_DDATA1 << 8)
729 #define CRYPTO_CSTATUS_V1_DEFAULT (_CRYPTO_CSTATUS_V1_DEFAULT << 8)
730 #define CRYPTO_CSTATUS_V1_DDATA2 (_CRYPTO_CSTATUS_V1_DDATA2 << 8)
731 #define CRYPTO_CSTATUS_V1_DDATA3 (_CRYPTO_CSTATUS_V1_DDATA3 << 8)
732 #define CRYPTO_CSTATUS_V1_DDATA4 (_CRYPTO_CSTATUS_V1_DDATA4 << 8)
733 #define CRYPTO_CSTATUS_V1_DATA0 (_CRYPTO_CSTATUS_V1_DATA0 << 8)
734 #define CRYPTO_CSTATUS_V1_DATA1 (_CRYPTO_CSTATUS_V1_DATA1 << 8)
735 #define CRYPTO_CSTATUS_V1_DATA2 (_CRYPTO_CSTATUS_V1_DATA2 << 8)
736 #define CRYPTO_CSTATUS_SEQPART (0x1UL << 16)
737 #define _CRYPTO_CSTATUS_SEQPART_SHIFT 16
738 #define _CRYPTO_CSTATUS_SEQPART_MASK 0x10000UL
739 #define _CRYPTO_CSTATUS_SEQPART_DEFAULT 0x00000000UL
740 #define _CRYPTO_CSTATUS_SEQPART_SEQA 0x00000000UL
741 #define _CRYPTO_CSTATUS_SEQPART_SEQB 0x00000001UL
742 #define CRYPTO_CSTATUS_SEQPART_DEFAULT (_CRYPTO_CSTATUS_SEQPART_DEFAULT << 16)
743 #define CRYPTO_CSTATUS_SEQPART_SEQA (_CRYPTO_CSTATUS_SEQPART_SEQA << 16)
744 #define CRYPTO_CSTATUS_SEQPART_SEQB (_CRYPTO_CSTATUS_SEQPART_SEQB << 16)
745 #define CRYPTO_CSTATUS_SEQSKIP (0x1UL << 17)
746 #define _CRYPTO_CSTATUS_SEQSKIP_SHIFT 17
747 #define _CRYPTO_CSTATUS_SEQSKIP_MASK 0x20000UL
748 #define _CRYPTO_CSTATUS_SEQSKIP_DEFAULT 0x00000000UL
749 #define CRYPTO_CSTATUS_SEQSKIP_DEFAULT (_CRYPTO_CSTATUS_SEQSKIP_DEFAULT << 17)
750 #define _CRYPTO_CSTATUS_SEQIP_SHIFT 20
751 #define _CRYPTO_CSTATUS_SEQIP_MASK 0x1F00000UL
752 #define _CRYPTO_CSTATUS_SEQIP_DEFAULT 0x00000000UL
753 #define CRYPTO_CSTATUS_SEQIP_DEFAULT (_CRYPTO_CSTATUS_SEQIP_DEFAULT << 20)
755 /* Bit fields for CRYPTO KEY */
756 #define _CRYPTO_KEY_RESETVALUE 0x00000000UL
757 #define _CRYPTO_KEY_MASK 0xFFFFFFFFUL
758 #define _CRYPTO_KEY_KEY_SHIFT 0
759 #define _CRYPTO_KEY_KEY_MASK 0xFFFFFFFFUL
760 #define _CRYPTO_KEY_KEY_DEFAULT 0x00000000UL
761 #define CRYPTO_KEY_KEY_DEFAULT (_CRYPTO_KEY_KEY_DEFAULT << 0)
763 /* Bit fields for CRYPTO KEYBUF */
764 #define _CRYPTO_KEYBUF_RESETVALUE 0x00000000UL
765 #define _CRYPTO_KEYBUF_MASK 0xFFFFFFFFUL
766 #define _CRYPTO_KEYBUF_KEYBUF_SHIFT 0
767 #define _CRYPTO_KEYBUF_KEYBUF_MASK 0xFFFFFFFFUL
768 #define _CRYPTO_KEYBUF_KEYBUF_DEFAULT 0x00000000UL
769 #define CRYPTO_KEYBUF_KEYBUF_DEFAULT (_CRYPTO_KEYBUF_KEYBUF_DEFAULT << 0)
771 /* Bit fields for CRYPTO SEQCTRL */
772 #define _CRYPTO_SEQCTRL_RESETVALUE 0x00000000UL
773 #define _CRYPTO_SEQCTRL_MASK 0xBF303FFFUL
774 #define _CRYPTO_SEQCTRL_LENGTHA_SHIFT 0
775 #define _CRYPTO_SEQCTRL_LENGTHA_MASK 0x3FFFUL
776 #define _CRYPTO_SEQCTRL_LENGTHA_DEFAULT 0x00000000UL
777 #define CRYPTO_SEQCTRL_LENGTHA_DEFAULT (_CRYPTO_SEQCTRL_LENGTHA_DEFAULT << 0)
778 #define _CRYPTO_SEQCTRL_BLOCKSIZE_SHIFT 20
779 #define _CRYPTO_SEQCTRL_BLOCKSIZE_MASK 0x300000UL
780 #define _CRYPTO_SEQCTRL_BLOCKSIZE_DEFAULT 0x00000000UL
781 #define _CRYPTO_SEQCTRL_BLOCKSIZE_16BYTES 0x00000000UL
782 #define _CRYPTO_SEQCTRL_BLOCKSIZE_32BYTES 0x00000001UL
783 #define _CRYPTO_SEQCTRL_BLOCKSIZE_64BYTES 0x00000002UL
784 #define CRYPTO_SEQCTRL_BLOCKSIZE_DEFAULT (_CRYPTO_SEQCTRL_BLOCKSIZE_DEFAULT << 20)
785 #define CRYPTO_SEQCTRL_BLOCKSIZE_16BYTES (_CRYPTO_SEQCTRL_BLOCKSIZE_16BYTES << 20)
786 #define CRYPTO_SEQCTRL_BLOCKSIZE_32BYTES (_CRYPTO_SEQCTRL_BLOCKSIZE_32BYTES << 20)
787 #define CRYPTO_SEQCTRL_BLOCKSIZE_64BYTES (_CRYPTO_SEQCTRL_BLOCKSIZE_64BYTES << 20)
788 #define _CRYPTO_SEQCTRL_DMA0SKIP_SHIFT 24
789 #define _CRYPTO_SEQCTRL_DMA0SKIP_MASK 0x3000000UL
790 #define _CRYPTO_SEQCTRL_DMA0SKIP_DEFAULT 0x00000000UL
791 #define CRYPTO_SEQCTRL_DMA0SKIP_DEFAULT (_CRYPTO_SEQCTRL_DMA0SKIP_DEFAULT << 24)
792 #define _CRYPTO_SEQCTRL_DMA1SKIP_SHIFT 26
793 #define _CRYPTO_SEQCTRL_DMA1SKIP_MASK 0xC000000UL
794 #define _CRYPTO_SEQCTRL_DMA1SKIP_DEFAULT 0x00000000UL
795 #define CRYPTO_SEQCTRL_DMA1SKIP_DEFAULT (_CRYPTO_SEQCTRL_DMA1SKIP_DEFAULT << 26)
796 #define CRYPTO_SEQCTRL_DMA0PRESA (0x1UL << 28)
797 #define _CRYPTO_SEQCTRL_DMA0PRESA_SHIFT 28
798 #define _CRYPTO_SEQCTRL_DMA0PRESA_MASK 0x10000000UL
799 #define _CRYPTO_SEQCTRL_DMA0PRESA_DEFAULT 0x00000000UL
800 #define CRYPTO_SEQCTRL_DMA0PRESA_DEFAULT (_CRYPTO_SEQCTRL_DMA0PRESA_DEFAULT << 28)
801 #define CRYPTO_SEQCTRL_DMA1PRESA (0x1UL << 29)
802 #define _CRYPTO_SEQCTRL_DMA1PRESA_SHIFT 29
803 #define _CRYPTO_SEQCTRL_DMA1PRESA_MASK 0x20000000UL
804 #define _CRYPTO_SEQCTRL_DMA1PRESA_DEFAULT 0x00000000UL
805 #define CRYPTO_SEQCTRL_DMA1PRESA_DEFAULT (_CRYPTO_SEQCTRL_DMA1PRESA_DEFAULT << 29)
806 #define CRYPTO_SEQCTRL_HALT (0x1UL << 31)
807 #define _CRYPTO_SEQCTRL_HALT_SHIFT 31
808 #define _CRYPTO_SEQCTRL_HALT_MASK 0x80000000UL
809 #define _CRYPTO_SEQCTRL_HALT_DEFAULT 0x00000000UL
810 #define CRYPTO_SEQCTRL_HALT_DEFAULT (_CRYPTO_SEQCTRL_HALT_DEFAULT << 31)
812 /* Bit fields for CRYPTO SEQCTRLB */
813 #define _CRYPTO_SEQCTRLB_RESETVALUE 0x00000000UL
814 #define _CRYPTO_SEQCTRLB_MASK 0x30003FFFUL
815 #define _CRYPTO_SEQCTRLB_LENGTHB_SHIFT 0
816 #define _CRYPTO_SEQCTRLB_LENGTHB_MASK 0x3FFFUL
817 #define _CRYPTO_SEQCTRLB_LENGTHB_DEFAULT 0x00000000UL
818 #define CRYPTO_SEQCTRLB_LENGTHB_DEFAULT (_CRYPTO_SEQCTRLB_LENGTHB_DEFAULT << 0)
819 #define CRYPTO_SEQCTRLB_DMA0PRESB (0x1UL << 28)
820 #define _CRYPTO_SEQCTRLB_DMA0PRESB_SHIFT 28
821 #define _CRYPTO_SEQCTRLB_DMA0PRESB_MASK 0x10000000UL
822 #define _CRYPTO_SEQCTRLB_DMA0PRESB_DEFAULT 0x00000000UL
823 #define CRYPTO_SEQCTRLB_DMA0PRESB_DEFAULT (_CRYPTO_SEQCTRLB_DMA0PRESB_DEFAULT << 28)
824 #define CRYPTO_SEQCTRLB_DMA1PRESB (0x1UL << 29)
825 #define _CRYPTO_SEQCTRLB_DMA1PRESB_SHIFT 29
826 #define _CRYPTO_SEQCTRLB_DMA1PRESB_MASK 0x20000000UL
827 #define _CRYPTO_SEQCTRLB_DMA1PRESB_DEFAULT 0x00000000UL
828 #define CRYPTO_SEQCTRLB_DMA1PRESB_DEFAULT (_CRYPTO_SEQCTRLB_DMA1PRESB_DEFAULT << 29)
830 /* Bit fields for CRYPTO IF */
831 #define _CRYPTO_IF_RESETVALUE 0x00000000UL
832 #define _CRYPTO_IF_MASK 0x00000003UL
833 #define CRYPTO_IF_INSTRDONE (0x1UL << 0)
834 #define _CRYPTO_IF_INSTRDONE_SHIFT 0
835 #define _CRYPTO_IF_INSTRDONE_MASK 0x1UL
836 #define _CRYPTO_IF_INSTRDONE_DEFAULT 0x00000000UL
837 #define CRYPTO_IF_INSTRDONE_DEFAULT (_CRYPTO_IF_INSTRDONE_DEFAULT << 0)
838 #define CRYPTO_IF_SEQDONE (0x1UL << 1)
839 #define _CRYPTO_IF_SEQDONE_SHIFT 1
840 #define _CRYPTO_IF_SEQDONE_MASK 0x2UL
841 #define _CRYPTO_IF_SEQDONE_DEFAULT 0x00000000UL
842 #define CRYPTO_IF_SEQDONE_DEFAULT (_CRYPTO_IF_SEQDONE_DEFAULT << 1)
844 /* Bit fields for CRYPTO IFS */
845 #define _CRYPTO_IFS_RESETVALUE 0x00000000UL
846 #define _CRYPTO_IFS_MASK 0x00000003UL
847 #define CRYPTO_IFS_INSTRDONE (0x1UL << 0)
848 #define _CRYPTO_IFS_INSTRDONE_SHIFT 0
849 #define _CRYPTO_IFS_INSTRDONE_MASK 0x1UL
850 #define _CRYPTO_IFS_INSTRDONE_DEFAULT 0x00000000UL
851 #define CRYPTO_IFS_INSTRDONE_DEFAULT (_CRYPTO_IFS_INSTRDONE_DEFAULT << 0)
852 #define CRYPTO_IFS_SEQDONE (0x1UL << 1)
853 #define _CRYPTO_IFS_SEQDONE_SHIFT 1
854 #define _CRYPTO_IFS_SEQDONE_MASK 0x2UL
855 #define _CRYPTO_IFS_SEQDONE_DEFAULT 0x00000000UL
856 #define CRYPTO_IFS_SEQDONE_DEFAULT (_CRYPTO_IFS_SEQDONE_DEFAULT << 1)
858 /* Bit fields for CRYPTO IFC */
859 #define _CRYPTO_IFC_RESETVALUE 0x00000000UL
860 #define _CRYPTO_IFC_MASK 0x00000003UL
861 #define CRYPTO_IFC_INSTRDONE (0x1UL << 0)
862 #define _CRYPTO_IFC_INSTRDONE_SHIFT 0
863 #define _CRYPTO_IFC_INSTRDONE_MASK 0x1UL
864 #define _CRYPTO_IFC_INSTRDONE_DEFAULT 0x00000000UL
865 #define CRYPTO_IFC_INSTRDONE_DEFAULT (_CRYPTO_IFC_INSTRDONE_DEFAULT << 0)
866 #define CRYPTO_IFC_SEQDONE (0x1UL << 1)
867 #define _CRYPTO_IFC_SEQDONE_SHIFT 1
868 #define _CRYPTO_IFC_SEQDONE_MASK 0x2UL
869 #define _CRYPTO_IFC_SEQDONE_DEFAULT 0x00000000UL
870 #define CRYPTO_IFC_SEQDONE_DEFAULT (_CRYPTO_IFC_SEQDONE_DEFAULT << 1)
872 /* Bit fields for CRYPTO IEN */
873 #define _CRYPTO_IEN_RESETVALUE 0x00000000UL
874 #define _CRYPTO_IEN_MASK 0x00000003UL
875 #define CRYPTO_IEN_INSTRDONE (0x1UL << 0)
876 #define _CRYPTO_IEN_INSTRDONE_SHIFT 0
877 #define _CRYPTO_IEN_INSTRDONE_MASK 0x1UL
878 #define _CRYPTO_IEN_INSTRDONE_DEFAULT 0x00000000UL
879 #define CRYPTO_IEN_INSTRDONE_DEFAULT (_CRYPTO_IEN_INSTRDONE_DEFAULT << 0)
880 #define CRYPTO_IEN_SEQDONE (0x1UL << 1)
881 #define _CRYPTO_IEN_SEQDONE_SHIFT 1
882 #define _CRYPTO_IEN_SEQDONE_MASK 0x2UL
883 #define _CRYPTO_IEN_SEQDONE_DEFAULT 0x00000000UL
884 #define CRYPTO_IEN_SEQDONE_DEFAULT (_CRYPTO_IEN_SEQDONE_DEFAULT << 1)
886 /* Bit fields for CRYPTO SEQ0 */
887 #define _CRYPTO_SEQ0_RESETVALUE 0x00000000UL
888 #define _CRYPTO_SEQ0_MASK 0xFFFFFFFFUL
889 #define _CRYPTO_SEQ0_INSTR0_SHIFT 0
890 #define _CRYPTO_SEQ0_INSTR0_MASK 0xFFUL
891 #define _CRYPTO_SEQ0_INSTR0_DEFAULT 0x00000000UL
892 #define CRYPTO_SEQ0_INSTR0_DEFAULT (_CRYPTO_SEQ0_INSTR0_DEFAULT << 0)
893 #define _CRYPTO_SEQ0_INSTR1_SHIFT 8
894 #define _CRYPTO_SEQ0_INSTR1_MASK 0xFF00UL
895 #define _CRYPTO_SEQ0_INSTR1_DEFAULT 0x00000000UL
896 #define CRYPTO_SEQ0_INSTR1_DEFAULT (_CRYPTO_SEQ0_INSTR1_DEFAULT << 8)
897 #define _CRYPTO_SEQ0_INSTR2_SHIFT 16
898 #define _CRYPTO_SEQ0_INSTR2_MASK 0xFF0000UL
899 #define _CRYPTO_SEQ0_INSTR2_DEFAULT 0x00000000UL
900 #define CRYPTO_SEQ0_INSTR2_DEFAULT (_CRYPTO_SEQ0_INSTR2_DEFAULT << 16)
901 #define _CRYPTO_SEQ0_INSTR3_SHIFT 24
902 #define _CRYPTO_SEQ0_INSTR3_MASK 0xFF000000UL
903 #define _CRYPTO_SEQ0_INSTR3_DEFAULT 0x00000000UL
904 #define CRYPTO_SEQ0_INSTR3_DEFAULT (_CRYPTO_SEQ0_INSTR3_DEFAULT << 24)
906 /* Bit fields for CRYPTO SEQ1 */
907 #define _CRYPTO_SEQ1_RESETVALUE 0x00000000UL
908 #define _CRYPTO_SEQ1_MASK 0xFFFFFFFFUL
909 #define _CRYPTO_SEQ1_INSTR4_SHIFT 0
910 #define _CRYPTO_SEQ1_INSTR4_MASK 0xFFUL
911 #define _CRYPTO_SEQ1_INSTR4_DEFAULT 0x00000000UL
912 #define CRYPTO_SEQ1_INSTR4_DEFAULT (_CRYPTO_SEQ1_INSTR4_DEFAULT << 0)
913 #define _CRYPTO_SEQ1_INSTR5_SHIFT 8
914 #define _CRYPTO_SEQ1_INSTR5_MASK 0xFF00UL
915 #define _CRYPTO_SEQ1_INSTR5_DEFAULT 0x00000000UL
916 #define CRYPTO_SEQ1_INSTR5_DEFAULT (_CRYPTO_SEQ1_INSTR5_DEFAULT << 8)
917 #define _CRYPTO_SEQ1_INSTR6_SHIFT 16
918 #define _CRYPTO_SEQ1_INSTR6_MASK 0xFF0000UL
919 #define _CRYPTO_SEQ1_INSTR6_DEFAULT 0x00000000UL
920 #define CRYPTO_SEQ1_INSTR6_DEFAULT (_CRYPTO_SEQ1_INSTR6_DEFAULT << 16)
921 #define _CRYPTO_SEQ1_INSTR7_SHIFT 24
922 #define _CRYPTO_SEQ1_INSTR7_MASK 0xFF000000UL
923 #define _CRYPTO_SEQ1_INSTR7_DEFAULT 0x00000000UL
924 #define CRYPTO_SEQ1_INSTR7_DEFAULT (_CRYPTO_SEQ1_INSTR7_DEFAULT << 24)
926 /* Bit fields for CRYPTO SEQ2 */
927 #define _CRYPTO_SEQ2_RESETVALUE 0x00000000UL
928 #define _CRYPTO_SEQ2_MASK 0xFFFFFFFFUL
929 #define _CRYPTO_SEQ2_INSTR8_SHIFT 0
930 #define _CRYPTO_SEQ2_INSTR8_MASK 0xFFUL
931 #define _CRYPTO_SEQ2_INSTR8_DEFAULT 0x00000000UL
932 #define CRYPTO_SEQ2_INSTR8_DEFAULT (_CRYPTO_SEQ2_INSTR8_DEFAULT << 0)
933 #define _CRYPTO_SEQ2_INSTR9_SHIFT 8
934 #define _CRYPTO_SEQ2_INSTR9_MASK 0xFF00UL
935 #define _CRYPTO_SEQ2_INSTR9_DEFAULT 0x00000000UL
936 #define CRYPTO_SEQ2_INSTR9_DEFAULT (_CRYPTO_SEQ2_INSTR9_DEFAULT << 8)
937 #define _CRYPTO_SEQ2_INSTR10_SHIFT 16
938 #define _CRYPTO_SEQ2_INSTR10_MASK 0xFF0000UL
939 #define _CRYPTO_SEQ2_INSTR10_DEFAULT 0x00000000UL
940 #define CRYPTO_SEQ2_INSTR10_DEFAULT (_CRYPTO_SEQ2_INSTR10_DEFAULT << 16)
941 #define _CRYPTO_SEQ2_INSTR11_SHIFT 24
942 #define _CRYPTO_SEQ2_INSTR11_MASK 0xFF000000UL
943 #define _CRYPTO_SEQ2_INSTR11_DEFAULT 0x00000000UL
944 #define CRYPTO_SEQ2_INSTR11_DEFAULT (_CRYPTO_SEQ2_INSTR11_DEFAULT << 24)
946 /* Bit fields for CRYPTO SEQ3 */
947 #define _CRYPTO_SEQ3_RESETVALUE 0x00000000UL
948 #define _CRYPTO_SEQ3_MASK 0xFFFFFFFFUL
949 #define _CRYPTO_SEQ3_INSTR12_SHIFT 0
950 #define _CRYPTO_SEQ3_INSTR12_MASK 0xFFUL
951 #define _CRYPTO_SEQ3_INSTR12_DEFAULT 0x00000000UL
952 #define CRYPTO_SEQ3_INSTR12_DEFAULT (_CRYPTO_SEQ3_INSTR12_DEFAULT << 0)
953 #define _CRYPTO_SEQ3_INSTR13_SHIFT 8
954 #define _CRYPTO_SEQ3_INSTR13_MASK 0xFF00UL
955 #define _CRYPTO_SEQ3_INSTR13_DEFAULT 0x00000000UL
956 #define CRYPTO_SEQ3_INSTR13_DEFAULT (_CRYPTO_SEQ3_INSTR13_DEFAULT << 8)
957 #define _CRYPTO_SEQ3_INSTR14_SHIFT 16
958 #define _CRYPTO_SEQ3_INSTR14_MASK 0xFF0000UL
959 #define _CRYPTO_SEQ3_INSTR14_DEFAULT 0x00000000UL
960 #define CRYPTO_SEQ3_INSTR14_DEFAULT (_CRYPTO_SEQ3_INSTR14_DEFAULT << 16)
961 #define _CRYPTO_SEQ3_INSTR15_SHIFT 24
962 #define _CRYPTO_SEQ3_INSTR15_MASK 0xFF000000UL
963 #define _CRYPTO_SEQ3_INSTR15_DEFAULT 0x00000000UL
964 #define CRYPTO_SEQ3_INSTR15_DEFAULT (_CRYPTO_SEQ3_INSTR15_DEFAULT << 24)
966 /* Bit fields for CRYPTO SEQ4 */
967 #define _CRYPTO_SEQ4_RESETVALUE 0x00000000UL
968 #define _CRYPTO_SEQ4_MASK 0xFFFFFFFFUL
969 #define _CRYPTO_SEQ4_INSTR16_SHIFT 0
970 #define _CRYPTO_SEQ4_INSTR16_MASK 0xFFUL
971 #define _CRYPTO_SEQ4_INSTR16_DEFAULT 0x00000000UL
972 #define CRYPTO_SEQ4_INSTR16_DEFAULT (_CRYPTO_SEQ4_INSTR16_DEFAULT << 0)
973 #define _CRYPTO_SEQ4_INSTR17_SHIFT 8
974 #define _CRYPTO_SEQ4_INSTR17_MASK 0xFF00UL
975 #define _CRYPTO_SEQ4_INSTR17_DEFAULT 0x00000000UL
976 #define CRYPTO_SEQ4_INSTR17_DEFAULT (_CRYPTO_SEQ4_INSTR17_DEFAULT << 8)
977 #define _CRYPTO_SEQ4_INSTR18_SHIFT 16
978 #define _CRYPTO_SEQ4_INSTR18_MASK 0xFF0000UL
979 #define _CRYPTO_SEQ4_INSTR18_DEFAULT 0x00000000UL
980 #define CRYPTO_SEQ4_INSTR18_DEFAULT (_CRYPTO_SEQ4_INSTR18_DEFAULT << 16)
981 #define _CRYPTO_SEQ4_INSTR19_SHIFT 24
982 #define _CRYPTO_SEQ4_INSTR19_MASK 0xFF000000UL
983 #define _CRYPTO_SEQ4_INSTR19_DEFAULT 0x00000000UL
984 #define CRYPTO_SEQ4_INSTR19_DEFAULT (_CRYPTO_SEQ4_INSTR19_DEFAULT << 24)
986 /* Bit fields for CRYPTO DATA0 */
987 #define _CRYPTO_DATA0_RESETVALUE 0x00000000UL
988 #define _CRYPTO_DATA0_MASK 0xFFFFFFFFUL
989 #define _CRYPTO_DATA0_DATA0_SHIFT 0
990 #define _CRYPTO_DATA0_DATA0_MASK 0xFFFFFFFFUL
991 #define _CRYPTO_DATA0_DATA0_DEFAULT 0x00000000UL
992 #define CRYPTO_DATA0_DATA0_DEFAULT (_CRYPTO_DATA0_DATA0_DEFAULT << 0)
994 /* Bit fields for CRYPTO DATA1 */
995 #define _CRYPTO_DATA1_RESETVALUE 0x00000000UL
996 #define _CRYPTO_DATA1_MASK 0xFFFFFFFFUL
997 #define _CRYPTO_DATA1_DATA1_SHIFT 0
998 #define _CRYPTO_DATA1_DATA1_MASK 0xFFFFFFFFUL
999 #define _CRYPTO_DATA1_DATA1_DEFAULT 0x00000000UL
1000 #define CRYPTO_DATA1_DATA1_DEFAULT (_CRYPTO_DATA1_DATA1_DEFAULT << 0)
1002 /* Bit fields for CRYPTO DATA2 */
1003 #define _CRYPTO_DATA2_RESETVALUE 0x00000000UL
1004 #define _CRYPTO_DATA2_MASK 0xFFFFFFFFUL
1005 #define _CRYPTO_DATA2_DATA2_SHIFT 0
1006 #define _CRYPTO_DATA2_DATA2_MASK 0xFFFFFFFFUL
1007 #define _CRYPTO_DATA2_DATA2_DEFAULT 0x00000000UL
1008 #define CRYPTO_DATA2_DATA2_DEFAULT (_CRYPTO_DATA2_DATA2_DEFAULT << 0)
1010 /* Bit fields for CRYPTO DATA3 */
1011 #define _CRYPTO_DATA3_RESETVALUE 0x00000000UL
1012 #define _CRYPTO_DATA3_MASK 0xFFFFFFFFUL
1013 #define _CRYPTO_DATA3_DATA3_SHIFT 0
1014 #define _CRYPTO_DATA3_DATA3_MASK 0xFFFFFFFFUL
1015 #define _CRYPTO_DATA3_DATA3_DEFAULT 0x00000000UL
1016 #define CRYPTO_DATA3_DATA3_DEFAULT (_CRYPTO_DATA3_DATA3_DEFAULT << 0)
1018 /* Bit fields for CRYPTO DATA0XOR */
1019 #define _CRYPTO_DATA0XOR_RESETVALUE 0x00000000UL
1020 #define _CRYPTO_DATA0XOR_MASK 0xFFFFFFFFUL
1021 #define _CRYPTO_DATA0XOR_DATA0XOR_SHIFT 0
1022 #define _CRYPTO_DATA0XOR_DATA0XOR_MASK 0xFFFFFFFFUL
1023 #define _CRYPTO_DATA0XOR_DATA0XOR_DEFAULT 0x00000000UL
1024 #define CRYPTO_DATA0XOR_DATA0XOR_DEFAULT (_CRYPTO_DATA0XOR_DATA0XOR_DEFAULT << 0)
1026 /* Bit fields for CRYPTO DATA0BYTE */
1027 #define _CRYPTO_DATA0BYTE_RESETVALUE 0x00000000UL
1028 #define _CRYPTO_DATA0BYTE_MASK 0x000000FFUL
1029 #define _CRYPTO_DATA0BYTE_DATA0BYTE_SHIFT 0
1030 #define _CRYPTO_DATA0BYTE_DATA0BYTE_MASK 0xFFUL
1031 #define _CRYPTO_DATA0BYTE_DATA0BYTE_DEFAULT 0x00000000UL
1032 #define CRYPTO_DATA0BYTE_DATA0BYTE_DEFAULT (_CRYPTO_DATA0BYTE_DATA0BYTE_DEFAULT << 0)
1034 /* Bit fields for CRYPTO DATA1BYTE */
1035 #define _CRYPTO_DATA1BYTE_RESETVALUE 0x00000000UL
1036 #define _CRYPTO_DATA1BYTE_MASK 0x000000FFUL
1037 #define _CRYPTO_DATA1BYTE_DATA1BYTE_SHIFT 0
1038 #define _CRYPTO_DATA1BYTE_DATA1BYTE_MASK 0xFFUL
1039 #define _CRYPTO_DATA1BYTE_DATA1BYTE_DEFAULT 0x00000000UL
1040 #define CRYPTO_DATA1BYTE_DATA1BYTE_DEFAULT (_CRYPTO_DATA1BYTE_DATA1BYTE_DEFAULT << 0)
1042 /* Bit fields for CRYPTO DATA0XORBYTE */
1043 #define _CRYPTO_DATA0XORBYTE_RESETVALUE 0x00000000UL
1044 #define _CRYPTO_DATA0XORBYTE_MASK 0x000000FFUL
1045 #define _CRYPTO_DATA0XORBYTE_DATA0XORBYTE_SHIFT 0
1046 #define _CRYPTO_DATA0XORBYTE_DATA0XORBYTE_MASK 0xFFUL
1047 #define _CRYPTO_DATA0XORBYTE_DATA0XORBYTE_DEFAULT 0x00000000UL
1048 #define CRYPTO_DATA0XORBYTE_DATA0XORBYTE_DEFAULT (_CRYPTO_DATA0XORBYTE_DATA0XORBYTE_DEFAULT << 0)
1050 /* Bit fields for CRYPTO DATA0BYTE12 */
1051 #define _CRYPTO_DATA0BYTE12_RESETVALUE 0x00000000UL
1052 #define _CRYPTO_DATA0BYTE12_MASK 0x000000FFUL
1053 #define _CRYPTO_DATA0BYTE12_DATA0BYTE12_SHIFT 0
1054 #define _CRYPTO_DATA0BYTE12_DATA0BYTE12_MASK 0xFFUL
1055 #define _CRYPTO_DATA0BYTE12_DATA0BYTE12_DEFAULT 0x00000000UL
1056 #define CRYPTO_DATA0BYTE12_DATA0BYTE12_DEFAULT (_CRYPTO_DATA0BYTE12_DATA0BYTE12_DEFAULT << 0)
1058 /* Bit fields for CRYPTO DATA0BYTE13 */
1059 #define _CRYPTO_DATA0BYTE13_RESETVALUE 0x00000000UL
1060 #define _CRYPTO_DATA0BYTE13_MASK 0x000000FFUL
1061 #define _CRYPTO_DATA0BYTE13_DATA0BYTE13_SHIFT 0
1062 #define _CRYPTO_DATA0BYTE13_DATA0BYTE13_MASK 0xFFUL
1063 #define _CRYPTO_DATA0BYTE13_DATA0BYTE13_DEFAULT 0x00000000UL
1064 #define CRYPTO_DATA0BYTE13_DATA0BYTE13_DEFAULT (_CRYPTO_DATA0BYTE13_DATA0BYTE13_DEFAULT << 0)
1066 /* Bit fields for CRYPTO DATA0BYTE14 */
1067 #define _CRYPTO_DATA0BYTE14_RESETVALUE 0x00000000UL
1068 #define _CRYPTO_DATA0BYTE14_MASK 0x000000FFUL
1069 #define _CRYPTO_DATA0BYTE14_DATA0BYTE14_SHIFT 0
1070 #define _CRYPTO_DATA0BYTE14_DATA0BYTE14_MASK 0xFFUL
1071 #define _CRYPTO_DATA0BYTE14_DATA0BYTE14_DEFAULT 0x00000000UL
1072 #define CRYPTO_DATA0BYTE14_DATA0BYTE14_DEFAULT (_CRYPTO_DATA0BYTE14_DATA0BYTE14_DEFAULT << 0)
1074 /* Bit fields for CRYPTO DATA0BYTE15 */
1075 #define _CRYPTO_DATA0BYTE15_RESETVALUE 0x00000000UL
1076 #define _CRYPTO_DATA0BYTE15_MASK 0x000000FFUL
1077 #define _CRYPTO_DATA0BYTE15_DATA0BYTE15_SHIFT 0
1078 #define _CRYPTO_DATA0BYTE15_DATA0BYTE15_MASK 0xFFUL
1079 #define _CRYPTO_DATA0BYTE15_DATA0BYTE15_DEFAULT 0x00000000UL
1080 #define CRYPTO_DATA0BYTE15_DATA0BYTE15_DEFAULT (_CRYPTO_DATA0BYTE15_DATA0BYTE15_DEFAULT << 0)
1082 /* Bit fields for CRYPTO DDATA0 */
1083 #define _CRYPTO_DDATA0_RESETVALUE 0x00000000UL
1084 #define _CRYPTO_DDATA0_MASK 0xFFFFFFFFUL
1085 #define _CRYPTO_DDATA0_DDATA0_SHIFT 0
1086 #define _CRYPTO_DDATA0_DDATA0_MASK 0xFFFFFFFFUL
1087 #define _CRYPTO_DDATA0_DDATA0_DEFAULT 0x00000000UL
1088 #define CRYPTO_DDATA0_DDATA0_DEFAULT (_CRYPTO_DDATA0_DDATA0_DEFAULT << 0)
1090 /* Bit fields for CRYPTO DDATA1 */
1091 #define _CRYPTO_DDATA1_RESETVALUE 0x00000000UL
1092 #define _CRYPTO_DDATA1_MASK 0xFFFFFFFFUL
1093 #define _CRYPTO_DDATA1_DDATA1_SHIFT 0
1094 #define _CRYPTO_DDATA1_DDATA1_MASK 0xFFFFFFFFUL
1095 #define _CRYPTO_DDATA1_DDATA1_DEFAULT 0x00000000UL
1096 #define CRYPTO_DDATA1_DDATA1_DEFAULT (_CRYPTO_DDATA1_DDATA1_DEFAULT << 0)
1098 /* Bit fields for CRYPTO DDATA2 */
1099 #define _CRYPTO_DDATA2_RESETVALUE 0x00000000UL
1100 #define _CRYPTO_DDATA2_MASK 0xFFFFFFFFUL
1101 #define _CRYPTO_DDATA2_DDATA2_SHIFT 0
1102 #define _CRYPTO_DDATA2_DDATA2_MASK 0xFFFFFFFFUL
1103 #define _CRYPTO_DDATA2_DDATA2_DEFAULT 0x00000000UL
1104 #define CRYPTO_DDATA2_DDATA2_DEFAULT (_CRYPTO_DDATA2_DDATA2_DEFAULT << 0)
1106 /* Bit fields for CRYPTO DDATA3 */
1107 #define _CRYPTO_DDATA3_RESETVALUE 0x00000000UL
1108 #define _CRYPTO_DDATA3_MASK 0xFFFFFFFFUL
1109 #define _CRYPTO_DDATA3_DDATA3_SHIFT 0
1110 #define _CRYPTO_DDATA3_DDATA3_MASK 0xFFFFFFFFUL
1111 #define _CRYPTO_DDATA3_DDATA3_DEFAULT 0x00000000UL
1112 #define CRYPTO_DDATA3_DDATA3_DEFAULT (_CRYPTO_DDATA3_DDATA3_DEFAULT << 0)
1114 /* Bit fields for CRYPTO DDATA4 */
1115 #define _CRYPTO_DDATA4_RESETVALUE 0x00000000UL
1116 #define _CRYPTO_DDATA4_MASK 0xFFFFFFFFUL
1117 #define _CRYPTO_DDATA4_DDATA4_SHIFT 0
1118 #define _CRYPTO_DDATA4_DDATA4_MASK 0xFFFFFFFFUL
1119 #define _CRYPTO_DDATA4_DDATA4_DEFAULT 0x00000000UL
1120 #define CRYPTO_DDATA4_DDATA4_DEFAULT (_CRYPTO_DDATA4_DDATA4_DEFAULT << 0)
1122 /* Bit fields for CRYPTO DDATA0BIG */
1123 #define _CRYPTO_DDATA0BIG_RESETVALUE 0x00000000UL
1124 #define _CRYPTO_DDATA0BIG_MASK 0xFFFFFFFFUL
1125 #define _CRYPTO_DDATA0BIG_DDATA0BIG_SHIFT 0
1126 #define _CRYPTO_DDATA0BIG_DDATA0BIG_MASK 0xFFFFFFFFUL
1127 #define _CRYPTO_DDATA0BIG_DDATA0BIG_DEFAULT 0x00000000UL
1128 #define CRYPTO_DDATA0BIG_DDATA0BIG_DEFAULT (_CRYPTO_DDATA0BIG_DDATA0BIG_DEFAULT << 0)
1130 /* Bit fields for CRYPTO DDATA0BYTE */
1131 #define _CRYPTO_DDATA0BYTE_RESETVALUE 0x00000000UL
1132 #define _CRYPTO_DDATA0BYTE_MASK 0x000000FFUL
1133 #define _CRYPTO_DDATA0BYTE_DDATA0BYTE_SHIFT 0
1134 #define _CRYPTO_DDATA0BYTE_DDATA0BYTE_MASK 0xFFUL
1135 #define _CRYPTO_DDATA0BYTE_DDATA0BYTE_DEFAULT 0x00000000UL
1136 #define CRYPTO_DDATA0BYTE_DDATA0BYTE_DEFAULT (_CRYPTO_DDATA0BYTE_DDATA0BYTE_DEFAULT << 0)
1138 /* Bit fields for CRYPTO DDATA1BYTE */
1139 #define _CRYPTO_DDATA1BYTE_RESETVALUE 0x00000000UL
1140 #define _CRYPTO_DDATA1BYTE_MASK 0x000000FFUL
1141 #define _CRYPTO_DDATA1BYTE_DDATA1BYTE_SHIFT 0
1142 #define _CRYPTO_DDATA1BYTE_DDATA1BYTE_MASK 0xFFUL
1143 #define _CRYPTO_DDATA1BYTE_DDATA1BYTE_DEFAULT 0x00000000UL
1144 #define CRYPTO_DDATA1BYTE_DDATA1BYTE_DEFAULT (_CRYPTO_DDATA1BYTE_DDATA1BYTE_DEFAULT << 0)
1146 /* Bit fields for CRYPTO DDATA0BYTE32 */
1147 #define _CRYPTO_DDATA0BYTE32_RESETVALUE 0x00000000UL
1148 #define _CRYPTO_DDATA0BYTE32_MASK 0x0000000FUL
1149 #define _CRYPTO_DDATA0BYTE32_DDATA0BYTE32_SHIFT 0
1150 #define _CRYPTO_DDATA0BYTE32_DDATA0BYTE32_MASK 0xFUL
1151 #define _CRYPTO_DDATA0BYTE32_DDATA0BYTE32_DEFAULT 0x00000000UL
1152 #define CRYPTO_DDATA0BYTE32_DDATA0BYTE32_DEFAULT (_CRYPTO_DDATA0BYTE32_DDATA0BYTE32_DEFAULT << 0)
1154 /* Bit fields for CRYPTO QDATA0 */
1155 #define _CRYPTO_QDATA0_RESETVALUE 0x00000000UL
1156 #define _CRYPTO_QDATA0_MASK 0xFFFFFFFFUL
1157 #define _CRYPTO_QDATA0_QDATA0_SHIFT 0
1158 #define _CRYPTO_QDATA0_QDATA0_MASK 0xFFFFFFFFUL
1159 #define _CRYPTO_QDATA0_QDATA0_DEFAULT 0x00000000UL
1160 #define CRYPTO_QDATA0_QDATA0_DEFAULT (_CRYPTO_QDATA0_QDATA0_DEFAULT << 0)
1162 /* Bit fields for CRYPTO QDATA1 */
1163 #define _CRYPTO_QDATA1_RESETVALUE 0x00000000UL
1164 #define _CRYPTO_QDATA1_MASK 0xFFFFFFFFUL
1165 #define _CRYPTO_QDATA1_QDATA1_SHIFT 0
1166 #define _CRYPTO_QDATA1_QDATA1_MASK 0xFFFFFFFFUL
1167 #define _CRYPTO_QDATA1_QDATA1_DEFAULT 0x00000000UL
1168 #define CRYPTO_QDATA1_QDATA1_DEFAULT (_CRYPTO_QDATA1_QDATA1_DEFAULT << 0)
1170 /* Bit fields for CRYPTO QDATA1BIG */
1171 #define _CRYPTO_QDATA1BIG_RESETVALUE 0x00000000UL
1172 #define _CRYPTO_QDATA1BIG_MASK 0xFFFFFFFFUL
1173 #define _CRYPTO_QDATA1BIG_QDATA1BIG_SHIFT 0
1174 #define _CRYPTO_QDATA1BIG_QDATA1BIG_MASK 0xFFFFFFFFUL
1175 #define _CRYPTO_QDATA1BIG_QDATA1BIG_DEFAULT 0x00000000UL
1176 #define CRYPTO_QDATA1BIG_QDATA1BIG_DEFAULT (_CRYPTO_QDATA1BIG_QDATA1BIG_DEFAULT << 0)
1178 /* Bit fields for CRYPTO QDATA0BYTE */
1179 #define _CRYPTO_QDATA0BYTE_RESETVALUE 0x00000000UL
1180 #define _CRYPTO_QDATA0BYTE_MASK 0x000000FFUL
1181 #define _CRYPTO_QDATA0BYTE_QDATA0BYTE_SHIFT 0
1182 #define _CRYPTO_QDATA0BYTE_QDATA0BYTE_MASK 0xFFUL
1183 #define _CRYPTO_QDATA0BYTE_QDATA0BYTE_DEFAULT 0x00000000UL
1184 #define CRYPTO_QDATA0BYTE_QDATA0BYTE_DEFAULT (_CRYPTO_QDATA0BYTE_QDATA0BYTE_DEFAULT << 0)
1186 /* Bit fields for CRYPTO QDATA1BYTE */
1187 #define _CRYPTO_QDATA1BYTE_RESETVALUE 0x00000000UL
1188 #define _CRYPTO_QDATA1BYTE_MASK 0x000000FFUL
1189 #define _CRYPTO_QDATA1BYTE_QDATA1BYTE_SHIFT 0
1190 #define _CRYPTO_QDATA1BYTE_QDATA1BYTE_MASK 0xFFUL
1191 #define _CRYPTO_QDATA1BYTE_QDATA1BYTE_DEFAULT 0x00000000UL
1192 #define CRYPTO_QDATA1BYTE_QDATA1BYTE_DEFAULT (_CRYPTO_QDATA1BYTE_QDATA1BYTE_DEFAULT << 0)
__IOM uint32_t DATA0
__IOM uint32_t DDATA1
__IOM uint32_t SEQ0
__IOM uint32_t DDATA4
__IOM uint32_t DATA0BYTE12
__IOM uint32_t SEQ2
__IOM uint32_t DATA0BYTE
__IOM uint32_t DATA0BYTE13
__IOM uint32_t SEQ4
__IOM uint32_t WAC
__IOM uint32_t DDATA1BYTE
__IM uint32_t IF
__IOM uint32_t KEY
__IOM uint32_t DDATA0BIG
__IOM uint32_t DDATA3
__IOM uint32_t IEN
__IOM uint32_t DATA0BYTE15
__IM uint32_t DSTATUS
__IM uint32_t STATUS
__IOM uint32_t SEQCTRL
__IOM uint32_t SEQCTRLB
__IOM uint32_t DDATA0BYTE32
__IOM uint32_t DDATA2
__IOM uint32_t CMD
__IOM uint32_t DDATA0BYTE
__IOM uint32_t QDATA0BYTE
__IOM uint32_t QDATA1
__IOM uint32_t DDATA0
__IOM uint32_t IFS
__IOM uint32_t DATA0XOR
__IM uint32_t CSTATUS
__IOM uint32_t IFC
__IOM uint32_t QDATA0
__IOM uint32_t DATA1BYTE
__IOM uint32_t QDATA1BYTE
__IOM uint32_t SEQ3
__IOM uint32_t KEYBUF
__IOM uint32_t DATA3
__IOM uint32_t SEQ1
__IOM uint32_t DATA1
__IOM uint32_t QDATA1BIG
__IOM uint32_t CTRL
__IOM uint32_t DATA0XORBYTE
__IOM uint32_t DATA2
__IOM uint32_t DATA0BYTE14