Lines Matching refs:auth_data
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()
249 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
267 u8 *auth_data; in ah_input_done() local
281 auth_data = ah_tmp_auth(work_iph, ihl); in ah_input_done()
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()
309 u8 *auth_data; in ah_input() local
376 auth_data = ah_tmp_auth(seqhi, 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()