ADSP-SC58x PKTE Register Descriptions
Table 44-56: PKTE_LEN Register Fields (Continued)
Bit No.
(Access)
19:0
TOTLEN
(R/W)
44–96
Bit Name
Total length.
Command Descriptor:
The PKTE_LEN.TOTLEN bit field indicates the total length (in bytes) of all data to
be passed to the packet engines input buffer for an operation. Exceptions are the
PRNG init and PRNG generate operations. The PRNG init operation does not re-
quire any input data; this field must be zero.
For the PRNG generate operation, this field indicates the number of pseudo-random
bytes to be generated. Valid lengths range from 16 (0x00010) to 255*16 = 4080
(0x00FF0) bytes in multiples of 16 bytes. Valid lengths for the basic operation range
from 1 (0x00001) to 1,048,575 (0xFFFFF) bytes. This is the length of the data to be
encrypted or hashed and includes the bypass data and padding bytes.
Valid lengths for IPsec ESP range from 1 (0x00001) to 65535 (0x0FFFF) bytes. This is
the length of the IP payload.
Valid lengths for SSL v3.0, TLS v1.x and DTLS range from 1 (0x00001) to 16383
(0x03FFF). This is the length of the payload.
Valid lengths for SRTP range from 1 (0x00001) to 65535 (0x0FFFF). This is the
length of the payload.
Note: A length of zero bytes is illegal and will result in an error status code in the result
descriptor.
Result Descriptor:
Upon completion of an operation, the PKTE_LEN.TOTLEN field indicates the result
length of the result packet. Valid lengths range from 1 (0x001) to 1,048,575
(0xFFFFF) bytes. This includes the bypass data and padding bytes.
Note: When an extended error (PKTE_CTL_STAT[18]=1) is reported in the result
descriptor and no packet data is processed, this field returns zero.
ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
Description/Enumeration
Need help?
Do you have a question about the ADSP-SC58 Series and is the answer not in the manual?