Lines Matching defs:secret
485 unsigned char *secret = NULL;
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 | -k keyfile] "
1331 unsigned char *secret = NULL;
1363 fprintf(stderr, "could not read key secret\n");
1367 secret = isc_mem_allocate(mctx, secretlen);
1368 if (secret == NULL)
1371 isc_buffer_init(&secretbuf, secret, secretlen);
1376 isc_mem_free(mctx, secret);
1383 result = dns_tsigkey_create(keyname, hmacname, secret, secretlen,
1386 isc_mem_free(mctx, secret);
1880 "key [hmac:]keyname secret (use TSIG to sign the request)\n"