Home
last modified time | relevance | path

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

/openbsd/src/usr.sbin/dhcpd/
Dsync.c54 static char *sync_key; variable
143 sync_key = SHA1File(DHCP_SYNC_KEY, NULL); in sync_init()
144 if (sync_key == NULL) { in sync_init()
150 sync_key = ""; in sync_init()
273 HMAC(EVP_sha1(), sync_key, strlen(sync_key), buf, len, in sync_recv()
399 if (sync_key == NULL) in sync_lease()
408 if (!HMAC_Init_ex(ctx, sync_key, strlen(sync_key), EVP_sha1(), NULL)) in sync_lease()
/openbsd/src/libexec/spamd/
Dsync.c55 static char *sync_key; variable
145 sync_key = SHA1File(SPAM_SYNC_KEY, NULL); in sync_init()
146 if (sync_key == NULL) { in sync_init()
153 sync_key = ""; in sync_init()
279 HMAC(EVP_sha1(), sync_key, strlen(sync_key), buf, len, in sync_recv()
445 if (!HMAC_Init_ex(ctx, sync_key, strlen(sync_key), EVP_sha1(), NULL)) in sync_update()
539 if (!HMAC_Init_ex(ctx, sync_key, strlen(sync_key), EVP_sha1(), NULL)) in sync_addr()