Lines Matching refs:icv
54 u8 *icv) in ah_tmp_req() argument
58 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
120 u8 *icv; in ah_output_done() local
130 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done()
131 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
150 u8 *icv; in ah_output() local
175 icv = ah_tmp_icv(ahash, iph, ihl); in ah_output()
176 req = ah_tmp_req(ahash, icv); in ah_output()
216 ahash_request_set_crypt(req, sg, icv, skb->len); in ah_output()
231 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
250 u8 *icv; in ah_input_done() local
261 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); in ah_input_done()
263 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG: 0; in ah_input_done()
285 u8 *icv; in ah_input() local
340 icv = ah_tmp_icv(ahash, auth_data, ahp->icv_trunc_len); in ah_input()
341 req = ah_tmp_req(ahash, icv); in ah_input()
364 ahash_request_set_crypt(req, sg, icv, skb->len); in ah_input()
377 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG: 0; in ah_input()