Select one of the symbols to view example projects that use it.
 
Outline
#define EAP_FAST_PAC_H
#include "eap_peer/eap_fast_common.h"
eap_fast_pac
eap_fast_free_pac(struct eap_fast_pac *);
eap_fast_get_pac(struct eap_fast_pac *, const u8 *, size_t, u16);
eap_fast_add_pac(struct eap_fast_pac **, struct eap_fast_pac **, struct eap_fast_pac *);
eap_fast_load_pac(struct eap_sm *, struct eap_fast_pac **, const char *);
eap_fast_save_pac(struct eap_sm *, struct eap_fast_pac *, const char *);
eap_fast_pac_list_truncate(struct eap_fast_pac *, size_t);
eap_fast_load_pac_bin(struct eap_sm *, struct eap_fast_pac **, const char *);
eap_fast_save_pac_bin(struct eap_sm *, struct eap_fast_pac *, const char *);
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wpa_supplicant/src/eap_peer/eap_fast_pac.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * EAP peer method: EAP-FAST PAC file processing * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. *//* ... */ #ifndef EAP_FAST_PAC_H #define EAP_FAST_PAC_H #include "eap_peer/eap_fast_common.h" struct eap_fast_pac { struct eap_fast_pac *next; u8 pac_key[EAP_FAST_PAC_KEY_LEN]; u8 *pac_opaque; size_t pac_opaque_len; u8 *pac_info; size_t pac_info_len; u8 *a_id; size_t a_id_len; u8 *i_id; size_t i_id_len; u8 *a_id_info; size_t a_id_info_len; u16 pac_type; }{ ... }; void eap_fast_free_pac(struct eap_fast_pac *pac); 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); int eap_fast_add_pac(struct eap_fast_pac **pac_root, struct eap_fast_pac **pac_current, struct eap_fast_pac *entry); int eap_fast_load_pac(struct eap_sm *sm, struct eap_fast_pac **pac_root, const char *pac_file); int eap_fast_save_pac(struct eap_sm *sm, struct eap_fast_pac *pac_root, const char *pac_file); size_t eap_fast_pac_list_truncate(struct eap_fast_pac *pac_root, size_t max_len); int eap_fast_load_pac_bin(struct eap_sm *sm, struct eap_fast_pac **pac_root, const char *pac_file); int eap_fast_save_pac_bin(struct eap_sm *sm, struct eap_fast_pac *pac_root, const char *pac_file); /* ... */ #endif /* EAP_FAST_PAC_H */
Details