13 u8 pac_key[EAP_FAST_PAC_KEY_LEN];
15 size_t pac_opaque_len;
30 const u8 *a_id,
size_t a_id_len,
36 const char *pac_file);
38 const char *pac_file);
42 const char *pac_file);
44 const char *pac_file);
int eap_fast_load_pac(struct eap_sm *sm, struct eap_fast_pac **pac_root, const char *pac_file)
Load PAC entries (text format)
Definition: eap_fast_pac.c:408
int eap_fast_load_pac_bin(struct eap_sm *sm, struct eap_fast_pac **pac_root, const char *pac_file)
Load PAC entries (binary format)
Definition: eap_fast_pac.c:746
int eap_fast_save_pac_bin(struct eap_sm *sm, struct eap_fast_pac *pac_root, const char *pac_file)
Save PAC entries (binary format)
Definition: eap_fast_pac.c:869
void eap_fast_free_pac(struct eap_fast_pac *pac)
Free PAC data.
Definition: eap_fast_pac.c:46
struct eap_fast_pac * eap_fast_get_pac(struct eap_fast_pac *pac_root, const u8 *a_id, size_t a_id_len, u16 pac_type)
Get a PAC entry based on A-ID.
Definition: eap_fast_pac.c:65
Definition: eap_fast_pac.h:10
int eap_fast_add_pac(struct eap_fast_pac **pac_root, struct eap_fast_pac **pac_current, struct eap_fast_pac *entry)
Add a copy of a PAC entry to a list.
Definition: eap_fast_pac.c:135
size_t eap_fast_pac_list_truncate(struct eap_fast_pac *pac_root, size_t max_len)
Truncate a PAC list to the given length.
Definition: eap_fast_pac.c:665
EAP state machine data.
Definition: eap_i.h:302
EAP-FAST definitions (RFC 4851)
int eap_fast_save_pac(struct eap_sm *sm, struct eap_fast_pac *pac_root, const char *pac_file)
Save PAC entries (text format)
Definition: eap_fast_pac.c:614