Lines Matching refs:icv_trunc_len
133 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
190 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_output()
216 ah->hdrlen = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
218 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
249 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
282 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); in ah_input_done()
284 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input_done()
336 ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
340 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
369 ahp->icv_trunc_len + seqhi_len); in ah_input()
377 icv = ah_tmp_icv(ahash, auth_data, ahp->icv_trunc_len); in ah_input()
383 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah_input()
384 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_input()
422 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input()
517 ahp->icv_trunc_len = x->aalg->alg_trunc_len/8; in ah_init_state()
521 ahp->icv_trunc_len); in ah_init_state()
524 ahp->icv_trunc_len); in ah_init_state()