![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
EAP LEAP helper functions. More...
Go to the source code of this file.
Functions | |
MOC_EXTERN MSTATUS | EAP_LEAP_buildChallenge (eapLeapCb_t *leapCb, ubyte sessionType, ubyte *identity, ubyte2 identityLen, ubyte **eapRespData, ubyte4 *eapRespLen) |
Generate a LEAP challenge packet. More... | |
MOC_EXTERN MSTATUS | EAP_LEAP_getKey (void *eapLeapCb, ubyte *key, ubyte4 keyLen) |
Get EAP-LEAP session's shared key. More... | |
MOC_EXTERN MSTATUS | EAP_LEAP_processAuth (void *eapLeapCb, ubyte code, ubyte *data, ubyte4 len, ubyte *passwd, ubyte2 passwdLen, eapCode *p_sendCode, ubyte **eapRespData, ubyte4 *eapRespLen) |
Process a LEAP packet received by an authenticator. More... | |
MOC_EXTERN MSTATUS | EAP_LEAP_processPeer (void *eapLeapCb, ubyte code, ubyte *data, ubyte4 len, ubyte *passwd, ubyte2 passwdLen, ubyte *identity, ubyte2 identityLen, eapCode *p_sendCode, ubyte **pKey, ubyte **eapRespData, ubyte4 *eapRespLen) |
Process a LEAP packet received by a peer. More... | |
MOC_EXTERN MSTATUS | EAP_LEAPdeleteSession (void *p_eapLeapCb) |
Delete an EAP-LEAP session. More... | |
MOC_EXTERN MSTATUS | EAP_LEAPinitSession (void *appCb, void **p_eapLeapCb, ubyte sessionType) |
Create and initialize an EAP-LEAP session. More... | |
This header file contains definitions, enumerations, structures, and function declarations used by EAP LEAP helper functions.
To enable any of this file's functions, the following flag must be defined in moptions.h:
__ENABLE_MOCANA_EAP_LEAP__
Additionally, at least one of the following flags must be defined in moptions.h:
__ENABLE_MOCANA_EAP_AUTH__
__ENABLE_MOCANA_EAP_PEER__