Home | History | Annotate | Download | only in dhcpcd-6.8.2

Lines Matching defs:hmac

117 	uint8_t hmac[HMAC_LENGTH];
184 if (dlen < sizeof(secretid) + sizeof(hmac)) {
193 if (dlen < sizeof(secretid) + sizeof(hmac)) {
197 realm_len = dlen - (sizeof(secretid) + sizeof(hmac));
327 memset(hmac, 0, sizeof(hmac));
330 hmac_md5(mm, mlen, t->key, t->key_len, hmac);
339 if (memcmp(d, &hmac, dlen)) {
480 uint8_t hmac[HMAC_LENGTH];
553 dlen += sizeof(t->secretid) + sizeof(hmac);
656 hmac_md5(m, mlen, t->key, t->key_len, hmac);
657 memcpy(data, hmac, sizeof(hmac));
670 return (int)(dlen - sizeof(hmac)); /* should be zero */