Lines Matching refs:icv_trunc_len
301 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
368 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_output()
403 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output()
434 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
468 icv = ah_tmp_icv(auth_data, ahp->icv_trunc_len); in ah6_input_done()
470 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input_done()
546 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input()
568 ahp->icv_trunc_len + seqhi_len); in ah6_input()
575 seqhi = (__be32 *)(auth_data + ahp->icv_trunc_len); in ah6_input()
582 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input()
583 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_input()
619 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input()
715 ahp->icv_trunc_len = x->aalg->alg_trunc_len/8; in ah6_init_state()
718 ahp->icv_trunc_len); in ah6_init_state()