Lines Matching refs:icv_trunc_len
307 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
374 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_output()
409 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output()
440 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
474 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); in ah6_input_done()
476 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input_done()
552 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input()
574 ahp->icv_trunc_len + seqhi_len); in ah6_input()
581 seqhi = (__be32 *)(auth_data + ahp->icv_trunc_len); in ah6_input()
588 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input()
589 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_input()
625 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()