Lines Matching refs:icv
97 u8 *icv) in ah_tmp_req() argument
101 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
303 u8 *icv; in ah6_output_done() local
317 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()
319 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
340 u8 *icv; in ah6_output() local
380 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_output()
381 req = ah_tmp_req(ahash, icv); in ah6_output()
437 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
452 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
472 u8 *icv; in ah6_input_done() local
486 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); in ah6_input_done()
488 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input_done()
526 u8 *icv; in ah6_input() local
594 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_input()
595 req = ah_tmp_req(ahash, icv); in ah6_input()
623 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_input()
636 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input()