Cryp Key Registers (Cryp_K0 - ST STM32F205 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F205 series:
Table of Contents

Advertisement

RM0033
19.6.9
CRYP key registers (CRYP_K0...3(L/R)R)
Address offset: 0x20 to 0x3C
Reset value: 0x0000 0000
These registers contain the cryptographic keys.
In the TDES mode, keys are 64-bit binary values (number from left to right, that is the
leftmost bit is bit 1), named K1, K2 and K3 (K0 is not used), each key consists of 56
information bits and 8 parity bits. The parity bits are reserved for error detection purposes
and are not used by the current block. Thus, bits 8, 16, 24, 32, 40, 48, 56 and 64 of each 64-
bit key value Kx[1:64] are not used.
In the AES mode, the key is considered as a single 128-, 192- or 256-bit long bit sequence,
k
k
k
...k
0
1
2
follows:
for AES-128: k
for AES-192: k
for AES-256: k
In any case b
CRYP_K0LR (address offset: 0x20)
31
30
29
b255
b254
b253
b252
w
w
w
15
14
13
b239
b238
b237
b236
w
w
w
CRYP_K0RR (address offset: 0x24)
31
30
29
b223
b222
b221
b220
w
w
w
15
14
13
b207
b206
b205
b204
w
w
w
Bits 31:2 Reserved, must be kept at reset value
Bit 1 OUTMIS: Output FIFO service masked interrupt status
Gives the interrupt state after masking of the output FIFO service interrupt.
0: Interrupt not pending
1: Interrupt pending
Bit 0 INMIS: Input FIFO service masked interrupt status
Gives the interrupt state after masking of the input FIFO service interrupt.
0: Interrupt not pending
1: Interrupt pending when CRYPEN = 1
(k
being the leftmost bit). The AES key is entered into the registers as
127/191/255
0
..k
corresponds to b
0
127
..k
corresponds to b
0
191
..k
corresponds to b
0
255
is the rightmost bit.
0
28
27
26
25
b251
b250
b249
w
w
w
w
12
11
10
9
b235
b234
b233
w
w
w
w
28
27
26
25
b219
b218
b217
w
w
w
w
12
11
10
9
b203
b202
b201
w
w
w
w
..b
(b
127
0
255
..b
(b
191
0
255
..b
.
255
0
24
23
22
b248
b247
b246
b245
w
w
w
8
7
6
b232
b231
b230
b229
w
w
w
24
23
22
b216
b215
b214
b213
w
w
w
8
7
6
b200
b199
b198
b197
w
w
w
RM0033 Rev 8
Cryptographic processor (CRYP)
..b
are not used),
128
..b
are not used),
192
21
20
19
18
b244
b243
b242
w
w
w
w
5
4
3
2
b228
b227
b226
w
w
w
w
21
20
19
18
b212
b211
b210
w
w
w
w
5
4
3
2
b196
b195
b194
w
w
w
w
17
16
b241
b240
w
w
1
0
b225
b224
w
w
17
16
b209
b208
w
w
1
0
b193
b192
w
w
539/1378
543

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F205 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f207 seriesStm32f215 seriesStm32f217 series

Table of Contents