Lines Matching refs:icv_trunc_len
130 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
187 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_output()
213 ah->hdrlen = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
215 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
246 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
279 icv = ah_tmp_icv(auth_data, ahp->icv_trunc_len); in ah_input_done()
281 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input_done()
333 ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
337 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
366 ahp->icv_trunc_len + seqhi_len); in ah_input()
374 icv = ah_tmp_icv(auth_data, ahp->icv_trunc_len); in ah_input()
380 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah_input()
381 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_input()
419 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input()
520 ahp->icv_trunc_len = x->aalg->alg_trunc_len/8; in ah_init_state()
524 ahp->icv_trunc_len); in ah_init_state()
527 ahp->icv_trunc_len); in ah_init_state()