Freescale Semiconductor MPC8313E Family Reference Manual page 657

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

Figure 14-2
shows a simplified block diagram of the SEC internal architecture. The controller block is
capable of transferring 64-bit words between the bus and any register inside the SEC.
An operation begins when the host writes a descriptor pointer to the fetch FIFO in the SEC channel. From
this point on, the channel directs the sequence of operations. The channel uses the descriptor pointer to
read the descriptor, then decodes the first word of the descriptor to determine the operation to be performed
and the execution units needed to perform it. The channel requests the controller to assign the needed
execution units. Next the channel requests that the controller fetch the keys, IVs and data from locations
specified in the rest of the descriptor. The controller satisfies the requests by making requests to the master
interface per the programmable priority scheme. Data is fed into the execution units through their registers
and the proper input FIFOs. The execution units read from their input FIFOs and write processed data to
their output FIFOs. The channel requests the controller to write data from the output FIFOs and registers
back to system memory through the master/slave interface.
For most packets, the entire payload is too long to fit in the input or output FIFO. The SEC then uses a
flow control scheme for reading and writing data. The channel directs the controller to read bursts of input
as necessary to keep refilling the input FIFO, until the entire payload has been fetched. Similarly, the
channel directs the controller to write bursts of output whenever enough accumulates in the output FIFO.
14.1.1
Descriptors
As a crypto acceleration block, the SEC controller has been designed for easy use and integration with
existing systems and software. All cryptographic functions are accessible through descriptors. A descriptor
specifies a cryptographic function to be performed, and contains pointers to all necessary input data and
to the places where output data is to be written. Some descriptor types perform multiple functions to
facilitate particular protocols. A descriptor is diagrammed in
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
Freescale Semiconductor
External
Bus
Internal
Controller
Bus
Channel
Figure 14-2. SEC Functional Modules
FIFO
AESU
DEU
FIFO
Execution Units (EUs)
Table
14-1.
Security Engine (SEC) 2.2
FIFO
MDEU
14-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents