/hostap-3.6.0/src/p2p/ |
D | p2p_group.c | 49 struct p2p_group *group, **groups; in p2p_group_init() local 51 group = os_zalloc(sizeof(*group)); in p2p_group_init() 52 if (group == NULL) in p2p_group_init() 58 os_free(group); in p2p_group_init() 61 groups[p2p->num_groups++] = group; in p2p_group_init() 64 group->p2p = p2p; in p2p_group_init() 65 group->cfg = config; in p2p_group_init() 66 group->group_formation = 1; in p2p_group_init() 67 group->beacon_update = 1; in p2p_group_init() 68 p2p_group_update_ies(group); in p2p_group_init() [all …]
|
D | p2p.h | 1790 void p2p_group_deinit(struct p2p_group *group); 1800 int p2p_group_notif_assoc(struct p2p_group *group, const u8 *addr, 1812 struct wpabuf * p2p_group_assoc_resp_ie(struct p2p_group *group, u8 status); 1819 void p2p_group_notif_disassoc(struct p2p_group *group, const u8 *addr); 1825 void p2p_group_notif_formation_done(struct p2p_group *group); 1838 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa, 1852 int p2p_group_match_dev_type(struct p2p_group *group, struct wpabuf *wps); 1857 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p); 1864 int p2p_group_go_discover(struct p2p_group *group, const u8 *dev_id, 2143 unsigned int p2p_get_group_num_members(struct p2p_group *group); [all …]
|
/hostap-3.6.0/src/common/ |
D | dragonfly.c | 18 int dragonfly_suitable_group(int group, int ecc_only) in dragonfly_suitable_group() argument 28 return group == 19 || group == 20 || group == 21 || in dragonfly_suitable_group() 30 (group == 15 || group == 16 || group == 17 || group == 18)); in dragonfly_suitable_group() 34 unsigned int dragonfly_min_pwe_loop_iter(int group) in dragonfly_min_pwe_loop_iter() argument 36 if (group == 22 || group == 23 || group == 24) { in dragonfly_min_pwe_loop_iter() 42 if (group == 1 || group == 2 || group == 5 || group == 14 || in dragonfly_min_pwe_loop_iter() 43 group == 15 || group == 16 || group == 17 || group == 18) { in dragonfly_min_pwe_loop_iter()
|
D | sae.c | 24 int sae_set_group(struct sae_data *sae, int group) in sae_set_group() argument 31 if (!dragonfly_suitable_group(group, 0)) { in sae_set_group() 32 wpa_printf(MSG_DEBUG, "SAE: Reject unsuitable group %d", group); in sae_set_group() 43 tmp->ec = crypto_ec_init(group); in sae_set_group() 46 group); in sae_set_group() 47 sae->group = group; in sae_set_group() 56 tmp->dh = dh_groups_get(group); in sae_set_group() 59 group); in sae_set_group() 60 sae->group = group; in sae_set_group() 89 "SAE: Group %d not supported by the crypto library", group); in sae_set_group() [all …]
|
D | sae.h | 32 int group; member 88 int group; member 111 int group; member 119 int sae_set_group(struct sae_data *sae, int group); 137 u16 sae_group_allowed(struct sae_data *sae, int *allowed_groups, u16 group);
|
D | sae_pk.c | 421 static size_t sae_group_2_hash_len(int group) in sae_group_2_hash_len() argument 423 switch (group) { in sae_group_2_hash_len() 501 pk->group = crypto_ec_key_group(pk->key); in sae_parse_pk() 643 hash_len = sae_group_2_hash_len(pk->group); in sae_write_confirm_pk() 705 const u8 *k_ap, size_t k_ap_len, int group) in sae_pk_valid_fingerprint() argument 722 hash_len = sae_group_2_hash_len(group); in sae_pk_valid_fingerprint() 781 int group; in sae_check_confirm_pk() local 851 group = crypto_ec_key_group(key); in sae_check_confirm_pk() 853 group)) { in sae_check_confirm_pk() 861 hash_len = sae_group_2_hash_len(group); in sae_check_confirm_pk()
|
/hostap-3.6.0/src/ap/ |
D | wpa_auth.c | 53 struct wpa_group *group); 56 struct wpa_group *group); 58 struct wpa_group *group); 63 struct wpa_group *group); 65 struct wpa_group *group); 67 struct wpa_group *group); 313 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) { in wpa_rekey_gmk() 319 wpa_auth->group->GMK, WPA_GMK_LEN); in wpa_rekey_gmk() 332 struct wpa_group *group, *next; in wpa_rekey_gtk() local 335 group = wpa_auth->group; in wpa_rekey_gtk() [all …]
|
/hostap-3.6.0/src/eap_common/ |
D | eap_pwd_common.c | 100 grp->group = crypto_ec_init(num); in get_eap_pwd_group() 101 if (!grp->group) { in get_eap_pwd_group() 150 prime = crypto_ec_get_prime(grp->group); in compute_password_element() 151 primebitlen = crypto_ec_prime_len_bits(grp->group); in compute_password_element() 152 primebytelen = crypto_ec_prime_len(grp->group); in compute_password_element() 234 tmp2 = crypto_ec_point_compute_y_sqr(grp->group, x_candidate); in compute_password_element() 238 res = dragonfly_is_quadratic_residue_blind(grp->group, qr_bin, in compute_password_element() 271 y = crypto_ec_point_compute_y_sqr(grp->group, x_candidate); in compute_password_element() 273 dragonfly_sqrt(grp->group, y, y) < 0 || in compute_password_element() 289 grp->pwe = crypto_ec_point_from_bin(grp->group, x_y); in compute_password_element() [all …]
|
D | eap_pwd_common.h | 18 struct crypto_ec *group; member 70 struct crypto_ec_point * eap_pwd_get_element(EAP_PWD_group *group, 72 struct crypto_bignum * eap_pwd_get_scalar(EAP_PWD_group *group, const u8 *buf); 73 int eap_pwd_get_rand_mask(EAP_PWD_group *group, struct crypto_bignum *_rand,
|
D | eap_eke_common.c | 23 static int eap_eke_dh_len(u8 group) in eap_eke_dh_len() argument 25 switch (group) { in eap_eke_dh_len() 53 static const struct dh_group * eap_eke_dh_group(u8 group) in eap_eke_dh_group() argument 55 switch (group) { in eap_eke_dh_group() 72 static int eap_eke_dh_generator(u8 group) in eap_eke_dh_generator() argument 74 switch (group) { in eap_eke_dh_generator() 159 int eap_eke_dh_init(u8 group, u8 *ret_priv, u8 *ret_pub) in eap_eke_dh_init() argument 165 generator = eap_eke_dh_generator(group); in eap_eke_dh_init() 166 dh = eap_eke_dh_group(group); in eap_eke_dh_init()
|
/hostap-3.6.0/src/fst/ |
D | fst.c | 43 struct fst_group *group = NULL; in fst_attach() local 53 group = g; in fst_attach() 58 if (!group) { in fst_attach() 59 group = fst_group_create(cfg->group_id); in fst_attach() 60 if (!group) { in fst_attach() 68 iface = fst_iface_create(group, ifname, own_addr, iface_obj, cfg); in fst_attach() 70 fst_printf_group(group, MSG_ERROR, "cannot create iface for %s", in fst_attach() 73 fst_group_delete(group); in fst_attach() 77 fst_group_attach_iface(group, iface); in fst_attach() 78 fst_group_update_ie(group); in fst_attach() [all …]
|
D | fst_group.c | 482 void fst_group_delete(struct fst_group *group) in fst_group_delete() argument 486 dl_list_del(&group->global_groups_lentry); in fst_group_delete() 487 WPA_ASSERT(dl_list_empty(&group->ifaces)); in fst_group_delete() 488 foreach_fst_ctrl_call(on_group_deleted, group); in fst_group_delete() 489 fst_printf_group(group, MSG_DEBUG, "instance deleted"); in fst_group_delete() 490 while ((s = fst_session_global_get_first_by_group(group)) != NULL) in fst_group_delete() 492 os_free(group); in fst_group_delete() 496 bool fst_group_delete_if_empty(struct fst_group *group) in fst_group_delete_if_empty() argument 498 bool is_empty = !fst_group_has_ifaces(group) && in fst_group_delete_if_empty() 499 !fst_session_global_get_first_by_group(group); in fst_group_delete_if_empty() [all …]
|
/hostap-3.6.0/tests/hwsim/ |
D | test_suite_b.py | 70 pairwise="GCMP", group="GCMP", scan_freq="2412") 150 pairwise="GCMP", group="GCMP", scan_freq="2412") 191 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412") 265 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412") 298 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412", 324 pairwise="GCMP", group="GCMP", scan_freq="2412") 341 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412") 358 pairwise="GCMP", group="GCMP", scan_freq="2412", 377 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412", 427 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412") [all …]
|
D | test_ap_ciphers.py | 38 pairwise=cipher, group=group_cipher, scan_freq="2412") 61 pairwise="CCMP", group="CCMP", scan_freq="2412") 103 pairwise="TKIP", group="TKIP", scan_freq="2412") 139 pairwise="TKIP", group="TKIP", scan_freq="2412") 187 pairwise="TKIP", group="TKIP", scan_freq="2412") 223 pairwise="TKIP", group="TKIP", scan_freq="2412") 226 pairwise="TKIP", group="TKIP", scan_freq="2412") 255 pairwise="TKIP", group="TKIP", scan_freq="2412", 332 pairwise=cipher, group="CCMP", scan_freq="2412") 342 group="CCMP CCMP-256 GCMP GCMP-256", scan_freq="2412") [all …]
|
D | test_fst_module.py | 1952 group = ap1.fst_group 2260 def fst_attach_ap(dev, ifname, group): argument 2261 cmd = "FST-ATTACH %s %s" % (ifname, group) 2267 for t in ["attached", "ifname=" + ifname, "group=" + group]: 2271 def fst_attach_sta(dev, ifname, group): argument 2272 if "OK" not in dev.global_request("FST-ATTACH %s %s" % (ifname, group)): 2277 for t in ["attached", "ifname=" + ifname, "group=" + group]: 2281 def fst_detach_ap(dev, ifname, group): argument 2287 for t in ["detached", "ifname=" + ifname, "group=" + group]: 2291 def fst_detach_sta(dev, ifname, group): argument [all …]
|
D | test_owe.py | 65 for group in [19, 20, 21]: 66 dev[0].connect("owe", key_mgmt="OWE", owe_group=str(group)) 562 for group in [20, 21]: 563 dev[0].connect("owe", key_mgmt="OWE", owe_group=str(group)) 727 for count, func, group in tests: 729 dev[0].connect("owe", key_mgmt="OWE", owe_group=str(group), 857 for group, workaround in [(19, 0), (20, 0), (21, 0), 859 owe_check_ok(dev[0], hapd, str(group), str(workaround)) 864 for group, workaround in [(19, 0), (20, 0), (21, 0), (19, 1)]: 865 owe_check_ok(dev[0], hapd, str(group), str(workaround)) [all …]
|
/hostap-3.6.0/src/eap_server/ |
D | eap_server_pwd.c | 158 crypto_ec_deinit(data->grp->group); in eap_pwd_reset() 250 prime_len = crypto_ec_prime_len(data->grp->group); in eap_pwd_build_commit_req() 251 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_build_commit_req() 254 data->my_element = crypto_ec_point_init(data->grp->group); in eap_pwd_build_commit_req() 268 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_build_commit_req() 276 if (crypto_ec_point_invert(data->grp->group, data->my_element) < 0) { in eap_pwd_build_commit_req() 297 if (crypto_ec_point_to_bin(data->grp->group, data->my_element, element, in eap_pwd_build_commit_req() 327 prime_len = crypto_ec_prime_len(data->grp->group); in eap_pwd_build_confirm_req() 328 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_build_confirm_req() 356 if (crypto_ec_point_to_bin(data->grp->group, data->my_element, cruft, in eap_pwd_build_confirm_req() [all …]
|
/hostap-3.6.0/doc/ |
D | p2p.doxygen | 70 P2P module manages discovery and group formation with a single state 142 per-group state for group owners. This is initialized with a call to 143 p2p_group_init() when a group is created and deinitialized with 145 following functions to interact with the P2P per-group state: 179 \section p2p_go_neg P2P device discovery and group formation 182 to implement P2P device discovery and group formation. The function 209 function. If a group owner negotiation from another P2P device is 220 wants to connect by forming a new group, it initiates group owner 225 interface address for the group before group owner negotiation can be 241 lower layer code to transmit an Action frame during group owner [all …]
|
D | ctrl_iface.doxygen | 389 start group formation with a discovered peer). 412 Start P2P group formation with a discovered P2P peer. This includes 413 group owner negotiation, group interface setup, provisioning, and 419 Start P2P group formation with a discovered P2P peer. This includes 420 optional group owner negotiation, group interface setup, provisioning, 431 parameter can be used to request a persistent group to be formed. 433 "join" indicates that this is a command to join an existing group as a 451 without having to maintain a group. 456 Terminate a P2P group. If a new virtual network interface was used for 457 the group, it will also be removed. The network interface name of the [all …]
|
/hostap-3.6.0/wpa_supplicant/ |
D | wpa_supplicant.conf | 1700 group=CCMP TKIP WEP104 WEP40 1711 group=TKIP 1723 group=CCMP TKIP 1799 group=CCMP 1931 group=CCMP 1942 group=TKIP 1970 group=CCMP TKIP WEP104 WEP40 1989 group=CCMP TKIP
|
D | README-P2P | 66 wlan0). When using a separate virtual interface for group operations 67 (e.g., wlan1), the control interface for that group interface may need 122 having to maintain a group. 149 join-a-group style PD instead of GO Negotiation style PD. 156 Start P2P group formation with a discovered P2P peer. This includes 157 optional group owner negotiation, group interface setup, provisioning, 167 parameter can be used to request a persistent group to be formed. The 170 group where this device was the GO. The previously used parameters will 174 "join" indicates that this is a command to join an existing group as a 197 join-a-group operation rather than GO Negotiation. [all …]
|
D | pasn_supplicant.c | 34 u16 group; member 107 ret = sae_set_group(&pasn->sae, pasn->group); in wpas_pasn_wd_sae_commit() 145 int groups[] = { pasn->group, 0 }; in wpas_pasn_wd_sae_rx() 263 struct wpa_ssid *ssid, int group) in wpas_pasn_sae_setup_pt() argument 266 int groups[2] = { group, 0 }; in wpas_pasn_sae_setup_pt() 726 wpa_pasn_add_parameter_ie(buf, pasn->group, wrapped_data, in wpas_pasn_build_auth_1() 799 wpa_pasn_add_parameter_ie(buf, pasn->group, wrapped_data, in wpas_pasn_build_auth_3() 863 pasn->group = 0; in wpas_pasn_reset() 994 int akmp, int cipher, u16 group, int freq, in wpas_pasn_start() argument 1005 if (!dragonfly_suitable_group(group, 1)) { in wpas_pasn_start() [all …]
|
/hostap-3.6.0/src/eap_peer/ |
D | eap_pwd.c | 192 crypto_ec_deinit(data->grp->group); in eap_pwd_deinit() 239 static int eap_pwd_allowed_group(struct eap_pwd_data *data, u16 group) in eap_pwd_allowed_group() argument 244 return group == 19 || group == 20 || group == 21; in eap_pwd_allowed_group() 247 return freq_range_list_includes(&data->allowed_groups, group); in eap_pwd_allowed_group() 383 prime_len = crypto_ec_prime_len(data->grp->group); in eap_pwd_perform_commit_exchange() 384 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_perform_commit_exchange() 573 (int) crypto_ec_prime_len_bits(data->grp->group)); in eap_pwd_perform_commit_exchange() 576 data->my_element = crypto_ec_point_init(data->grp->group); in eap_pwd_perform_commit_exchange() 589 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_perform_commit_exchange() 597 if (crypto_ec_point_invert(data->grp->group, data->my_element) < 0) { in eap_pwd_perform_commit_exchange() [all …]
|
/hostap-3.6.0/src/crypto/ |
D | crypto_openssl.c | 1687 EC_GROUP *group; member 1697 static int crypto_ec_group_2_nid(int group) in crypto_ec_group_2_nid() argument 1700 switch (group) { in crypto_ec_group_2_nid() 1733 struct crypto_ec * crypto_ec_init(int group) in crypto_ec_init() argument 1738 nid = crypto_ec_group_2_nid(group); in crypto_ec_init() 1748 e->group = EC_GROUP_new_by_curve_name(nid); in crypto_ec_init() 1753 if (e->group == NULL || e->bnctx == NULL || e->prime == NULL || in crypto_ec_init() 1755 !EC_GROUP_get_curve_GFp(e->group, e->prime, e->a, e->b, e->bnctx) || in crypto_ec_init() 1756 !EC_GROUP_get_order(e->group, e->order, e->bnctx)) { in crypto_ec_init() 1773 EC_GROUP_free(e->group); in crypto_ec_deinit() [all …]
|
/hostap-3.6.0/wpa_supplicant/utils/ |
D | log2pcap.py | 44 if m.group(2): 45 ts = float(m.group(2)) 48 hexdata = m.group(3)
|