Lines Matching refs:plen
168 size_t plen = 0; /*AH payload size in bytes*/
169 size_t ahlen = 0; /*plen + sizeof(ah)*/
203 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
204 ahlen = plen + sizeof(struct ah);
207 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
208 ahlen = plen + sizeof(struct newah);
254 ahdr->ah_len = plen >> 2;
258 bzero(ahdr + 1, plen);
264 ahdr->ah_len = (plen >> 2) + 1; /* plus one for seq# */
287 bzero(ahdr + 1, plen);
320 error = ah4_calccksum(m, (caddr_t)ahsumpos, plen, algo, sav);
350 int plen, ahlen;
357 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
358 ahlen = plen + sizeof(struct ah);
361 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
362 ahlen = plen + sizeof(struct newah);
384 size_t plen; /*AH payload size in bytes*/
425 /* fix plen */
460 plen = mah->m_len - sizeof(struct ah);
464 ahdr->ah_len = plen >> 2;
467 bzero(ahdr + 1, plen);
471 plen = mah->m_len - sizeof(struct newah);
475 ahdr->ah_len = (plen >> 2) + 1; /* plus one for seq# */
497 bzero(ahdr + 1, plen);
504 error = ah6_calccksum(m, (caddr_t)ahsumpos, plen, algo, sav);