eap_auth_procedures.c
void eapDumpHeader(const EapPacket *header)
Dump EAP header for debugging purpose.
Definition: eap_debug.c:105
void eapProcessResp(AuthenticatorPort *port)
Parse and process a response.
Definition: eap_auth_procedures.c:311
bool_t eapIsDone(AuthenticatorPort *port)
Check for method completion.
Definition: eap_auth_procedures.c:348
#define AUTHENTICATOR_DEFAULT_METHOD_TIMEOUT
Definition: authenticator.h:183
uint_t eapNextId(uint_t id)
Determine the next identifier value to use.
Definition: eap_auth_procedures.c:199
Authenticator state machine procedures.
void eapReset(AuthenticatorPort *port)
The method is ending in the middle of or before completion.
Definition: eap_auth_procedures.c:335
void eapParseResp(AuthenticatorPort *port)
Determine the code, identifier value, and type of the current response.
Definition: eap_auth_procedures.c:67
802.1X authenticator
uint_t eapGetId(const uint8_t *eapReqData, size_t eapReqDataLen)
Determine the identifier value for the current EAP request.
Definition: eap_auth_procedures.c:449
void eapBuildFailure(AuthenticatorPort *port)
Create an EAP failure packet.
Definition: eap_auth_procedures.c:162
bool_t eapCheckResp(AuthenticatorPort *port)
Test for the validity of a message.
Definition: eap_auth_procedures.c:284
void eapBuildSuccess(AuthenticatorPort *port)
Create an EAP success packet.
Definition: eap_auth_procedures.c:126
void eapPolicyUpdate(AuthenticatorPort *port)
Update all variables related to internal policy state.
Definition: eap_auth_procedures.c:224
void eapInit(AuthenticatorPort *port)
Method procedure to initialize state just before use.
Definition: eap_auth_procedures.c:323
Data logging functions for debugging purpose (EAP)
void eapBuildReq(AuthenticatorPort *port)
Produce the next request.
Definition: eap_auth_procedures.c:395
EapMethodType eapPolicyGetNextMethod(AuthenticatorPort *port)
Determine the method that should be used at this point in the conversation.
Definition: eap_auth_procedures.c:237
uint_t eapGetTimeout(AuthenticatorPort *port)
Determine an appropriate timeout hint for the method.
Definition: eap_auth_procedures.c:364
Debugging facilities.
EapDecision eapPolicyGetDecision(AuthenticatorPort *port)
Determine if the policy will allow SUCCESS, FAIL, or is yet to determine.
Definition: eap_auth_procedures.c:253
uint8_t * eapAuthGetKey(AuthenticatorPort *port)
Obtain key material for use by EAP or lower layers.
Definition: eap_auth_procedures.c:380
uint_t eapCalculateTimeout(AuthenticatorPort *port)
Calculate retransmission timeout.
Definition: eap_auth_procedures.c:50