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()
288 u8 *icv; in ah6_output_done() local
302 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()
304 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
325 u8 *icv; in ah6_output() local
365 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_output()
366 req = ah_tmp_req(ahash, icv); in ah6_output()
422 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
437 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
457 u8 *icv; in ah6_input_done() local
471 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); in ah6_input_done()
473 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input_done()
511 u8 *icv; in ah6_input() local
579 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_input()
580 req = ah_tmp_req(ahash, icv); in ah6_input()
609 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_input()
622 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input()