Lines Matching refs:icv
85 u8 *icv) in ah_tmp_req() argument
89 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
291 u8 *icv; in ah6_output_done() local
305 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()
307 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
328 u8 *icv; in ah6_output() local
368 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_output()
369 req = ah_tmp_req(ahash, icv); in ah6_output()
425 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
440 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
460 u8 *icv; in ah6_input_done() local
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()
514 u8 *icv; in ah6_input() local
582 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_input()
583 req = ah_tmp_req(ahash, icv); in ah6_input()
612 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_input()
625 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input()