Home
last modified time | relevance | path

Searched refs:dhgroup (Results 1 – 14 of 14) 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.c113 memset(&a, 0, sizeof(struct dhgroup)); \
121 struct dhgroup dh_modp768;
122 struct dhgroup dh_modp1024;
123 struct dhgroup dh_modp1536;
124 struct dhgroup dh_modp2048;
125 struct dhgroup dh_modp3072;
126 struct dhgroup dh_modp4096;
127 struct dhgroup dh_modp6144;
128 struct dhgroup dh_modp8192;
173 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
102 data->dhgroup = atoi(pos + 8); in eap_eke_init()
104 data->dhgroup); in eap_eke_init()
165 static int eap_eke_supp_dhgroup(u8 dhgroup) in eap_eke_supp_dhgroup() argument
167 return dhgroup == EAP_EKE_DHGROUP_EKE_2 || in eap_eke_supp_dhgroup()
168 dhgroup == EAP_EKE_DHGROUP_EKE_5 || in eap_eke_supp_dhgroup()
169 dhgroup == EAP_EKE_DHGROUP_EKE_14 || in eap_eke_supp_dhgroup()
170 dhgroup == EAP_EKE_DHGROUP_EKE_15 || in eap_eke_supp_dhgroup()
171 dhgroup == EAP_EKE_DHGROUP_EKE_16; in eap_eke_supp_dhgroup()
266 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()
349 dh_len = eap_eke_dh_len(sess->dhgroup); in eap_eke_dhcomp()
386 dh = eap_eke_dh_group(sess->dhgroup); in eap_eke_shared_secret()
699 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr, in eap_eke_session_init() argument
702 sess->dhgroup = dhgroup; in eap_eke_session_init()
710 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/openssh/
Ddh.h29 struct dhgroup { struct
Ddh.c46 parse_prime(int linenum, char *line, struct dhgroup *dhg) in parse_prime()
152 struct dhgroup dhg; in choose_dh()
/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()