![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
EAP RADIUS passthrough or Server functions. More...
Go to the source code of this file.
Functions | |
MOC_EXTERN MSTATUS | EAP_radiusDecapsulate (ubyte *eapSessionHdl, ubyte4 instanceId, ubyte *secret, sbyte4 secretlen, RADIUS_RqstRecord *pRadiusReq, ubyte **eap_pkt, ubyte4 *eapLen) |
Decapsulate (extract) an EAP packet from a RADIUS packet. More... | |
MOC_EXTERN MSTATUS | EAP_radiusEncapsulate (ubyte *eapSessionHdl, ubyte4 instanceId, ubyte4 authServerID, MOC_IP_ADDRESS addr, ubyte4 nas_port, ubyte4 nas_port_type, ubyte *secret, sbyte4 secretlen, ubyte *eap_pkt, RADIUS_RqstRecord **radiusReq) |
Encapsulate an EAP packet into a RADIUS packet. More... | |
MOC_EXTERN MSTATUS | EAP_radiusGetMPPEKeys (ubyte *eapSessionHdl, ubyte4 instanceId, ubyte **mppeSendKey, ubyte4 *mppeSendKeyLen, ubyte **mppeRecvKey, ubyte4 *mppeRecvKeyLen) |
Get a session's MPPE keys. More... | |
MOC_EXTERN MSTATUS | EAP_radiusServerDecapsulate (ubyte *eapSessionHdl, ubyte4 instanceId, ubyte *secret, sbyte4 secretlen, ubyte *stateAttr, ubyte4 stateAttrLen, RADIUS_RqstRecord *pRadiusReq, ubyte **eap_pkt, ubyte4 *eapLen) |
Decapsulate (extract) an EAP packet from a RADIUS packet. More... | |
MOC_EXTERN MSTATUS | EAP_radiusServerEncapsulate (ubyte *eapSessionHdl, ubyte4 instanceId, ubyte4 authServerID, ubyte *secret, sbyte4 secretlen, ubyte *eap_pkt, ubyte4 eap_pkt_len, RADIUS_RqstRecord *pRadiusReq) |
Encapsulate an EAP packet into a RADIUS packet. More... | |
This header file contains function declarations for EAP RADIUS passthrough or Server functions.
To build products using this header file's functions, the following flag must be defined in moptions.h:
__ENABLE_MOCANA_EAP_RADIUS__
__ENABLE_MOCANA_RADIUS_CLIENT__
Additionally, at least one of the following flags must be defined in moptions.h:
__ENABLE_MOCANA_EAP_AUTH__
__ENABLE_MOCANA_EAP_PEER__