TrustCore SDK NanoSec API reference  version 7.0
eap_gtc.h File Reference

EAP GTC helper functions. More...

Go to the source code of this file.

Functions

MOC_EXTERN MSTATUS EAP_GTCProcessAuth (ubyte *appSessionHdl, ubyte *data, ubyte4 len, ubyte *passwordString, ubyte4 passLen, sbyte4 *cmp)
 Validate a token response. More...
 
MOC_EXTERN MSTATUS EAP_GTCProcessPeer (ubyte *appSessionHdl, ubyte *passwordString, ubyte4 passLen, ubyte **eapRespData, ubyte4 *eapRespLen)
 Generate a token response. More...
 
MOC_EXTERN MSTATUS EAP_GTCstartRequest (ubyte *appSessionHdl, ubyte *msgString, ubyte4 msgLen, ubyte **eapReqData, ubyte4 *eapReqLen)
 Builds an EAP request. More...
 

Detailed Description

This header file contains function declarations for EAP GTC helper functions.

Since
1.41
Version
2.02 and later

To enable any of this file's functions, the following flag must be defined in moptions.h:

  • __ENABLE_MOCANA_EAP_GTC__

Additionally, at least one of the following flags must be defined in moptions.h:

  • __ENABLE_MOCANA_EAP_AUTH__
  • __ENABLE_MOCANA_EAP_PEER__

eap_gtc.h