Lines Matching refs:icv
56 u8 *icv) in ah_tmp_req() argument
60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
122 u8 *icv; in ah_output_done() local
132 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done()
133 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
152 u8 *icv; in ah_output() local
185 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah_output()
186 req = ah_tmp_req(ahash, icv); in ah_output()
234 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_output()
249 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
268 u8 *icv; in ah_input_done() local
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()
310 u8 *icv; in ah_input() local
377 icv = ah_tmp_icv(ahash, auth_data, ahp->icv_trunc_len); in ah_input()
378 req = ah_tmp_req(ahash, icv); in ah_input()
409 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_input()
422 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input()