Home
last modified time | relevance | path

Searched refs:dhgrp (Results 1 – 11 of 11) sorted by relevance

/external/ipsec-tools/src/racoon/
Dremoteconf.h101 struct dhgroup *dhgrp; /* use it when only aggressive mode */ member
150 struct dhgroup *dhgrp; /* don't use it if aggressive mode */ member
Dremoteconf.c311 if (rmconf->dhgrp)
312 oakley_dhgrp_free(rmconf->dhgrp);
322 if (sa->dhgrp)
323 oakley_dhgrp_free(sa->dhgrp);
690 if(sa->dhgrp != NULL) in dupisakmpsa()
691 oakley_setdhgroup (sa->dh_group, &(res->dhgrp)); in dupisakmpsa()
Dipsec_doi.c267 if (sa->dhgrp) {
268 if (sa->dhgrp->prime && sa->dhgrp->gen1) {
274 oakley_dhgrp_free(sa->dhgrp);
275 sa->dhgrp=NULL;
278 if (oakley_setdhgroup(sa->dh_group, &sa->dhgrp) == -1) {
279 sa->dhgrp = NULL;
442 if (tsap->dhgrp != NULL){
443 oakley_dhgrp_free(tsap->dhgrp);
444 tsap->dhgrp = NULL;
539 if (sa.dhgrp != NULL){
[all …]
Disakmp_newg.c206 switch (osa->dhgrp) {
214 "dh group %d isn't supported.\n", osa->dhgrp);
Doakley.c168 oakley_dhgrp_free(dhgrp) in oakley_dhgrp_free() argument
169 struct dhgroup *dhgrp; in oakley_dhgrp_free()
171 if (dhgrp->prime)
172 vfree(dhgrp->prime);
173 if (dhgrp->curve_a)
174 vfree(dhgrp->curve_a);
175 if (dhgrp->curve_b)
176 vfree(dhgrp->curve_b);
177 if (dhgrp->order)
178 vfree(dhgrp->order);
[all …]
Disakmp_agg.c165 if (iph1->rmconf->dhgrp == NULL) {
172 if (oakley_dh_generate(iph1->rmconf->dhgrp,
542 if (oakley_dh_compute(iph1->rmconf->dhgrp, iph1->dhpub,
978 if (oakley_dh_generate(iph1->rmconf->dhgrp,
988 if (oakley_dh_compute(iph1->approval->dhgrp, iph1->dhpub,
Disakmp_base.c433 if (oakley_dh_generate(iph1->approval->dhgrp,
699 if (oakley_dh_compute(iph1->approval->dhgrp, iph1->dhpub,
1161 if (oakley_dh_generate(iph1->approval->dhgrp,
1166 if (oakley_dh_compute(iph1->approval->dhgrp, iph1->dhpub,
Disakmp_ident.c370 if (oakley_dh_generate(iph1->approval->dhgrp,
590 if (oakley_dh_compute(iph1->approval->dhgrp, iph1->dhpub,
1271 if (oakley_dh_generate(iph1->approval->dhgrp,
1307 if (oakley_dh_compute(iph1->approval->dhgrp, iph1->dhpub,
Dcfparse.y1621 &cur_rmconf->dhgrp) < 0) {
/external/tcpdump/
Doakley.h116 u_int8_t dhgrp; /* DH; group */
/external/ipsec-tools/
Dsetup.c439 oakley_setdhgroup(remoteconf->dh_group, &remoteconf->dhgrp); in setup()