#include <eap_i.h>
Data Fields | |
EapType | method |
EAP type number (EAP_TYPE_*). | |
const char * | name |
Name of the method (e.g., "TLS"). | |
void *(* | init )(struct eap_sm *sm) |
Initialize an EAP method. | |
void(* | deinit )(struct eap_sm *sm, void *priv) |
Deinitialize an EAP method. | |
u8 *(* | process )(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const u8 *reqData, size_t reqDataLen, size_t *respDataLen) |
Process an EAP request. | |
Boolean(* | isKeyAvailable )(struct eap_sm *sm, void *priv) |
Find out whether EAP method has keying material. | |
u8 *(* | getKey )(struct eap_sm *sm, void *priv, size_t *len) |
Get EAP method specific keying material (eapKeyData). | |
int(* | get_status )(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) |
Get EAP method status. | |
Boolean(* | has_reauth_data )(struct eap_sm *sm, void *priv) |
Whether method is ready for fast reauthentication. | |
void(* | deinit_for_reauth )(struct eap_sm *sm, void *priv) |
Release data that is not needed for fast re-auth. | |
void *(* | init_for_reauth )(struct eap_sm *sm, void *priv) |
Prepare for start of fast re-authentication. | |
const u8 *(* | get_identity )(struct eap_sm *sm, void *priv, size_t *len) |
Get method specific identity for re-authentication. |
This structure defines the EAP method interface. Each method will need to register its own EAP type, EAP name, and set of function pointers for method specific operations. This interface is based on section 4.4 of RFC 4137.
Definition at line 74 of file eap_i.h.
|
Deinitialize an EAP method.
|
|
Release data that is not needed for fast re-auth.
|
|
Get method specific identity for re-authentication.
|
|
Get EAP method status.
|
|
Get EAP method specific keying material (eapKeyData).
|
|
Whether method is ready for fast reauthentication.
|
|
Initialize an EAP method.
|
|
Prepare for start of fast re-authentication.
|
|
Find out whether EAP method has keying material.
|
|
Process an EAP request.
|