Chapter 4. Data Encryption Standard Execution Unit
4-1
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Chapter 4
Data Encryption Standard Execution
Unit
This chapter explains how to program the DEU (Data Encryption Standard Execution Unit)
to encrypt or decrypt a message.
4.1 Operational Registers
All operational registers within the main control block are 32-bit addressable, however they
may contain less than 32 bits. The keys, initialization vector, plaintext and ciphertext are all
64-bit, and each takes two registers. Each has a left (most significant word) and a right (least
significant word) register. Table 4-1 lists DEU registers. These registers are described in
more detail in the following sections.
Table 4-1. Data Encryption Standard Execution Unit (DEU) Registers
MPC180E 12-Bit Address
Processor 32-Bit Address
Register
Type
0x200
0x0000_0800
Control (DCR)
R/W
0x201
0x0000_0804
Status (DSR)
R
0x202
0x0000_0808
Key1_R
R/W
0x203
0x0000_080C
Key1_L
R/W
0x204
0x0000_0810
Key2_R
R/W
0x205
0x0000_0814
Key2_L
R/W
0x206
0x0000_0818
Key3_R
R/W
0x207
0x0000_081C
Key3_L
R/W
0x208
0x0000_0820
IV_R
R/W
0x209
0x0000_0824
IV_L
R/W
0x20A
0x0000_0828
DATAIN_R
R/W
0x20B
0x0000_082C
DATAIN_L
R/W
0x20C
0x0000_0830
DATAOUT_R
R
0x20D
0x0000_0834
DATAOUT_L
R
0X20E
0x0000_0838
Configuration (DCFG)
R/W
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..