Intel IXP400 manual WEP Perform API Call Flow

Models: IXP400

1 364
Download 364 pages 16.67 Kb
Page 109
Image 109

Intel® IXP400 Software

Access-Layer Components: Security (IxCryptoAcc) API

Figure 42. WEP Perform API Call Flow

1.(...NPE init, CryptoAccConfig, CryptoAccInit, CryptoAccCtxRegister,

etc...)

create data mBufs, IV

WEPClient

6.ixCryptoPerformCompleteCallback (cryptoContextId, mBuf *, IxCryptoAccStatus)

2.ixCryptoAcc*WepPerform (cryptoCtxId, *pSrcMbuf, *pDestMbuf, startOffset, dataLen, icvOffset, *pKey)

IxCryptoAcc

3.

IxQMgr/AQM

WEP Request Queue

 

WEP Complete Queue

 

 

 

 

 

 

 

 

 

 

5.

NPE - A

4. or Intel® XScale Core WEP

Engine

SDRAM

B2920-01

1.The proper NPE microcode images must have been downloaded to the NPE and initialized. Additionally, the IxCryptoAcc API must be properly configured, initialized, and the crypto context registration procedure must have completed.

At this point, the client must create the IX_MBUFs that will hold the target data and populate the source IX_MBUF with the data to be operated on. The client must supply the ARC4 key for the ARC4 algorithm.

2.The client submits the ixCryptoAccNpeWepPerform() or ixCryptoAccXscaleWepPerform() function, supplying the crypto context ID, pointers to the source and destination buffer, offset and length of the authentication and crypto data, offset to the integrity check value, and a pointer to the ARC4 key.

3.IxCryptoAcc will use IxQMgr to place a descriptor for the data into the WEP Request Queue.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

109

Page 109
Image 109
Intel IXP400 manual WEP Perform API Call Flow