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

EAP MD5 helper functions. More...

Go to the source code of this file.

Functions

MOC_EXTERN MSTATUS EAP_MD5_getChallenge (ubyte *buf, ubyte4 len)
 Generate a challenge for an MD5 request. More...
 
MOC_EXTERN MSTATUS EAP_MD5ProcessAuth (ubyte *appSessionHdl, ubyte *eapSessionHdl, ubyte4 instanceId, eapCode code, ubyte id, ubyte *data, ubyte4 len, ubyte *passwordString, ubyte4 passLen, ubyte *challenge, ubyte4 challengeLen, sbyte4 *cmp)
 Validate an MD5 challenge response. More...
 
MOC_EXTERN MSTATUS EAP_MD5ProcessPeer (ubyte *appSessionHdl, ubyte *eapSessionHdl, ubyte4 instanceId, ubyte id, ubyte *data, ubyte4 len, ubyte *passwordString, ubyte4 passLen, ubyte **eapRespData, ubyte4 *eapRespLen)
 Generate an MD5 challenge response. More...
 

Detailed Description

This header file contains function declarations for EAP MD5 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_MD5__

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

  • __ENABLE_MOCANA_EAP_AUTH__
  • __ENABLE_MOCANA_EAP_PEER__

eap_md5.h