Searched refs:icv_trunc_len (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/net/ipv4/ |
D | ah4.c | 129 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done() 179 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah_output() 205 ah->hdrlen = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output() 207 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output() 231 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output() 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() 307 ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input() 311 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input() 335 work_iph = ah_alloc_tmp(ahash, nfrags, ihl + ahp->icv_trunc_len); in ah_input() [all …]
|
/linux-2.6.39/net/ipv6/ |
D | ah6.c | 316 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done() 373 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_output() 408 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output() 432 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output() 463 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); in ah6_input_done() 465 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG: 0; in ah6_input_done() 535 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input() 551 work_iph = ah_alloc_tmp(ahash, nfrags, hdr_len + ahp->icv_trunc_len); in ah6_input() 556 icv = ah_tmp_icv(ahash, auth_data, ahp->icv_trunc_len); in ah6_input() 561 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input() [all …]
|
/linux-2.6.39/include/net/ |
D | ah.h | 13 int icv_trunc_len; member
|