Home
last modified time | relevance | path

Searched refs:pairwise_cipher (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa_ie.c49 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument
77 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, pairwise_cipher); in wpa_gen_wpa_ie_wpa()
79 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_wpa()
80 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_wpa()
82 pairwise_cipher); in wpa_gen_wpa_ie_wpa()
114 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
163 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_rsn()
165 (pairwise_cipher == WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_rsn()
167 pairwise_cipher); in wpa_gen_wpa_ie_rsn()
276 sm->pairwise_cipher, in wpa_gen_wpa_ie()
[all …]
Dwpa_ft.c52 sm->key_mgmt, sm->pairwise_cipher); in wpa_derive_ptk_ft()
201 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_gen_req_ies()
203 sm->pairwise_cipher); in wpa_ft_gen_req_ies()
208 sm->pairwise_cipher)); in wpa_ft_gen_req_ies()
335 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_install_ptk()
337 sm->pairwise_cipher); in wpa_ft_install_ptk()
341 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk()
342 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_ft_install_ptk()
524 ptk_name, sm->key_mgmt, sm->pairwise_cipher) < 0) in wpa_ft_process_response()
Dwpa_i.h49 unsigned int pairwise_cipher; member
206 int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher, char *passphrase, …
Dwpa.c292 else if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_key_request()
656 sm->pairwise_cipher); in wpa_derive_ptk()
781 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_ptk()
786 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_supplicant_install_ptk()
787 wpa_printf(MSG_DEBUG, "WPA: Unsupported pairwise cipher %d", sm->pairwise_cipher); in wpa_supplicant_install_ptk()
791 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
792 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
850 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete()
913 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_gtk()
971 if (tx && sm->pairwise_cipher != WPA_CIPHER_NONE) { in wpa_supplicant_gtk_tx_bit_workaround()
[all …]
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_hostap.c47 u8 pairwise_cipher; in hostap_init() local
87 pairwise_cipher = esp_wifi_ap_get_prof_pairwise_cipher_internal(); in hostap_init()
94 pairwise_cipher = WIFI_CIPHER_TYPE_CCMP; in hostap_init()
100 if (auth_conf->wpa == WPA_PROTO_WPA && pairwise_cipher == WIFI_CIPHER_TYPE_CCMP) { in hostap_init()
101 pairwise_cipher = WIFI_CIPHER_TYPE_TKIP_CCMP; in hostap_init()
103 if (pairwise_cipher == WIFI_CIPHER_TYPE_TKIP) { in hostap_init()
107 } else if (pairwise_cipher == WIFI_CIPHER_TYPE_CCMP) { in hostap_init()
354 bool *pmf_enable, int subtype, uint8_t *pairwise_cipher, uint8_t *reason) in hostap_new_assoc_sta() argument
406 *pairwise_cipher = GET_BIT_POSITION(sta->wpa_sm->pairwise); in hostap_new_assoc_sta()
Desp_wpa_main.c236 data->pairwise_cipher = cipher_type_map_supp_to_public(ie.pairwise_cipher); in wpa_parse_wpa_ie_wrapper()
322 …e, u8 wpa_ie_len, u8 *rsnxe, u8 rsnxe_len, bool *pmf_enable, int subtype, uint8_t *pairwise_cipher) in hostap_sta_join() argument
385 …nfo, bssid, wpa_ie, wpa_ie_len, rsnxe, rsnxe_len, pmf_enable, subtype, pairwise_cipher, &reason)) { in hostap_sta_join()
Desp_wifi_driver.h109 int pairwise_cipher; member
129 …, u8 wpa_ie_len, u8* rsnxe, u8 rsnxe_len, bool *pmf_enable, int subtype, uint8_t *pairwise_cipher);
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth_ie.c454 data.pairwise_cipher); in wpa_validate_wpa_ie()
475 data.pairwise_cipher); in wpa_validate_wpa_ie()
529 ciphers = data.pairwise_cipher & wpa_auth->conf.rsn_pairwise; in wpa_validate_wpa_ie()
531 ciphers = data.pairwise_cipher & wpa_auth->conf.wpa_pairwise; in wpa_validate_wpa_ie()
536 data.pairwise_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
Dap_config.h387 bool *pmf_enable, int subtype, uint8_t *pairwise_cipher, uint8_t *reason);
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dwpa_common.c416 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
460 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn()
470 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
556 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
600 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa()
610 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
1014 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie()
Dwpa_common.h356 int pairwise_cipher; member
/hal_espressif-latest/components/esp_wifi/include/
Desp_wifi_types.h227 wifi_cipher_type_t pairwise_cipher; /**< pairwise cipher of AP */ member
310 …wifi_cipher_type_t pairwise_cipher; /**< Pairwise cipher of SoftAP, group cipher will be derived… member