Home
last modified time | relevance | path

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

12345678910>>...21

/dragonfly/contrib/wpa_supplicant/src/p2p/
H A Dp2p_group.c51 group = os_zalloc(sizeof(*group)); in p2p_group_init()
69 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_init()
71 return group; in p2p_group_init()
156 if (group->num_members >= group->cfg->max_clients) in p2p_group_add_common_ies()
408 group->wfd_ie = wifi_display_build_go_ie(group); in wifi_display_group_update()
635 group->num_members, group->cfg->max_clients); in p2p_group_notif_assoc()
636 if (group->num_members == group->cfg->max_clients) in p2p_group_notif_assoc()
640 group->cfg->idle_update(group->cfg->cb_ctx, 0); in p2p_group_notif_assoc()
701 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_notif_disassoc()
860 if (!group) in p2p_group_get_client_interface_addr()
[all …]
/dragonfly/crypto/libressl/crypto/ec/
H A Dec_lib.c124 group->meth->group_finish(group); in EC_GROUP_free()
145 group->meth->group_clear_finish(group); in EC_GROUP_clear_free()
147 group->meth->group_finish(group); in EC_GROUP_clear_free()
155 freezero(group->seed, group->seed_len); in EC_GROUP_clear_free()
156 freezero(group, sizeof *group); in EC_GROUP_clear_free()
319 if (!BN_div_ct(&group->cofactor, NULL, &group->cofactor, &group->order, in ec_guess_cofactor()
371 group->generator = EC_POINT_new(group); in EC_GROUP_set_generator()
417 return group->meth->group_order_bits(group); in EC_GROUP_order_bits()
565 return group->meth->group_get_degree(group); in EC_GROUP_get_degree()
1081 return group->meth->dbl(group, r, a, ctx); in EC_POINT_dbl()
[all …]
H A Dec2_mult.c98 if (!group->meth->field_sqr(group, x, x, ctx)) in gf2m_Mdouble()
100 if (!group->meth->field_sqr(group, t1, z, ctx)) in gf2m_Mdouble()
102 if (!group->meth->field_mul(group, z, x, t1, ctx)) in gf2m_Mdouble()
104 if (!group->meth->field_sqr(group, x, x, ctx)) in gf2m_Mdouble()
106 if (!group->meth->field_sqr(group, t1, t1, ctx)) in gf2m_Mdouble()
108 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) in gf2m_Mdouble()
150 if (!group->meth->field_sqr(group, z1, z1, ctx)) in gf2m_Madd()
220 if (!group->meth->field_sqr(group, t4, x, ctx)) in gf2m_Mxy()
306 if (!group->meth->field_sqr(group, z2, x1, ctx)) in ec_GF2m_montgomery_point_multiply()
412 if (!group->meth->invert(group, p, ctx)) in ec_GF2m_simple_mul()
[all …]
H A Decp_smpl.c209 if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) in ec_GFp_simple_group_set_curve()
218 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) in ec_GFp_simple_group_set_curve()
253 if (!group->meth->field_decode(group, a, &group->a, ctx)) in ec_GFp_simple_group_get_curve()
257 if (!group->meth->field_decode(group, b, &group->b, ctx)) in ec_GFp_simple_group_get_curve()
314 if (!group->meth->field_decode(group, a, &group->a, ctx)) in ec_GFp_simple_group_check_discriminant()
316 if (!group->meth->field_decode(group, b, &group->b, ctx)) in ec_GFp_simple_group_check_discriminant()
595 if (!group->meth->field_sqr(group, Z_2, Z_1, ctx)) in ec_GFp_simple_point_get_affine_coordinates()
905 if (!field_mul(group, n1, n1, &group->a, ctx)) in ec_GFp_simple_dbl()
1050 if (!field_mul(group, tmp, Z4, &group->a, ctx)) in ec_GFp_simple_is_on_curve()
1059 if (!field_mul(group, tmp, &group->b, Z6, ctx)) in ec_GFp_simple_is_on_curve()
[all …]
H A Dec_oct.c82 if (group->meth != point->meth) { in EC_POINT_set_compressed_coordinates()
89 group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates()
98 group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates()
101 if (!group->meth->point_set_compressed_coordinates(group, point, x, in EC_POINT_set_compressed_coordinates()
132 if (group->meth->point2oct == 0 in EC_POINT_point2oct()
137 if (group->meth != point->meth) { in EC_POINT_point2oct()
143 return ec_GFp_simple_point2oct(group, point, in EC_POINT_point2oct()
156 return group->meth->point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()
163 if (group->meth->oct2point == 0 && in EC_POINT_oct2point()
168 if (group->meth != point->meth) { in EC_POINT_oct2point()
[all …]
H A Dec2_smpl.c211 i = BN_GF2m_poly2arr(&group->field, group->poly, 6) - 1; in ec_GF2m_simple_group_set_curve()
217 if (!BN_GF2m_mod_arr(&group->a, a, group->poly)) in ec_GF2m_simple_group_set_curve()
221 for (i = group->a.top; i < group->a.dmax; i++) in ec_GF2m_simple_group_set_curve()
225 if (!BN_GF2m_mod_arr(&group->b, b, group->poly)) in ec_GF2m_simple_group_set_curve()
229 for (i = group->b.top; i < group->b.dmax; i++) in ec_GF2m_simple_group_set_curve()
295 if (!BN_GF2m_mod_arr(b, &group->b, group->poly)) in ec_GF2m_simple_group_check_discriminant()
506 if (!group->meth->field_div(group, s, s, t, ctx)) in ec_GF2m_simple_add()
508 if (!group->meth->field_sqr(group, x2, s, ctx)) in ec_GF2m_simple_add()
523 if (!group->meth->field_div(group, s, y1, x1, ctx)) in ec_GF2m_simple_add()
528 if (!group->meth->field_sqr(group, x2, s, ctx)) in ec_GF2m_simple_add()
[all …]
H A Decp_mont.c127 group->field_data1 = NULL; in ec_GFp_mont_group_init()
128 group->field_data2 = NULL; in ec_GFp_mont_group_init()
137 group->field_data1 = NULL; in ec_GFp_mont_group_finish()
139 group->field_data2 = NULL; in ec_GFp_mont_group_finish()
148 group->field_data1 = NULL; in ec_GFp_mont_group_clear_finish()
150 group->field_data2 = NULL; in ec_GFp_mont_group_clear_finish()
199 group->field_data1 = NULL; in ec_GFp_mont_group_set_curve()
201 group->field_data2 = NULL; in ec_GFp_mont_group_set_curve()
220 group->field_data1 = mont; in ec_GFp_mont_group_set_curve()
222 group->field_data2 = one; in ec_GFp_mont_group_set_curve()
[all …]
H A Decp_oct.c105 if (group->meth->field_decode == 0) { in ec_GFp_simple_set_compressed_coordinates()
107 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates()
109 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates()
119 if (group->a_is_minus3) { in ec_GFp_simple_set_compressed_coordinates()
127 if (group->meth->field_decode) { in ec_GFp_simple_set_compressed_coordinates()
128 if (!group->meth->field_decode(group, tmp2, &group->a, ctx)) in ec_GFp_simple_set_compressed_coordinates()
134 if (!group->meth->field_mul(group, tmp2, &group->a, x, ctx)) in ec_GFp_simple_set_compressed_coordinates()
143 if (group->meth->field_decode) { in ec_GFp_simple_set_compressed_coordinates()
144 if (!group->meth->field_decode(group, tmp2, &group->b, ctx)) in ec_GFp_simple_set_compressed_coordinates()
149 if (!BN_mod_add_quick(tmp1, tmp1, &group->b, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
[all …]
H A Dec_key.c89 if (ret->group == NULL) { in EC_KEY_new_by_curve_name()
121 EC_GROUP_free(r->group); in EC_KEY_free()
149 if (src->group) { in EC_KEY_copy()
154 if (dest->group == NULL) in EC_KEY_copy()
156 if (!EC_GROUP_copy(dest->group, src->group)) in EC_KEY_copy()
434 return key->group; in EC_KEY_get0_group()
443 EC_GROUP_free(key->group); in EC_KEY_set_group()
444 key->group = EC_GROUP_dup(group); in EC_KEY_set_group()
504 if (key->group != NULL) in EC_KEY_set_conv_form()
543 if (key->group != NULL) in EC_KEY_set_asn1_flag()
[all …]
H A Dec2_oct.c121 if (!BN_GF2m_mod_arr(x, x_, group->poly)) in ec_GF2m_simple_set_compressed_coordinates()
128 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) in ec_GF2m_simple_set_compressed_coordinates()
131 if (!group->meth->field_sqr(group, tmp, x, ctx)) in ec_GF2m_simple_set_compressed_coordinates()
133 if (!group->meth->field_div(group, tmp, &group->b, tmp, ctx)) in ec_GF2m_simple_set_compressed_coordinates()
135 if (!BN_GF2m_add(tmp, &group->a, tmp)) in ec_GF2m_simple_set_compressed_coordinates()
151 if (!group->meth->field_mul(group, y, x, z, ctx)) in ec_GF2m_simple_set_compressed_coordinates()
233 if (!group->meth->field_div(group, yxi, y, x, ctx)) in ec_GF2m_simple_point2oct()
340 return EC_POINT_set_to_infinity(group, point); in ec_GF2m_simple_oct2point()
367 if (BN_ucmp(x, &group->field) >= 0) { in ec_GF2m_simple_oct2point()
381 if (BN_ucmp(y, &group->field) >= 0) { in ec_GF2m_simple_oct2point()
[all …]
H A Dec_mult.c101 ec_pre_comp_new(const EC_GROUP * group) in ec_pre_comp_new() argument
105 if (!group) in ec_pre_comp_new()
113 ret->group = group; in ec_pre_comp_new()
364 if (group->meth != r->meth) { in ec_wNAF_mul()
372 if (group->meth != points[i]->meth) { in ec_wNAF_mul()
591 *v = EC_POINT_new(group); in ec_wNAF_mul()
601 if (!(tmp = EC_POINT_new(group))) in ec_wNAF_mul()
634 if (!EC_POINT_dbl(group, r, r, ctx)) in ec_wNAF_mul()
675 if (!EC_POINT_invert(group, r, ctx)) in ec_wNAF_mul()
800 if (!(tmp_point = EC_POINT_new(group)) || !(base = EC_POINT_new(group))) { in ec_wNAF_precompute_mult()
[all …]
/dragonfly/share/mk/
H A Dbsd.files.mk20 .if defined(${group}) && !empty(${group})
27 _${group}FILES=
32 ${group}OWN_${file:T}?= ${${group}OWN}
33 ${group}GRP_${file:T}?= ${${group}GRP}
34 ${group}MODE_${file:T}?= ${${group}MODE}
35 ${group}DIR_${file:T}?= ${${group}DIR}
37 ${group}NAME_${file:T}?= ${${group}NAME}
53 _${group}INS: ${_${group}FILES}
55 ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \
57 ${DESTDIR}${${group}DIR}/${${group}NAME}
[all …]
H A Dbsd.incs.mk20 .if defined(${group}) && !empty(${group})
27 _${group}INCS=
32 ${group}OWN_${header:T}?= ${${group}OWN}
33 ${group}GRP_${header:T}?= ${${group}GRP}
34 ${group}MODE_${header:T}?= ${${group}MODE}
35 ${group}DIR_${header:T}?= ${${group}DIR}
37 ${group}NAME_${header:T}?= ${${group}NAME}
53 _${group}INS: ${_${group}INCS}
55 ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \
56 ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME}
[all …]
/dragonfly/contrib/bmake/mk/
H A Dscripts.mk33 .for group in ${SCRIPTSGROUPS}
34 buildfiles: ${${group}}
41 .if !empty(${group}) && defined(${group}DIR)
42 .if ${group} != "SCRIPTS"
46 STAGE_DIR.${group} ?= ${STAGE_OBJTOP}${${group}DIR}
49 ${group}_INSTALL_OWN.${script:T} ?= ${${group}_INSTALL_OWN}
50 ${group}DIR.${script:T} ?= ${${group}DIR_${script:T}:U${${group}DIR}}
53 ${group}NAME.${script} ?= ${${group}NAME_${script:T}:U${script:${SCRIPTSNAME_MOD}}}
55 STAGE_AS_SETS += ${group}
57 stage_as.${group}: ${script}
[all …]
H A Dinc.mk32 .for group in ${INCGROUPS}
33 buildincludes: ${${group}}
40 .for group in ${INCGROUPS}
41 .if !empty(${group})
42 .if ${group} != "INC"
44 ${group}DIR ?= ${INCDIR}
47 STAGE_DIR.${group} ?= ${STAGE_OBJTOP}${${group}DIR}
50 ${group}_INSTALL_OWN.${header:T} ?= ${${group}_INSTALL_OWN}
51 ${group}DIR.${header:T} ?= ${${group}DIR}
55 STAGE_AS_SETS += ${group}
[all …]
H A Dfiles.mk26 .for group in ${FILESGROUPS}
27 buildfiles: ${${group}}
35 .for group in ${FILESGROUPS}
36 .if !empty(${group}) && defined(${group}DIR)
37 .if ${group} != "FILES"
41 STAGE_DIR.${group} ?= ${STAGE_OBJTOP}${${group}DIR}
44 ${group}_INSTALL_OWN.${file:T} ?= ${${group}_INSTALL_OWN}
45 ${group}DIR.${file:T} ?= ${${group}DIR}
49 STAGE_AS_SETS += ${group}
51 stage_as.${group}: ${file}
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dreggroups.c44 group->name = name; in reggroup_new()
45 group->type = type; in reggroup_new()
46 return group; in reggroup_new()
54 return group->name; in reggroup_name()
60 return group->type; in reggroup_type()
67 struct reggroup *group; member
97 el->group = group; in add_group()
177 if (group == save_reggroup || group == restore_reggroup) in default_register_reggroup_p()
195 if (group == NULL) in reggroups_dump()
206 if (group == NULL) in reggroups_dump()
[all …]
/dragonfly/crypto/libressl/crypto/gost/
H A Dgostr341001_key.c64 EC_GROUP *group; member
84 ret->group = NULL; in GOST_KEY_new()
104 EC_GROUP_free(r->group); in GOST_KEY_free()
196 point = EC_POINT_new(key->group); in GOST_KEY_set_public_key_affine_coordinates()
236 return key->group; in GOST_KEY_get0_group()
242 EC_GROUP_free(key->group); in GOST_KEY_set_group()
243 key->group = EC_GROUP_dup(group); in GOST_KEY_set_group()
244 return (key->group == NULL) ? 0 : 1; in GOST_KEY_set_group()
298 const EC_GROUP *group; in GOST_KEY_get_size() local
302 group = GOST_KEY_get0_group(r); in GOST_KEY_get_size()
[all …]
/dragonfly/contrib/wpa_supplicant/src/common/
H A 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()
/dragonfly/include/
H A Dgrp.h56 struct group { struct
66 struct group *getgrent(void);
68 struct group *getgrgid(gid_t);
69 struct group *getgrnam(const char *);
74 struct group * (*)(const char *),
75 struct group * (*)(gid_t));
81 int getgrgid_r(gid_t, struct group *, char *, size_t,
82 struct group **);
83 int getgrnam_r(const char *, struct group *, char *, size_t,
84 struct group **);
[all …]
/dragonfly/crypto/libressl/include/openssl/
H A Dec.h196 void EC_GROUP_free(EC_GROUP *group);
201 void EC_GROUP_clear_free(EC_GROUP *group);
221 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
253 int EC_GROUP_order_bits(const EC_GROUP *group);
267 void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
273 int EC_GROUP_get_curve_name(const EC_GROUP *group);
275 void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
276 int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
337 int EC_GROUP_get_degree(const EC_GROUP *group);
344 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
[all …]
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dwpa_auth.c290 group = wpa_auth->group; in wpa_rekey_gtk()
558 group = wpa_auth->group; in wpa_deinit()
561 group = group->next; in wpa_deinit()
591 group = wpa_auth->group; in wpa_reconfig()
3747 group->GTK[group->GN - 1], group->GTK_len); in wpa_gtk_update()
3916 group->GM = group->GN; in wpa_group_setkeys()
4662 group = group->next; in wpa_auth_ensure_group()
4703 group = group->next; in wpa_auth_release_group()
4748 group = group->next; in wpa_auth_sta_set_vlan()
4768 sm->group = group; in wpa_auth_sta_set_vlan()
[all …]
/dragonfly/etc/periodic/daily/
H A D200.backup-passwd21 elif [ ! -f /etc/group ]
50 if [ ! -f $bak/group.bak ]
54 cp -p /etc/group $bak/group.bak || rc=3
57 if ! cmp -s $bak/group.bak /etc/group
61 diff -u $bak/group.bak /etc/group
62 mv $bak/group.bak $bak/group.bak2
63 cp -p /etc/group $bak/group.bak || rc=3
66 if [ -f /etc/group ]
70 chkgrp /etc/group || rc=3
/dragonfly/contrib/wpa_supplicant/src/eap_common/
H A Deap_pwd_common.c100 grp->group = crypto_ec_init(num); in get_eap_pwd_group()
101 if (!grp->group) { in get_eap_pwd_group()
148 prime = crypto_ec_get_prime(grp->group); in compute_password_element()
388 prime = crypto_ec_get_prime(group->group); in eap_pwd_get_element()
389 prime_len = crypto_ec_prime_len(group->group); in eap_pwd_get_element()
398 element = crypto_ec_point_from_bin(group->group, buf); in eap_pwd_get_element()
405 if (!crypto_ec_point_is_on_curve(group->group, element) || in eap_pwd_get_element()
406 crypto_ec_point_is_at_infinity(group->group, element)) { in eap_pwd_get_element()
426 order = crypto_ec_get_order(group->group); in eap_pwd_get_scalar()
427 order_len = crypto_ec_order_len(group->group); in eap_pwd_get_scalar()
[all …]
/dragonfly/contrib/wpa_supplicant/src/fst/
H A Dfst.c43 struct fst_group *group = NULL; in fst_attach() local
53 group = g; in fst_attach()
58 if (!group) { in fst_attach()
60 if (!group) { in fst_attach()
73 fst_group_delete(group); in fst_attach()
78 fst_group_update_ie(group); in fst_attach()
95 fst_group_get_id(group)); in fst_detach()
100 fst_group_update_ie(group); in fst_detach()
101 fst_group_delete_if_empty(group); in fst_detach()
117 struct fst_group *group; in fst_global_deinit() local
[all …]

12345678910>>...21