Lines Matching refs:siz
223 size_t siz;
228 siz = (((*sumalgo->sumsiz)(sav) + 3) & ~(4 - 1));
229 if (m->m_pkthdr.len < off + ESPMAXLEN + siz) {
233 if (AH_MAXSUMSIZE < siz) {
236 (u_long)siz));
241 m_copydata(m, m->m_pkthdr.len - siz, siz, &sum0[0]);
243 if (esp_auth(m, off, m->m_pkthdr.len - off - siz, sav, sum)) {
250 if (bcmp(sum0, sum, siz) != 0) {
258 m_adj(m, -siz);
261 ip->ip_len = ip->ip_len - siz;
263 ip->ip_len = htons(ntohs(ip->ip_len) - siz);
668 size_t siz;
673 siz = (((*sumalgo->sumsiz)(sav) + 3) & ~(4 - 1));
674 if (m->m_pkthdr.len < off + ESPMAXLEN + siz) {
678 if (AH_MAXSUMSIZE < siz) {
681 (u_long)siz));
686 m_copydata(m, m->m_pkthdr.len - siz, siz, &sum0[0]);
688 if (esp_auth(m, off, m->m_pkthdr.len - off - siz, sav, sum)) {
695 if (bcmp(sum0, sum, siz) != 0) {
703 m_adj(m, -siz);
705 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - siz);