Home
last modified time | relevance | path

Searched refs:icv_trunc_len (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dah4.c133 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
190 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_output()
216 ah->hdrlen = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
218 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
249 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
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()
336 ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
340 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
369 ahp->icv_trunc_len + seqhi_len); in ah_input()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dah6.c307 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
374 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_output()
409 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output()
440 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
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()
552 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input()
574 ahp->icv_trunc_len + seqhi_len); in ah6_input()
581 seqhi = (__be32 *)(auth_data + ahp->icv_trunc_len); in ah6_input()
588 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input()
[all …]
/kernel/linux/linux-5.10/include/net/
Dah.h11 int icv_trunc_len; member