Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Dauth.c116 uint8_t hmac_code[HMAC_LENGTH]; in dhcp_auth_validate() local
206 if (dlen < sizeof(secretid) + sizeof(hmac_code)) { in dhcp_auth_validate()
216 if (dlen < sizeof(secretid) + sizeof(hmac_code)) { in dhcp_auth_validate()
220 realm_len = dlen - (sizeof(secretid) + sizeof(hmac_code)); in dhcp_auth_validate()
353 memset(hmac_code, 0, sizeof(hmac_code)); in dhcp_auth_validate()
357 hmac_code, sizeof(hmac_code)); in dhcp_auth_validate()
366 if (!consttime_memequal(d, &hmac_code, dlen)) { in dhcp_auth_validate()
527 uint8_t hmac_code[HMAC_LENGTH]; in dhcp_auth_encode() local
603 dlen += sizeof(t->secretid) + sizeof(hmac_code); in dhcp_auth_encode()
723 hmac_code, sizeof(hmac_code)); in dhcp_auth_encode()
[all …]