Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 135) sorted by relevance

123456

/hostap-latest/src/p2p/
Dp2p_group.c49 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 …]
Dp2p.h1793 void p2p_group_deinit(struct p2p_group *group);
1803 int p2p_group_notif_assoc(struct p2p_group *group, const u8 *addr,
1815 struct wpabuf * p2p_group_assoc_resp_ie(struct p2p_group *group, u8 status);
1822 void p2p_group_notif_disassoc(struct p2p_group *group, const u8 *addr);
1828 void p2p_group_notif_formation_done(struct p2p_group *group);
1841 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa,
1855 int p2p_group_match_dev_type(struct p2p_group *group, struct wpabuf *wps);
1860 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p);
1867 int p2p_group_go_discover(struct p2p_group *group, const u8 *dev_id,
2146 unsigned int p2p_get_group_num_members(struct p2p_group *group);
[all …]
/hostap-latest/src/common/
Ddragonfly.c18 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()
Dsae.c26 int sae_set_group(struct sae_data *sae, int group) in sae_set_group() argument
33 if (!dragonfly_suitable_group(group, 0)) { in sae_set_group()
34 wpa_printf(MSG_DEBUG, "SAE: Reject unsuitable group %d", group); in sae_set_group()
45 tmp->ec = crypto_ec_init(group); in sae_set_group()
48 group); in sae_set_group()
49 sae->group = group; in sae_set_group()
58 tmp->dh = dh_groups_get(group); in sae_set_group()
61 group); in sae_set_group()
62 sae->group = group; in sae_set_group()
91 "SAE: Group %d not supported by the crypto library", group); in sae_set_group()
[all …]
Dsae.h33 int group; member
91 int group; member
118 int group; member
126 int sae_set_group(struct sae_data *sae, int group);
145 u16 sae_group_allowed(struct sae_data *sae, int *allowed_groups, u16 group);
/hostap-latest/src/eap_common/
Deap_pwd_common.c100 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 …]
Deap_pwd_common.h18 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,
/hostap-latest/src/ap/
Dwpa_auth.c55 struct wpa_group *group);
58 struct wpa_group *group);
60 struct wpa_group *group);
67 struct wpa_group *group);
69 struct wpa_group *group);
71 struct wpa_group *group);
75 struct wpa_group *group);
118 sm->wpa_auth->group->GKeyDoneStations--; in wpa_gkeydone_sta()
123 sm->mld_links[link_id].wpa_auth->group->GKeyDoneStations--; in wpa_gkeydone_sta()
141 sm->mld_links[link_id].wpa_auth->group); in wpa_release_link_auth_ref()
[all …]
/hostap-latest/src/fst/
Dfst.c43 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 …]
Dfst_group.c486 void fst_group_delete(struct fst_group *group) in fst_group_delete() argument
490 dl_list_del(&group->global_groups_lentry); in fst_group_delete()
491 WPA_ASSERT(dl_list_empty(&group->ifaces)); in fst_group_delete()
492 foreach_fst_ctrl_call(on_group_deleted, group); in fst_group_delete()
493 fst_printf_group(group, MSG_DEBUG, "instance deleted"); in fst_group_delete()
494 while ((s = fst_session_global_get_first_by_group(group)) != NULL) in fst_group_delete()
496 os_free(group); in fst_group_delete()
500 bool fst_group_delete_if_empty(struct fst_group *group) in fst_group_delete_if_empty() argument
502 bool is_empty = !fst_group_has_ifaces(group) && in fst_group_delete_if_empty()
503 !fst_session_global_get_first_by_group(group); in fst_group_delete_if_empty()
[all …]
/hostap-latest/tests/hwsim/
Dtest_suite_b.py73 pairwise="GCMP", group="GCMP", scan_freq="2412")
153 pairwise="GCMP", group="GCMP", scan_freq="2412")
194 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412")
268 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412")
301 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412",
327 pairwise="GCMP", group="GCMP", scan_freq="2412")
344 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412")
361 pairwise="GCMP", group="GCMP", scan_freq="2412",
380 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412",
445 pairwise="GCMP-256", group="GCMP-256", scan_freq="2412")
[all …]
Dtest_ap_ciphers.py38 pairwise=cipher, group=group_cipher, scan_freq="2412")
61 pairwise="CCMP", group="CCMP", scan_freq="2412")
103 pairwise="TKIP", group="TKIP", scan_freq="2412")
143 pairwise="TKIP", group="TKIP", scan_freq="2412")
191 pairwise="TKIP", group="TKIP", scan_freq="2412")
227 pairwise="TKIP", group="TKIP", scan_freq="2412")
230 pairwise="TKIP", group="TKIP", scan_freq="2412")
259 pairwise="TKIP", group="TKIP", scan_freq="2412",
336 pairwise=cipher, group="CCMP", scan_freq="2412")
346 group="CCMP CCMP-256 GCMP GCMP-256", scan_freq="2412")
[all …]
Dtest_sae.py1156 group = "1300"
1160 …CESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar + element…
1162 …X_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar[:-2])
1180 group = "1300"
1187 …CESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar + element…
1203 group = "1600"
1207 …CESS freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "030001000000" + group + scalar + element)
1225 group = "1300"
1231 …freq=2412 datarate=0 ssi_signal=-30 frame=" + hdr + "03000100" + status + group + scalar + element…
1269 group = "1300"
[all …]
Dtest_fst_module.py1952 group = ap1.fst_group
2264 def fst_attach_ap(dev, ifname, group): argument
2265 cmd = "FST-ATTACH %s %s" % (ifname, group)
2271 for t in ["attached", "ifname=" + ifname, "group=" + group]:
2275 def fst_attach_sta(dev, ifname, group): argument
2276 if "OK" not in dev.global_request("FST-ATTACH %s %s" % (ifname, group)):
2281 for t in ["attached", "ifname=" + ifname, "group=" + group]:
2285 def fst_detach_ap(dev, ifname, group): argument
2291 for t in ["detached", "ifname=" + ifname, "group=" + group]:
2295 def fst_detach_sta(dev, ifname, group): argument
[all …]
/hostap-latest/src/eap_server/
Deap_server_pwd.c158 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()
300 if (crypto_ec_point_to_bin(data->grp->group, data->my_element, element, in eap_pwd_build_commit_req()
330 prime_len = crypto_ec_prime_len(data->grp->group); in eap_pwd_build_confirm_req()
331 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_build_confirm_req()
361 if (crypto_ec_point_to_bin(data->grp->group, data->my_element, cruft, in eap_pwd_build_confirm_req()
[all …]
/hostap-latest/src/crypto/
Dcrypto_openssl.c148 static int EC_POINT_get_affine_coordinates(const EC_GROUP *group, in EC_POINT_get_affine_coordinates() argument
152 return EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx); in EC_POINT_get_affine_coordinates()
156 static int EC_POINT_set_affine_coordinates(const EC_GROUP *group, in EC_POINT_set_affine_coordinates() argument
160 return EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx); in EC_POINT_set_affine_coordinates()
171 static int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates() argument
175 return EC_POINT_set_compressed_coordinates_GFp(group, point, x, y_bit, in EC_POINT_set_compressed_coordinates()
180 static int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, in EC_GROUP_get_curve() argument
183 return EC_GROUP_get_curve_GFp(group, p, a, b, ctx); in EC_GROUP_get_curve()
2244 EC_GROUP *group; member
2255 static int crypto_ec_group_2_nid(int group) in crypto_ec_group_2_nid() argument
[all …]
/hostap-latest/doc/
Dp2p.doxygen70 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 …]
Dctrl_iface.doxygen389 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-latest/src/eap_peer/
Deap_pwd.c192 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-latest/wpa_supplicant/
Dwpa_supplicant.conf1800 group=CCMP TKIP WEP104 WEP40
1811 group=TKIP
1823 group=CCMP TKIP
1899 group=CCMP
2031 group=CCMP
2042 group=TKIP
2070 group=CCMP TKIP WEP104 WEP40
2089 group=CCMP TKIP
Dpasn_supplicant.c36 u16 group; member
116 wpas_pasn_sae_derive_pt(struct wpa_ssid *ssid, int group) in wpas_pasn_sae_derive_pt() argument
119 int groups[2] = { group, 0 }; in wpas_pasn_sae_derive_pt()
135 static int wpas_pasn_sae_setup_pt(struct wpa_ssid *ssid, int group) in wpas_pasn_sae_setup_pt() argument
145 ssid->pt = wpas_pasn_sae_derive_pt(ssid, group); in wpas_pasn_sae_setup_pt()
161 int network_id = 0, group = 19; in wpas_pasn_get_params_from_bss() local
257 (wpas_pasn_sae_setup_pt(ssid, group) == 0)) { in wpas_pasn_get_params_from_bss()
263 (wpas_pasn_sae_setup_pt(ssid, group) == 0)) { in wpas_pasn_get_params_from_bss()
304 peer->group = group; in wpas_pasn_get_params_from_bss()
380 peer->cipher, peer->group, in wpas_pasn_configure_next_peer()
[all …]
DREADME-P2P66 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 …]
/hostap-latest/src/pasn/
Dpasn_initiator.c44 ret = sae_set_group(&pasn->sae, pasn->group); in wpas_pasn_wd_sae_commit()
81 int groups[] = { pasn->group, 0 }; in wpas_pasn_wd_sae_rx()
584 wpa_pasn_add_parameter_ie(buf, pasn->group, wrapped_data, in wpas_pasn_build_auth_1()
649 wpa_pasn_add_parameter_ie(buf, pasn->group, wrapped_data, in wpas_pasn_build_auth_3()
707 pasn->group = 0; in wpa_pasn_reset()
876 int cipher, u16 group, int freq, in wpas_pasn_send_auth_1() argument
884 pasn->ecdh = crypto_ecdh_init(group); in wpas_pasn_send_auth_1()
908 pasn->group = group; in wpas_pasn_send_auth_1()
919 pasn->group); in wpas_pasn_send_auth_1()
946 int akmp, int cipher, u16 group, in wpas_pasn_start() argument
[all …]
Dpasn_responder.c47 int groups[] = { pasn->group, 0 }; in pasn_wd_handle_sae_commit()
78 ret = sae_set_group(&pasn->sae, pasn->group); in pasn_wd_handle_sae_commit()
375 u16 group) in handle_auth_pasn_comeback() argument
407 wpa_pasn_add_parameter_ie(buf, group, in handle_auth_pasn_comeback()
488 wpa_pasn_add_parameter_ie(buf, pasn->group, in handle_auth_pasn_resp()
689 for (i = 0; groups[i] > 0 && groups[i] != pasn_params.group; i++) in handle_auth_pasn_1()
692 if (!pasn_params.group || groups[i] != pasn_params.group) { in handle_auth_pasn_1()
694 pasn_params.group); in handle_auth_pasn_1()
722 pasn_params.group); in handle_auth_pasn_1()
726 pasn->ecdh = crypto_ecdh_init(pasn_params.group); in handle_auth_pasn_1()
[all …]
/hostap-latest/wpa_supplicant/utils/
Dlog2pcap.py45 if m.group(2):
46 ts = float(m.group(2))
49 hexdata = m.group(3)

123456