Table 3-2. PAD_AG[3:0] Field Decoding
Encode/ ESP
Decode
PAD_AG Description
[3:0]
Decode
1
0xxx
1000
Not valid.
Verify the removed padding value 0 - 255, pad length field; remove
next_header
1001
1010
1011
1100
Verify the removed padding value 1 - 255 - 0, pad length field;
remove next_header
Verify the removed padding of number of bytes inserted, pad length
field; remove next_header
Verify the removed padding value of all zeroes, pad length field;
remove next_header
Verify the removed padding value of all padding length value less
one, pad length field; remove next_header
All
others
Reserved.
3.1.2.7
Desc_srcX and Desc_dstX
This source descriptor is only used in normal mode. The source data descriptors point to
source data buffers. The source buffer address length may be an arbitrary number of bytes.
The source buffer address is byte aligned except for when the source buffer is used to store
the information fields for the “Key”, “IHV”, “MAC”, or “IV”, in which case its address should
be 8-byte aligned. If a source buffer contains information fields, it should not contain
source data.
The destination data descriptors point to the destination buffers. The destination buffer
address and length must be on an 8 byte boundary. Usually, the destination buffers are
used to store the result data, and must be fully consumed in order. For hash related
operations, the first destination buffer is used to store hash values only.
The source and destination descriptors both contain 8 bytes in the 32-bit addressing mode
and 16 bytes in the 64-bit addressing mode.
32-bit Addressing Mode Format:
BYTE_COUNT[30:0]
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
ADDR[31:0]
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
820x – Data Sheet, DS-0157-D
Page64
Hifn Confidential