
Symmetric Key Hardware Accelerator (SKHA)
Freescale Semiconductor
35-13
The value of data size must be a multiple of eight for DES/3DES or a multiple of 16 for AES. However,
for CTR mode, data size may be a multiple of eight. If an illegal data size is set, a data size error is
generated, setting SKESR[DSE] and generating an interrupt request to the interrupt controller if the DSE
bit is not masked.
35.2.8
SKHA Input FIFO (SKIN)
The SKHA input FIFO provides temporary storage for data to be used during processing. The input FIFO
is a write-only register and attempting to read from this register always returns zero. If the FIFO is written
when the FIFO level is full, an interrupt is generated and the SKESR[IFO] bit is set. The SKSR[IFL] field,
described in
Section 35.2.4, “SKHA Status Register (SKSR)
,” can be polled to monitor how many 32-bit
words are currently resident in the FIFO.
35.2.9
SKHA Output FIFO (SKOUT)
The SKHA output FIFO provides temporary storage for data post-processing. The output FIFO is a
read-only register and attempting to write to this register has no effect. If the output FIFO is read from
when the FIFO level is empty then an interrupt is generated and SKESR[OFU] is set. The SKSR[OFL]
field, described in
Section 35.2.4, “SKHA Status Register (SKSR)
,” can be polled to monitor how many
32-bit words are currently resident in the FIFO.
35.2.10 SKHA Key Data Registers (SKKDRn)
The six 32-bit SKKDR
n
are write-only and hold the symmetric key. The key should be loaded with the
first four bytes placed in key 1, followed by key 2, etc. The key should be loaded before setting the key
size. Any key data beyond the value specified in the SKKSR is ignored.
For AES, which uses a 128-bit key, SKKDR1–SKKDR4 must be written. For single DES,
SKKDR1–SKKDR2 must be written (56-bit key & 8-bit parity). For 2-key 3DES, SKKDR1–4 must be
written. For 3-key 3DES, SKKDR1–6 must be written. The SKKDR
n
registers are summarized in
.
Address: 0xEC08_4020
Access: User write-only
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Input FIFO
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 35-16. SKHA Input FIFO (SKIN)
Address: 0xEC08_4024
Access: User read-only
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
Output FIFO
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 35-17. SKHA Output FIFO (SKOUT)
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...