Data Fields
nwalDmTxPayloadInfo_t Struct Reference

NWAL Data Mode Payload information for packet to SA. More...

#include <nwal.h>

Data Fields

Ti_Pkt * pPkt
nwal_AppId appCtxId
uint8_t encOffset
uint16_t encSize
uint8_t * pEncIV
uint8_t authOffset
uint16_t authSize
uint8_t * pAuthIV
uint16_t aadSize
uint8_t * pAad

Detailed Description

NWAL Data Mode Payload information for packet to SA.

The parameters in this structure are used to provide details of payload being sent to SA for offloading Encrypt/Decrypt/Authentication


Field Documentation

Size of additional authenticated data in bytes

Application context ID identifying the data mode request. The 32 bit ID will be received as echo back for the response from NetCP in nwalDmRxPayloadInfo_t

Specify the offset to the authenticated data in the packet in bytes

Specify the total number of bytes to be authenticated

Specify the offset to the encrypted/decrypted data in the packet in bytes

Specify the total number of bytes to be encrypted or decrypted

Contain the additional authenticated data in GCM/CCM modes

Contain the initialization vectors used in certain authentication modes.

Note:
: IV should be specified here in GMAC mode

Contain the initialization vectors used in certain encryption modes.

Note:
: IV should be specified here in GCM/CCM mode

Payload to be transmitted to SA


The documentation for this struct was generated from the following file:

Copyright 2014, Texas Instruments Incorporated