Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Ddhgroup.h196 extern struct dhgroup dh_modp768;
197 extern struct dhgroup dh_modp1024;
198 extern struct dhgroup dh_modp1536;
199 extern struct dhgroup dh_modp2048;
200 extern struct dhgroup dh_modp3072;
201 extern struct dhgroup dh_modp4096;
202 extern struct dhgroup dh_modp6144;
203 extern struct dhgroup dh_modp8192;
Doakley.h156 struct dhgroup { struct
180 extern void oakley_dhgrp_free __P((struct dhgroup *)); argument
181 extern int oakley_dh_compute __P((const struct dhgroup *,
183 extern int oakley_dh_generate __P((const struct dhgroup *,
185 extern int oakley_setdhgroup __P((int, struct dhgroup **));
Dremoteconf.h101 struct dhgroup *dhgrp; /* use it when only aggressive mode */
133 struct dhgroup;
150 struct dhgroup *dhgrp; /* don't use it if aggressive mode */
Dalgorithm.h167 struct dhgroup *dhgroup; member
202 extern struct dhgroup *alg_oakley_dhdef_group __P((int));
Doakley.c109 memset(&a, 0, sizeof(struct dhgroup)); \
117 struct dhgroup dh_modp768;
118 struct dhgroup dh_modp1024;
119 struct dhgroup dh_modp1536;
120 struct dhgroup dh_modp2048;
121 struct dhgroup dh_modp3072;
122 struct dhgroup dh_modp4096;
123 struct dhgroup dh_modp6144;
124 struct dhgroup dh_modp8192;
169 struct dhgroup *dhgrp; in oakley_dhgrp_free()
[all …]
Dalgorithm.c724 struct dhgroup *
731 if (f == NULL || f->dhgroup == NULL)
734 return f->dhgroup;
Dhandler.h293 struct dhgroup *pfsgrp; /* DH; prime number */
Dipsec_doi.c570 sa->dhgrp = racoon_calloc(1, sizeof(struct dhgroup));
/external/wpa_supplicant_8/src/eap_peer/
Deap_eke.c31 u8 dhgroup; /* forced DH group or 0 to allow all supported */ member
103 data->dhgroup = atoi(pos + 8); in eap_eke_init()
105 data->dhgroup); in eap_eke_init()
166 static int eap_eke_supp_dhgroup(u8 dhgroup) in eap_eke_supp_dhgroup() argument
168 return dhgroup == EAP_EKE_DHGROUP_EKE_2 || in eap_eke_supp_dhgroup()
169 dhgroup == EAP_EKE_DHGROUP_EKE_5 || in eap_eke_supp_dhgroup()
170 dhgroup == EAP_EKE_DHGROUP_EKE_14 || in eap_eke_supp_dhgroup()
171 dhgroup == EAP_EKE_DHGROUP_EKE_15 || in eap_eke_supp_dhgroup()
172 dhgroup == EAP_EKE_DHGROUP_EKE_16; in eap_eke_supp_dhgroup()
267 if ((data->dhgroup && data->dhgroup != *tmp) || in eap_eke_process_id()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c42 static int eap_eke_dhcomp_len(u8 dhgroup, u8 encr) in eap_eke_dhcomp_len() argument
46 dhlen = eap_eke_dh_len(dhgroup); in eap_eke_dhcomp_len()
377 dh_len = eap_eke_dh_len(sess->dhgroup); in eap_eke_dhcomp()
417 dh = eap_eke_dh_group(sess->dhgroup); in eap_eke_shared_secret()
731 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr, in eap_eke_session_init() argument
734 sess->dhgroup = dhgroup; in eap_eke_session_init()
748 sess->dhcomp_len = eap_eke_dhcomp_len(sess->dhgroup, sess->encr); in eap_eke_session_init()
Deap_eke_common.h63 u8 dhgroup; member
81 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr,
/external/wpa_supplicant_8/src/eap_server/
Deap_server_eke.c277 if (eap_eke_dh_init(data->sess.dhgroup, data->dh_priv, pub) < 0) { in eap_eke_build_commit()