Lines Matching refs:algos
1181 struct ah_algorithm_state *algos) in ah_update_mbuf() argument
1188 (algo->update)(algos, mtod(m, caddr_t) + off, len); in ah_update_mbuf()
1214 (algo->update)(algos, mtod(n, caddr_t) + off, tlen); in ah_update_mbuf()
1236 struct ah_algorithm_state algos; in ah4_calccksum() local
1251 error = (algo->init)(&algos, sav); in ah4_calccksum()
1282 (algo->update)(&algos, (caddr_t)&iphdr, sizeof(struct ip)); in ah4_calccksum()
1379 (algo->update)(&algos, (caddr_t)p, hlen - sizeof(struct ip)); in ah4_calccksum()
1428 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah4_calccksum()
1432 ah_update_mbuf(m, off, totlen, algo, &algos); in ah4_calccksum()
1442 ah_update_mbuf(m, off, m->m_pkthdr.len - off, algo, &algos); in ah4_calccksum()
1457 (algo->result)(&algos, (caddr_t) &sumbuf[0], sizeof(sumbuf)); in ah4_calccksum()
1489 struct ah_algorithm_state algos; in ah6_calccksum() local
1496 error = (algo->init)(&algos, sav); in ah6_calccksum()
1543 (algo->update)(&algos, (caddr_t)&ip6copy, in ah6_calccksum()
1548 &algos); in ah6_calccksum()
1585 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah6_calccksum()
1589 ah_update_mbuf(m, off, newoff - off, algo, &algos); in ah6_calccksum()
1665 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah6_calccksum()
1681 ah_update_mbuf(m, off, newoff - off, algo, &algos); in ah6_calccksum()
1696 (algo->result)(&algos, (caddr_t) &sumbuf[0], sizeof(sumbuf)); in ah6_calccksum()