![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
EAP TTLS helper functions. More...
Go to the source code of this file.
Data Structures | |
struct | EAP_TTLS_params |
Configuration settings and callback function pointers for EAP-TTLS sessions. More... | |
Functions | |
MOC_EXTERN MSTATUS | EAP_TTLSdeleteSession (void *eapTTLSSession) |
Delete a second (upper) stage EAP TTLS session. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSFormSendPacket (void *eapTTLSCb, ubyte *pkt, ubyte4 pktLen, ubyte **eapResponse, ubyte4 *eapRespLen) |
Build the second stage payload. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSgetKey (void *eapCb, ubyte *key, ubyte2 keyLen) |
Generate a session key. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSgetSessionStatus (void *eapTTLSCb, ubyte *eapSessionStatus) |
Get an EAP-TTLS session's session status. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSinitSession (ubyte *appSessionCB, ubyte **eapTTLSSession, EAP_TTLS_params *eapTTLSparams) |
Create and initialize a second stage TTLS session as a peer or passthrough authenticator. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSProcessRadiusAuthResponse (void *eapCb, RADIUS_RqstRecord *pRadiusResp) |
Process a received RADIUS packet and respond appropriately. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSreceiveLLPacket (void *eapTTLSCb, ubyte *pkt, ubyte4 pktLen) |
Process second stage packets. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSsendAlert (ubyte *eapSessionHdl, sbyte4 alertClass, sbyte4 alertId) |
Build a TLS Alert Message to be sent over EAP. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSSendData (ubyte *ttls_connection, ubyte *data, ubyte4 len, InnerAppType innerApp, ubyte **eapRespData, ubyte4 *eapRespLen) |
Send data using the TLS inner application extension. More... | |
MOC_EXTERN MSTATUS | EAP_TTLSulPeerTransmit (ubyte *eapSessionHdl, ubyte4 instanceId, eapMethodType methodType, eapCode code, eapMethodDecision methodDecision, eapMethodState methodState, ubyte *eap_data, ubyte4 eap_data_len) |
Transmit (send) an EAP response to the authenticator. More... | |
This header file contains definitions, enumerations, and function declarations for EAP TTLS helper functions.
To build products using this header file's functions, the following flag must be defined in moptions.h:
__ENABLE_MOCANA_EAP_TTLS__
Additionally, at least one of the following flags must be defined in moptions.h:
__ENABLE_MOCANA_EAP_AUTH__
__ENABLE_MOCANA_EAP_PEER__
Whether the following flag is defined determines which function declarations are enabled:
__ENABLE_MOCANA_INNER_APP__