Searched refs:auth_data (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | ah4.c | 102 err = ah_mac_digest(ahp, skb, ah->auth_data); in ah_output() 103 memcpy(ah->auth_data, ahp->work_icv, ahp->icv_trunc_len); in ah_output() 175 u8 auth_data[MAX_AH_AUTH_LEN]; in ah_input() local 177 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah_input() 179 err = ah_mac_digest(ahp, skb, ah->auth_data); in ah_input() 182 if (memcmp(ahp->work_icv, auth_data, ahp->icv_trunc_len)) in ah_input()
|
/net/ipv6/ |
D | ah6.c | 289 err = ah_mac_digest(ahp, skb, ah->auth_data); in ah6_output() 290 memcpy(ah->auth_data, ahp->work_icv, ahp->icv_trunc_len); in ah6_output() 375 u8 auth_data[MAX_AH_AUTH_LEN]; in ah6_input() local 377 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input() 378 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_input() 380 err = ah_mac_digest(ahp, skb, ah->auth_data); in ah6_input() 383 if (memcmp(ahp->work_icv, auth_data, ahp->icv_trunc_len)) in ah6_input()
|