Lines Matching refs:plen
196 size_t plen = 0; /*AH payload size in bytes*/
197 size_t ahlen = 0; /*plen + sizeof(ah)*/
231 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
232 ahlen = plen + sizeof(struct ah);
235 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
236 ahlen = plen + sizeof(struct newah);
282 ahdr->ah_len = plen >> 2;
286 bzero(ahdr + 1, plen);
292 ahdr->ah_len = (plen >> 2) + 1; /* plus one for seq# */
315 bzero(ahdr + 1, plen);
348 error = ah4_calccksum(m, (caddr_t)ahsumpos, plen, algo, sav);
378 int plen, ahlen;
385 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
386 ahlen = plen + sizeof(struct ah);
389 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
390 ahlen = plen + sizeof(struct newah);
412 size_t plen; /*AH payload size in bytes*/
453 /* fix plen */
488 plen = mah->m_len - sizeof(struct ah);
492 ahdr->ah_len = plen >> 2;
495 bzero(ahdr + 1, plen);
499 plen = mah->m_len - sizeof(struct newah);
503 ahdr->ah_len = (plen >> 2) + 1; /* plus one for seq# */
525 bzero(ahdr + 1, plen);
532 error = ah6_calccksum(m, (caddr_t)ahsumpos, plen, algo, sav);