Lines Matching refs:algos
709 struct ah_algorithm_state *algos) in ah_update_mbuf() argument
716 (algo->update)(algos, mtod(m, caddr_t) + off, len); in ah_update_mbuf()
742 (algo->update)(algos, mtod(n, caddr_t) + off, tlen); in ah_update_mbuf()
764 struct ah_algorithm_state algos; in ah4_calccksum() local
786 error = (algo->init)(&algos, sav); in ah4_calccksum()
817 (algo->update)(&algos, (caddr_t)&iphdr, sizeof(struct ip)); in ah4_calccksum()
914 (algo->update)(&algos, (caddr_t)p, hlen - sizeof(struct ip)); in ah4_calccksum()
972 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah4_calccksum()
976 ah_update_mbuf(m, off, totlen, algo, &algos); in ah4_calccksum()
986 ah_update_mbuf(m, off, m->m_pkthdr.len - off, algo, &algos); in ah4_calccksum()
1001 (algo->result)(&algos, (caddr_t) &sumbuf[0], sizeof(sumbuf)); in ah4_calccksum()
1033 struct ah_algorithm_state algos; in ah6_calccksum() local
1047 error = (algo->init)(&algos, sav); in ah6_calccksum()
1094 (algo->update)(&algos, (caddr_t)&ip6copy, in ah6_calccksum()
1099 &algos); in ah6_calccksum()
1136 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah6_calccksum()
1140 ah_update_mbuf(m, off, newoff - off, algo, &algos); in ah6_calccksum()
1216 (algo->update)(&algos, mtod(n, caddr_t), n->m_len); in ah6_calccksum()
1232 ah_update_mbuf(m, off, newoff - off, algo, &algos); in ah6_calccksum()
1247 (algo->result)(&algos, (caddr_t) &sumbuf[0], sizeof(sumbuf)); in ah6_calccksum()