Lines Matching refs:algos
477 struct ah_algorithm_state *algos) in ah_update_mbuf() argument
484 (algo->update)(algos, mtod(m, caddr_t) + off, len); in ah_update_mbuf()
510 (algo->update)(algos, mtod(n, caddr_t) + off, tlen); in ah_update_mbuf()
532 struct ah_algorithm_state algos; in ah4_calccksum() local
554 error = (algo->init)(&algos, sav); in ah4_calccksum()
585 (algo->update)(&algos, (caddr_t)&iphdr, sizeof(struct ip)); in ah4_calccksum()
682 (algo->update)(&algos, (caddr_t)p, hlen - sizeof(struct ip)); in ah4_calccksum()
740 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah4_calccksum()
744 ah_update_mbuf(m, off, totlen, algo, &algos); in ah4_calccksum()
754 ah_update_mbuf(m, off, m->m_pkthdr.len - off, algo, &algos); in ah4_calccksum()
769 (algo->result)(&algos, (caddr_t) &sumbuf[0], sizeof(sumbuf)); in ah4_calccksum()
801 struct ah_algorithm_state algos; in ah6_calccksum() local
815 error = (algo->init)(&algos, sav); in ah6_calccksum()
862 (algo->update)(&algos, (caddr_t)&ip6copy, in ah6_calccksum()
867 &algos); in ah6_calccksum()
904 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah6_calccksum()
908 ah_update_mbuf(m, off, newoff - off, algo, &algos); in ah6_calccksum()
984 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah6_calccksum()
1000 ah_update_mbuf(m, off, newoff - off, algo, &algos); in ah6_calccksum()
1015 (algo->result)(&algos, (caddr_t) &sumbuf[0], sizeof(sumbuf)); in ah6_calccksum()