Home
last modified time | relevance | path

Searched refs:SEG6_HMAC_FIELD_LEN (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Dseg6_hmac.h9 #define SEG6_HMAC_FIELD_LEN 32 macro
15 __u8 hmac[SEG6_HMAC_FIELD_LEN];
/Linux-v4.19/net/ipv6/
Dseg6_hmac.c227 wrsize = SEG6_HMAC_FIELD_LEN; in seg6_hmac_compute()
231 memset(output, 0, SEG6_HMAC_FIELD_LEN); in seg6_hmac_compute()
245 u8 hmac_output[SEG6_HMAC_FIELD_LEN]; in seg6_hmac_validate_skb()
279 if (memcmp(hmac_output, tlv->hmac, SEG6_HMAC_FIELD_LEN) != 0) in seg6_hmac_validate_skb()
349 memset(tlv->hmac, 0, SEG6_HMAC_FIELD_LEN); in seg6_push_hmac()