Searched defs:hmacsha1 (Results 1 - 9 of 9) sorted by relevance

/bind-9.11.3/bin/tests/
H A Dhash_test.c50 isc_hmacsha1_t hmacsha1; local
136 isc_hmacsha1_init(&hmacsha1, key, 20);
138 isc_hmacsha1_update(&hmacsha1, buffer, strlen(s));
139 isc_hmacsha1_sign(&hmacsha1, digest, ISC_SHA1_DIGESTLENGTH);
140 print_digest(s, "hmacsha1", digest, ISC_SHA1_DIGESTLENGTH/4);
144 isc_hmacsha1_init(&hmacsha1, key, 4);
146 isc_hmacsha1_update(&hmacsha1, buffer, strlen(s));
147 isc_hmacsha1_sign(&hmacsha1, digest, ISC_SHA1_DIGESTLENGTH);
148 print_digest(s, "hmacsha1", digest, ISC_SHA1_DIGESTLENGTH/4);
156 isc_hmacsha1_init(&hmacsha1, ke
[all...]
/bind-9.11.3/lib/isc/tests/
H A Dhash_test.c850 isc_hmacsha1_t hmacsha1; local
961 isc_hmacsha1_init(&hmacsha1, buffer, test_key->len);
962 isc_hmacsha1_update(&hmacsha1,
965 isc_hmacsha1_sign(&hmacsha1, digest, ISC_SHA1_DIGESTLENGTH);
/bind-9.11.3/lib/dns/
H A Ddst_internal.h130 dst_hmacsha1_key_t *hmacsha1; member in union:dst_key::__anon106
H A Dtsig.c99 static dns_name_t hmacsha1 = variable
101 LIBDNS_EXTERNAL_DATA dns_name_t *dns_tsig_hmacsha1_name = &hmacsha1;
H A Dresolver.c2011 isc_hmacsha1_t hmacsha1; local
2015 isc_hmacsha1_init(&hmacsha1, query->fctx->res->view->secret,
2020 isc_hmacsha1_update(&hmacsha1,
2024 isc_hmacsha1_update(&hmacsha1,
2028 isc_hmacsha1_sign(&hmacsha1, digest, sizeof(digest));
2030 isc_hmacsha1_invalidate(&hmacsha1);
/bind-9.11.3/bin/named/
H A Dconfig.c937 enum { hmacnone, hmacmd5, hmacsha1, hmacsha224, enumerator in enum:keyalgorithms::__anon7
947 { "hmac-sha1", hmacsha1, DST_ALG_HMACSHA1, 160 },
996 case hmacsha1: *name = dns_tsig_hmacsha1_name; break;
H A Dclient.c1825 isc_hmacsha1_t hmacsha1; local
1833 isc_hmacsha1_init(&hmacsha1,
1836 isc_hmacsha1_update(&hmacsha1, cp, 16);
1850 isc_hmacsha1_update(&hmacsha1, cp, length);
1851 isc_hmacsha1_update(&hmacsha1, client->cookie,
1853 isc_hmacsha1_sign(&hmacsha1, digest, sizeof(digest));
1855 isc_hmacsha1_invalidate(&hmacsha1);
/bind-9.11.3/bin/tests/hashes/
H A Dt_hashes.c396 isc_hmacsha1_t hmacsha1; member in union:__anon36
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddns.c96 isc_hmacsha1_t hmacsha1; member in union:__anon54
343 isc_hmacsha1_init(&ctx->hmacsha1, secret, length);
369 isc_hmacsha1_update(&ctx->hmacsha1, data, length);
395 isc_hmacsha1_sign(&ctx->hmacsha1, digest, digestlen);

Completed in 79 milliseconds