/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | wpa_ie.c | 16 #include "wpa_ie.h" 21 * @wpa_ie: Pointer to WPA or RSN IE 28 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 31 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 32 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 33 if (wpa_ie_len >= 6 && wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC && 34 wpa_ie[1] >= 4 && WPA_GET_BE32(&wpa_ie[2]) == OSEN_IE_VENDOR_TYPE) 35 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 37 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_le 41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument 246 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument 310 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
H A D | wpa_ie.h | 15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
H A D | Makefile | 25 wpa_ie.o
|
H A D | wpa.h | 131 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, 146 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, 234 u8 *wpa_ie, 280 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 233 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
|
H A D | wpa.c | 27 #include "wpa_ie.h" 405 * @wpa_ie: WPA/RSN IE 413 const u8 *wpa_ie, size_t wpa_ie_len, 422 if (wpa_ie == NULL) { 423 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - " 440 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len); 454 wpa_ie = rsn_ie_buf; 458 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len); 490 os_memcpy(key_mic + mic_len + 2, wpa_ie, wpa_ie_len); /* Key Data */ 974 const u8 *wpa_ie, size_ 410 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument 972 wpa_report_ie_mismatch(struct wpa_sm *sm, const char *reason, const u8 *src_addr, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *rsn_ie, size_t rsn_ie_len) argument 2849 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | wpa_ie.c | 16 #include "wpa_ie.h" 21 * @wpa_ie: Pointer to WPA or RSN IE 28 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 31 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 32 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 33 if (wpa_ie_len >= 6 && wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC && 34 wpa_ie[1] >= 4 && WPA_GET_BE32(&wpa_ie[2]) == OSEN_IE_VENDOR_TYPE) 35 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 37 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_le 41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument 246 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument 310 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
H A D | wpa_ie.h | 15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
H A D | Makefile | 25 wpa_ie.o
|
H A D | wpa.h | 131 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, 146 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, 234 u8 *wpa_ie, 280 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 233 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | wpa_ie.c | 16 #include "wpa_ie.h" 21 * @wpa_ie: Pointer to WPA or RSN IE 28 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 31 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 32 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 33 if (wpa_ie_len >= 6 && wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC && 34 wpa_ie[1] >= 4 && WPA_GET_BE32(&wpa_ie[2]) == OSEN_IE_VENDOR_TYPE) 35 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 37 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_le 41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument 246 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument 310 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
H A D | wpa_ie.h | 15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
H A D | Makefile | 25 wpa_ie.o
|
H A D | wpa.h | 131 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, 146 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, 234 u8 *wpa_ie, 280 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 233 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wpa_auth_ie.c | 410 os_free(wpa_auth->wpa_ie); 411 wpa_auth->wpa_ie = 413 if (wpa_auth->wpa_ie == NULL) 415 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, 451 os_free(wpa_auth->wpa_ie); 452 wpa_auth->wpa_ie = os_malloc(pos - buf); 453 if (wpa_auth->wpa_ie == NULL) 455 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf); 500 const u8 *wpa_ie, size_t wpa_ie_len, 512 if (wpa_ie 498 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument [all...] |
H A D | wpa_auth_ie.h | 13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
|
H A D | wpa_auth_i.h | 93 u8 *wpa_ie; member in struct:wpa_state_machine 200 u8 *wpa_ie; member in struct:wpa_authenticator
|
H A D | wpa_auth.c | 438 os_free(wpa_auth->wpa_ie); 448 os_free(wpa_auth->wpa_ie); 458 os_free(wpa_auth->wpa_ie); 528 os_free(wpa_auth->wpa_ie); 682 os_free(sm->wpa_ie); 2525 eapol_key_ie = kde.wpa_ie; 2529 if (sm->wpa_ie == NULL || 2530 wpa_compare_rsn_ie(ft, sm->wpa_ie, sm->wpa_ie_len, 2534 if (sm->wpa_ie) { 2536 sm->wpa_ie, s 2684 u8 *wpa_ie; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | wpa_auth_ie.c | 410 os_free(wpa_auth->wpa_ie); 411 wpa_auth->wpa_ie = 413 if (wpa_auth->wpa_ie == NULL) 415 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, 451 os_free(wpa_auth->wpa_ie); 452 wpa_auth->wpa_ie = os_malloc(pos - buf); 453 if (wpa_auth->wpa_ie == NULL) 455 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf); 500 const u8 *wpa_ie, size_t wpa_ie_len, 512 if (wpa_ie 498 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument [all...] |
H A D | wpa_auth_ie.h | 13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
|
H A D | wpa_auth_i.h | 93 u8 *wpa_ie; member in struct:wpa_state_machine 200 u8 *wpa_ie; member in struct:wpa_authenticator
|
H A D | wpa_auth.c | 438 os_free(wpa_auth->wpa_ie); 448 os_free(wpa_auth->wpa_ie); 458 os_free(wpa_auth->wpa_ie); 528 os_free(wpa_auth->wpa_ie); 682 os_free(sm->wpa_ie); 2525 eapol_key_ie = kde.wpa_ie; 2529 if (sm->wpa_ie == NULL || 2530 wpa_compare_rsn_ie(ft, sm->wpa_ie, sm->wpa_ie_len, 2534 if (sm->wpa_ie) { 2536 sm->wpa_ie, s 2684 u8 *wpa_ie; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wpa_auth_ie.c | 410 os_free(wpa_auth->wpa_ie); 411 wpa_auth->wpa_ie = 413 if (wpa_auth->wpa_ie == NULL) 415 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, 451 os_free(wpa_auth->wpa_ie); 452 wpa_auth->wpa_ie = os_malloc(pos - buf); 453 if (wpa_auth->wpa_ie == NULL) 455 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf); 500 const u8 *wpa_ie, size_t wpa_ie_len, 512 if (wpa_ie 498 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument [all...] |
H A D | wpa_auth_ie.h | 13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
|
H A D | wpa_auth_i.h | 93 u8 *wpa_ie; member in struct:wpa_state_machine 200 u8 *wpa_ie; member in struct:wpa_authenticator
|
H A D | wpa_auth.c | 438 os_free(wpa_auth->wpa_ie); 448 os_free(wpa_auth->wpa_ie); 458 os_free(wpa_auth->wpa_ie); 528 os_free(wpa_auth->wpa_ie); 682 os_free(sm->wpa_ie); 2525 eapol_key_ie = kde.wpa_ie; 2529 if (sm->wpa_ie == NULL || 2530 wpa_compare_rsn_ie(ft, sm->wpa_ie, sm->wpa_ie_len, 2534 if (sm->wpa_ie) { 2536 sm->wpa_ie, s 2684 u8 *wpa_ie; local [all...] |