Lines Matching refs:hbuf
312 vchar_t *hbuf = NULL; /* for hash computing. */
378 hbuf = vmalloc(tlen);
379 if (hbuf == NULL) {
384 p = hbuf->v + iph2->nonce->l; /* retain the space for Ni_b */
388 * copy non-HASH payloads into hbuf, so that we can validate HASH.
472 memcpy(hbuf->v, iph2->nonce->v, iph2->nonce->l);
474 "HASH allocated:hbuf->l=%d actual:tlen=%d\n",
475 hbuf->l, tlen + iph2->nonce->l);
477 hbuf->l = iph2->nonce->l + tlen;
490 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
517 if (hbuf)
518 vfree(hbuf);
822 vchar_t *hbuf = NULL; /* for hash computing. */
891 hbuf = vmalloc(tlen);
892 if (hbuf == NULL) {
897 p = hbuf->v;
901 * copy non-HASH payloads into hbuf, so that we can validate HASH.
1012 hbuf->l = tlen;
1025 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
1099 if (hbuf)
1100 vfree(hbuf);