
•IxCryptoAcc depends on the IxQMgr component to configure and use the hardware queues to access the NPE.
•OS Abstraction Layer
•IxFeatureCtrl
•In situations where only the Intel XScale core WEP Engine is used, the IxQMgr component is not utilized. Instead, local memory is used to pass context between the IxCryptoAcc API and the Intel XScale core WEP Engine.
After the CCD has been updated, the API can then be used to perform cryptographic processing on client data, for a given crypto context. This service request functionality of the API is described in “IPSec Services” on page 96 and “WEP Services” on page 106.
7.3.7Other API Functionality
In addition to crypto context registration, IPSec and WEP service requests, the IxCryptoAcc API has a number of other features.
•A number of status definitions, useful for determining the cause of registration or cryptographic processing errors.
•The ability to
•Two status and statistics functions are provided. These function show information such as the number of packets returned with operation fail, number of packets encrypted/ decrypted/ authenticated, the current status of the queue, whether the queue is empty or full or current queue length.
•The ability to halt the API.
The two following functions are used in specific situations that merit further explanation.
ixCryptoAccHashKeyGenerate()
This is a generic
This function should be used in situations where an HMAC authentication key of greater than 64 bytes is required for a crypto context, and should be called prior to registering that crypto context in the CCD. An initialization vector is supplied as input.
The function can also be used by SSL client applications as part of the SSL protocol MAC generation by supplying the record protocol data as input. ixCryptoAccHashPerform() can perform this type of operation.
Programmer’s Guide | IXP400 Software Version 2.0 | April 2005 |
| Document Number: 252539, Revision: 007 | 95 |