eap_full_auth_fsm.c
const char_t * eapGetParamName(uint_t value, const EapParamName *paramList, size_t paramListLen)
Convert a parameter to string representation.
Definition: eap_debug.c:219
void eapFullAuthChangeState(AuthenticatorPort *port, EapFullAuthState newState)
Update EAP full authenticator state.
Definition: eap_full_auth_fsm.c:465
void eapFullAuthInitFsm(AuthenticatorPort *port)
EAP full authenticator state machine initialization.
Definition: eap_full_auth_fsm.c:85
void eapFullAuthFsm(AuthenticatorPort *port)
EAP full authenticator state machine implementation.
Definition: eap_full_auth_fsm.c:97
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
uint_t eapNextId(uint_t id)
Determine the next identifier value to use.
Definition: eap_auth_procedures.c:199
Helper functions for 802.1X authenticator.
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
@ EAP_FULL_AUTH_STATE_SELECT_ACTION
Definition: eap_full_auth_fsm.h:59
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
@ EAP_FULL_AUTH_STATE_INITIALIZE_PASSTHROUGH
Definition: eap_full_auth_fsm.h:69
@ EAP_FULL_AUTH_STATE_SEND_REQUEST
Definition: eap_full_auth_fsm.h:65
@ EAP_FULL_AUTH_STATE_AAA_RESPONSE
Definition: eap_full_auth_fsm.h:75
void authenticatorFsmError(AuthenticatorContext *context)
Authenticator state machine error handler.
Definition: authenticator_fsm.c:256
bool_t eapCheckResp(AuthenticatorPort *port)
Test for the validity of a message.
Definition: eap_auth_procedures.c:284
Authenticator state machine.
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)
EAP full authenticator state machine.
void eapBuildReq(AuthenticatorPort *port)
Produce the next request.
Definition: eap_auth_procedures.c:395
@ EAP_FULL_AUTH_STATE_PROPOSE_METHOD
Definition: eap_full_auth_fsm.h:62
@ EAP_FULL_AUTH_STATE_TIMEOUT_FAILURE
Definition: eap_full_auth_fsm.h:66
EapMethodType eapPolicyGetNextMethod(AuthenticatorPort *port)
Determine the method that should be used at this point in the conversation.
Definition: eap_auth_procedures.c:237
@ EAP_FULL_AUTH_STATE_TIMEOUT_FAILURE2
Definition: eap_full_auth_fsm.h:78
@ EAP_FULL_AUTH_STATE_METHOD_RESPONSE
Definition: eap_full_auth_fsm.h:61
@ EAP_FULL_AUTH_STATE_METHOD_REQUEST
Definition: eap_full_auth_fsm.h:63
uint_t eapGetTimeout(AuthenticatorPort *port)
Determine an appropriate timeout hint for the method.
Definition: eap_auth_procedures.c:364
@ EAP_FULL_AUTH_STATE_SEND_REQUEST2
Definition: eap_full_auth_fsm.h:77
@ EAP_FULL_AUTH_STATE_INTEGRITY_CHECK
Definition: eap_full_auth_fsm.h:60
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
EAP authenticator state machine procedures.
uint_t eapCalculateTimeout(AuthenticatorPort *port)
Calculate retransmission timeout.
Definition: eap_auth_procedures.c:50