/bind-9.6-ESV-R11/bin/named/ |
H A D | tsigconf.c | 47 unsigned char *secret = NULL; local 74 (void)cfg_map_get(key, "secret", &secretobj); 104 secret = isc_mem_get(mctx, secretlen); 105 if (secret == NULL) { 109 isc_buffer_init(&secretbuf, secret, secretlen); 116 ret = dns_tsigkey_create(&keyname, alg, secret, secretlen, 119 isc_mem_put(mctx, secret, secretalloc); 120 secret = NULL; 137 if (secret != NULL) 138 isc_mem_put(mctx, secret, secretallo [all...] |
H A D | controlconf.c | 74 isc_region_t secret; member in struct:controlkey 124 if (key->secret.base != NULL) 125 isc_mem_put(mctx, key->secret.base, key->secret.length); 328 isccc_region_t secret; local 346 secret.rstart = NULL; 367 secret.rstart = isc_mem_get(listener->mctx, key->secret.length); 368 if (secret.rstart == NULL) 370 memmove(secret 717 char secret[1024]; local 811 char secret[1024]; local [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | openssldh_link.c | 78 isc_buffer_t *secret) 92 isc_buffer_availableregion(secret, &r); 99 isc_buffer_add(secret, len); 77 openssldh_computesecret(const dst_key_t *pub, const dst_key_t *priv, isc_buffer_t *secret) argument
|
H A D | dst_api.c | 340 isc_buffer_t *secret) 344 REQUIRE(secret != NULL); 360 return (pub->func->computesecret(pub, priv, secret)); 339 dst_key_computesecret(const dst_key_t *pub, const dst_key_t *priv, isc_buffer_t *secret) argument
|
H A D | tkey.c | 216 isc_region_t *serverrandomness, isc_buffer_t *secret) 246 isc_buffer_availableregion(secret, &r); 254 isc_buffer_add(secret, r2.length); 259 isc_buffer_add(secret, sizeof(digests)); 281 isc_buffer_t secret; local 369 tkey_log("process_dhtkey: failed to compute shared secret: %s", 375 isc_buffer_init(&secret, secretdata, sizeof(secretdata)); 393 RETERR(compute_secret(shared, &r2, &r, &secret)); 397 isc_buffer_base(&secret), 398 isc_buffer_usedlength(&secret), 215 compute_secret(isc_buffer_t *shared, isc_region_t *queryrandomness, isc_region_t *serverrandomness, isc_buffer_t *secret) argument 1109 isc_buffer_t *shared = NULL, secret; local [all...] |
H A D | tsig.c | 517 unsigned char *secret, int length, isc_boolean_t generated, 527 REQUIRE(secret != NULL); 530 if (secret != NULL) { 533 isc_buffer_init(&b, secret, length); 544 if (secret != NULL) { 547 isc_buffer_init(&b, secret, length); 558 if (secret != NULL) { 561 isc_buffer_init(&b, secret, length); 572 if (secret != NULL) { 575 isc_buffer_init(&b, secret, lengt 516 dns_tsigkey_create(dns_name_t *name, dns_name_t *algorithm, unsigned char *secret, int length, isc_boolean_t generated, dns_name_t *creator, isc_stdtime_t inception, isc_stdtime_t expire, isc_mem_t *mctx, dns_tsig_keyring_t *ring, dns_tsigkey_t **key) argument [all...] |
/bind-9.6-ESV-R11/bin/rndc/ |
H A D | rndc.c | 80 static isccc_region_t secret; variable 220 DO("parse message", isccc_cc_fromwire(&source, &response, &secret)); 283 DO("parse message", isccc_cc_fromwire(&source, &response, &secret)); 310 DO("render message", isccc_cc_towire(request, &message, &secret)); 372 DO("render message", isccc_cc_towire(request, &message, &secret)); 546 (void)cfg_map_get(key, "secret", &secretobj); 549 fatal("key must have algorithm and secret"); 557 secret.rstart = (unsigned char *)secretarray; 558 secret.rend = (unsigned char *)secretarray + sizeof(secretarray); 559 DO("decode base64 secret", isccc_base64_decod [all...] |
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | cc.c | 209 isccc_region_t *secret) 217 isc_hmacmd5_init(&ctx, secret->rstart, REGION_SIZE(*secret)); 234 isccc_region_t *secret) 245 if (secret != NULL) { 267 if (secret != NULL) 269 hmd5_rstart, secret)); 275 isccc_region_t *secret) 297 isc_hmacmd5_init(&ctx, secret->rstart, REGION_SIZE(*secret)); 208 sign(unsigned char *data, unsigned int length, unsigned char *hmd5, isccc_region_t *secret) argument 233 isccc_cc_towire(isccc_sexpr_t *alist, isccc_region_t *target, isccc_region_t *secret) argument 274 verify(isccc_sexpr_t *alist, unsigned char *data, unsigned int length, isccc_region_t *secret) argument 365 table_fromwire(isccc_region_t *source, isccc_region_t *secret, isccc_sexpr_t **alistp) argument 450 isccc_cc_fromwire(isccc_region_t *source, isccc_sexpr_t **alistp, isccc_region_t *secret) argument [all...] |
/bind-9.6-ESV-R11/bin/nsupdate/ |
H A D | nsupdate.c | 485 unsigned char *secret = NULL; local 505 fatal("key option must specify [hmac:]keyname:secret"); 510 fatal("key option must specify [hmac:]keyname:secret"); 529 secret = isc_mem_allocate(mctx, secretlen); 530 if (secret == NULL) 533 isc_buffer_init(&secretbuf, secret, secretlen); 544 result = dns_tsigkey_create(keyname, hmacname, secret, secretlen, 553 if (secret != NULL) 554 isc_mem_free(mctx, secret); 876 "[-g | -o | -y keyname:secret | 1331 unsigned char *secret = NULL; local [all...] |