Home | History | Annotate | Download | only in racoon

Lines Matching defs:hbuf

316 	vchar_t *hbuf = NULL;	/* for hash computing. */
382 hbuf = vmalloc(tlen);
383 if (hbuf == NULL) {
388 p = hbuf->v + iph2->nonce->l; /* retain the space for Ni_b */
392 * copy non-HASH payloads into hbuf, so that we can validate HASH.
485 memcpy(hbuf->v, iph2->nonce->v, iph2->nonce->l);
487 "HASH allocated:hbuf->l=%zu actual:tlen=%zu\n",
488 hbuf->l, tlen + iph2->nonce->l);
490 hbuf->l = iph2->nonce->l + tlen;
503 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
530 if (hbuf)
531 vfree(hbuf);
840 vchar_t *hbuf = NULL; /* for hash computing. */
909 hbuf = vmalloc(tlen);
910 if (hbuf == NULL) {
915 p = hbuf->v;
919 * copy non-HASH payloads into hbuf, so that we can validate HASH.
1038 hbuf->l = tlen;
1051 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
1126 if (hbuf)
1127 vfree(hbuf);