39 #if (defined(__ENABLE_MOCANA_EAP_PEER__) || defined(__ENABLE_MOCANA_EAP_AUTH__)) 86 ubyte4 instanceId, ubyte
id,
87 ubyte *data, ubyte4 len,
88 ubyte *passwordString,ubyte4 passLen,
89 ubyte **eapRespData, ubyte4 *eapRespLen);
93 EAP_MD5ChallengeResponse (ubyte
id,
94 ubyte *challenge, ubyte4 challengeLen,
95 ubyte *passwordString,ubyte4 passLen,
96 ubyte *eapRespData, ubyte4 *eapRespLen);
198 ubyte4 instanceId, eapCode code, ubyte
id,
199 ubyte *data, ubyte4 len,ubyte *passwordString,
200 ubyte4 passLen, ubyte *challenge, ubyte4 challengeLen,
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.
MOC_EXTERN MSTATUS EAP_MD5_getChallenge(ubyte *buf, ubyte4 len)
Generate a challenge for an MD5 request.
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.