Home | History | Annotate | Download | only in racoon

Lines Matching refs:dhgrp

267 	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){
540 oakley_dhgrp_free(sa.dhgrp);
541 sa.dhgrp=NULL;
570 sa->dhgrp = racoon_calloc(1, sizeof(struct dhgroup));
571 if (!sa->dhgrp)
631 sa->dhgrp->type = type;
637 sa->dhgrp->prime = val;
643 sa->dhgrp->gen1 = ntohs(d->lorv);
646 sa->dhgrp->gen1 = 0;
649 memcpy(&sa->dhgrp->gen1, d + 1, len);
650 sa->dhgrp->gen1 = ntohl(sa->dhgrp->gen1);
657 sa->dhgrp->gen2 = ntohs(d->lorv);
660 sa->dhgrp->gen2 = 0;
663 memcpy(&sa->dhgrp->gen2, d + 1, len);
664 sa->dhgrp->gen2 = ntohl(sa->dhgrp->gen2);
669 sa->dhgrp->curve_a = val;
673 sa->dhgrp->curve_b = val;
745 sa->dhgrp->order = val;