/bind-9.11.3/bin/tests/ |
H A D | hash_test.c | 50 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 D | hash_test.c | 850 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 D | dst_internal.h | 130 dst_hmacsha1_key_t *hmacsha1; member in union:dst_key::__anon106
|
H A D | tsig.c | 99 static dns_name_t hmacsha1 = variable 101 LIBDNS_EXTERNAL_DATA dns_name_t *dns_tsig_hmacsha1_name = &hmacsha1;
|
H A D | resolver.c | 2011 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 D | config.c | 937 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 D | client.c | 1825 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 D | t_hashes.c | 396 isc_hmacsha1_t hmacsha1; member in union:__anon36
|
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | dns.c | 96 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);
|