Searched refs:computed_mac (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/net/wireguard/ ! |
D | cookie.c | 126 u8 computed_mac[COOKIE_LEN]; in wg_cookie_validate_packet() local 130 compute_mac1(computed_mac, skb->data, skb->len, in wg_cookie_validate_packet() 132 if (crypto_memneq(computed_mac, macs->mac1, COOKIE_LEN)) in wg_cookie_validate_packet() 142 compute_mac2(computed_mac, skb->data, skb->len, cookie); in wg_cookie_validate_packet() 143 if (crypto_memneq(computed_mac, macs->mac2, COOKIE_LEN)) in wg_cookie_validate_packet()
|