Lines Matching refs:authsize
152 int authsize, rplen, align; in ah_hdrsiz() local
165 authsize = AUTHSIZE(sav); in ah_hdrsiz()
166 size = roundup(rplen + authsize, align); in ah_hdrsiz()
543 int hl, rplen, authsize, ahsize, error; in ah_input() local
584 authsize = AUTHSIZE(sav); in ah_input()
623 xd = malloc(sizeof(*xd) + skip + rplen + authsize, M_AH, in ah_input()
637 m_copydata(m, 0, skip + rplen + authsize, (caddr_t)(xd + 1)); in ah_input()
640 m_copyback(m, skip + rplen, authsize, ipseczeroes); in ah_input()
701 int authsize, rplen, ahsize, error, skip, protoff; in ah_input_cb() local
749 authsize = AUTHSIZE(sav); in ah_input_cb()
753 m_copydata(m, skip + rplen, authsize, calc); in ah_input_cb()
757 if (timingsafe_bcmp(ptr + skip + rplen, calc, authsize)) { in ah_input_cb()
853 int error, rplen, authsize, ahsize, maxpacketsize, roff; in ah_output() local
867 authsize = AUTHSIZE(sav); in ah_output()
941 m_copyback(m, skip + rplen, authsize, ipseczeroes); in ah_output()
944 m_copyback(m, skip + rplen + authsize, ahsize - (rplen + authsize), in ah_output()