CA95C68/18/09
Tundra Semiconductor Corporation
3-56
Tundra Semiconductor Corporation
1)
While in Multiplexed Control Mode, any key load
commands can be executed before switching back to
Direct Control Mode (DCM). Alternatively, the session
keys may be loaded while in DCM. When operating in
DCM, the DCP does not automatically latch the
Input/Output Register's address. Before beginning to load
any data into the Input Register, you must latch this
address using the address latch enable strobe. Driving the
K/D pin of the Auxiliary Port high sets up the DCP for key
entry (the S/S pin must stay low for the entire key loading
process). The level of the E/D pin determines whether the
Encryption or Decryption Session Key will be loaded. As
soon as the
output pin goes low you may begin to
strobe in the eight key bytes using the Master Port Write
Strobe (
must be held low throughout the entire byte
loading process).
2)
Once the key loading process is complete, you may now
enter a Start command by driving the S/S line high. The
level on the E/D pin at this time will determine whether the
data is encrypted or decrypted. The levels on the K/D and
S/S) pins must be low throughout the data ciphering
process. The DCP responds to this command by lowering
3)
Whenever the Input ag is active, data can be entered
through the Master or the Slave Port, depending on the
selected mode of operation. To achieve the highest
throughput, the DCP must be congured to work in the
pipeline mode of operation. When the DCP has processed
the data, the Output ag will become active and the data
may be removed from the Output Port.
4)
Once all the data has been ciphered and read from the
output port, the DCP should be returned to the inactive
state by driving the S/S pin low.
Note:
You must remove all the data from the output port before
stopping the DCP or the data will be lost. Similarly, the key
reloading process can not begin until all the data from the
previous ciphering session has been removed from the output
port.
CP
MCS
PROGRAMMING INSTRUCTIONS FOR DIRECT
CONTROL MODE
This section describes how the DCP functions in Direct
Control Mode (DCM), (C/K pin is high). Only a subset of
the commands that are available in Multiplexed Control
Mode can be executed by controlling and monitoring the
status of the Auxiliary Port pins. While in DCM, you are
unable to access the Mode or Mask Register. The state of
the E/D and K/D pins should be held constant throughout
the entire key or data loading process. The state of the S/S
pin must also be held constant during the entire data
ciphering process.
ECB Operation
A ow chart of ECB operation in Direct Control Mode is
step is described below:
In most DCM applications it is desirable to switch back
and forth between MCM and DCM; therefore, C/K must be
programmable. Before using the device, either a hardware
or software reset should be performed to set the device to
it's default state. If the default mode of operation and the
Direct Control Mode instruction set is sufcient for your
requirements, then C/K may be permanently tied high. If
your application does not work in the default mode of
operation, the Mode Register must be programmed while
in Multiplexed Control Mode (which requires C/K to be
low).