Intel® IXP400 Software

Access-Layer Components: Security (IxCryptoAcc) API

In AH mode, the ICV value is part of the authentication header. AH is embedded in the data to be protected. This results in AH being included for ICV calculation, which means the authentication data field (ICV value) must be cleared before executing the ICV calculation. The same applies to the ICV verification — the authentication data needing to be cleared before the ICV value is calculated and compared with the original ICV value in the packet. If the ICV values don’t match, authentication is failed.

NPE determines where to insert the ICV value, based on the ICV offset specified in the perform function.

Figure 33. Authentication Header

Next Header

Payload Length

(Reserved)

Security Parameters Index (SPI)

Sequence Number

Authentication Data (Variable Length)

B2312-01

7.4.2.1Reference ESP Dataflow

Figure 34 shows the example data flow for IP Security environment. Transport mode ESP is used in this example. The IP header is not indicated in the figure.

The IP header is located in front of the ESP header while plain text is the IP payload.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

99

Page 99
Image 99
Intel IXP400 manual Reference ESP Dataflow, Authentication Header