Home | History | Annotate | Download | only in racoon

Lines Matching refs:dhgrp

165 oakley_dhgrp_free(dhgrp)
166 struct dhgroup *dhgrp;
168 if (dhgrp->prime)
169 vfree(dhgrp->prime);
170 if (dhgrp->curve_a)
171 vfree(dhgrp->curve_a);
172 if (dhgrp->curve_b)
173 vfree(dhgrp->curve_b);
174 if (dhgrp->order)
175 vfree(dhgrp->order);
176 racoon_free(dhgrp);
327 oakley_setdhgroup(group, dhgrp)
329 struct dhgroup **dhgrp;
333 *dhgrp = NULL; /* just make sure, initialize */
349 *dhgrp = racoon_calloc(1, sizeof(struct dhgroup));
350 if (*dhgrp == NULL) {
357 memcpy(*dhgrp, g, sizeof(*g));
358 (*dhgrp)->prime = vdup(g->prime);