AMD Alchemy Au1550 Security Network Processor Data Book
173
Security Engine
30283D
7.3.3.2
DMA Status Register
The packet engine DMA status register (sec_glbdmastat) provides the status of the packet engine.
sec_glbdmastat
Offset = 0x0044
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9876543210
OUTSIZ
INSIZ
CA
SPI ICV
PF OHD IHD ED
OD
ID
Def. 00000010000000000000000000000011
Bits
Name
Description
R/W
Default
31:22
OUTSIZ
Security Engine Output Size. Indicates the number of 32-bit words that the
encryption engine is requesting to be read from the output buffer.
R0x8
21:12
INSIZ
Security Engine Input Size. Indicates the number of 32-bit words that the
encryption engine is requesting to be written to the input buffer.
R0
11:10
—
Reserved.
R
00
9
CA
Command Queue Active.
0
The packet engine is currently idle.
1
The packet engine is currently processing a packet.
R0
8
—
Reserved.
R
0
7
SPI
SPI Mismatch.
0
No mismatch detected.
1
An inbound SPI did not match the expected value supplied in the SA.
R0
6
ICV
ICV Fault.
0
No fault detected.
1
An inbound ICV fault was detected, which means the ICV carried
within the packet did not match the value just computed.
R0
5
PF
Crypto Pad Fault.
0
No fault detected.
1
An inbound crypto pad fault was detected. Possible faults include:
Pad Count field does not match number of Pad bytes detected; Pad
field values do not match specified pattern.
R0
4
OHD
Outer Hash Done.
0
Outer hash is being processed.
1
The outer hash processing for this packet is finished.
R0
3
IHD
Inner Hash Done.
0
Inner hash is being processed.
1
The inner hash processing for this packet is finished.
R0
2
ED
Encryption Done.
0
This packet is undergoing encryption or decryption.
1
The encryption or decryption for this packet is finished.
R0
1
OD
Security engine Output Done.
0
The output data for the current packet is being read from the security
engine output buffer.
1
All of the output data for the current packet has been read.
R1
0
ID
Security engine Input Done.
0
The input data for the current packet is being written to the security
engine input buffer.
1
The number of bytes specified in the packet descriptor have been
written to the input buffer.
R1