MSC8144E Reference Manual, Rev. 3
26-58
Freescale
Semiconductor
Security Engine (SEC)
complete the permutation. Reading either of these memory locations will generate an address
error interrupt.
26.4.5.10.1
AFEU FIFOs
AFEU uses an input FIFO/output FIFO pair to hold data before and after the encryption process.
Normally, the channels control all access to these FIFOs. For core processor-controlled
operation, a write to anywhere in the AFEU FIFO address space enqueues data to the AFEU
input FIFO, and a read from anywhere in the AFEU FIFO address space dequeues data from the
AFEU output FIFO.
In the special case where context is written through the input FIFO, the first write must be to
address 3_8E00. Context reads can be from any address in the FIFO address range.
Writes to the input FIFO go first to a staging register which can be written by byte, 4-byte, or
8-byte accesses). When all 8 bytes of the staging register have been written, the entire 8 bytes is
automatically enqueued into the FIFO. If any byte is written twice between enqueues, it causes an
error interrupt of type AE from the EU. When writing the last portion of data, it is not necessary
to write all 8 bytes. Any last bytes remaining in the staging register are automatically padded with
zeros and forced into the input FIFO when the AFEU End_of_Message Register is written.
The output FIFO is readable by byte, 4-byte, or 8-byte accesses. When all 8 bytes of the header
are read, that 8 bytes is automatically dequeued from the FIFO so that the next 8 bytes (if any)
becomes available for reading. If any byte is read twice between dequeues, it causes an error
interrupt of type AE from the EU.
Overflows and underflow caused by reading or writing the AFEU FIFOs are reflected in the
AFEU Interrupt Status Register.
26.4.6 Kasumi Execution Unit (KEU)
The Kasumi execution unit (KEU) has been designed to support the F8 confidentiality function of
the 3GPP, GSM A5/3, EDGE A5/3 and GPRS GEA3 algorithms and also the 3GPP F9 integrity
function. This section contains details about the Kasumi Execution Unit (KEU), including modes
of operation, status and control registers, and FIFOs.
In typical operation, the KEU is used through channel-controlled access, which means that most
reads and writes of KEU registers are directed by the SEC channels. Driver software would
perform core processor-controlled register accesses only on a few registers for initial
configuration and error handling.
This EU includes an ICV checking feature, that is, it can generate an ICV and compare it to
another supplied ICV. The pass/fail result of this ICV check can be returned to the core processor
either via interrupt by a writeback of EU status fields into core processor memory, but not by
both methods at once.
Summary of Contents for MSC8144E
Page 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Page 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Page 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Page 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Page 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Page 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Page 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Page 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Page 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Page 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...