Searched refs:ahp (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | ah4.c | 126 struct ah_data *ahp = x->data; in ah_output_done() local 132 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done() 133 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done() 159 struct ah_data *ahp; in ah_output() local 165 ahp = x->data; in ah_output() 166 ahash = ahp->ahash; in ah_output() 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() [all …]
|
/net/ipv6/ |
D | ah6.c | 294 struct ah_data *ahp = x->data; in ah6_output_done() local 305 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done() 307 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done() 336 struct ah_data *ahp; in ah6_output() local 343 ahp = x->data; in ah6_output() 344 ahash = ahp->ahash; in ah6_output() 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() 464 struct ah_data *ahp = x->data; in ah6_input_done() local [all …]
|