Searched refs:icv_trunc_len (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/net/ipv4/ |
D | ah4.c | 130 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done() 187 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_output() 213 ah->hdrlen = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output() 215 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output() 246 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output() 279 icv = ah_tmp_icv(auth_data, ahp->icv_trunc_len); in ah_input_done() 281 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input_done() 333 ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input() 337 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input() 366 ahp->icv_trunc_len + seqhi_len); in ah_input() [all …]
|
/linux-6.12.1/net/ipv6/ |
D | ah6.c | 301 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done() 368 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_output() 403 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output() 434 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output() 468 icv = ah_tmp_icv(auth_data, ahp->icv_trunc_len); in ah6_input_done() 470 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input_done() 546 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input() 568 ahp->icv_trunc_len + seqhi_len); in ah6_input() 575 seqhi = (__be32 *)(auth_data + ahp->icv_trunc_len); in ah6_input() 582 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input() [all …]
|
/linux-6.12.1/include/net/ |
D | ah.h | 11 int icv_trunc_len; member
|