Lines Matching defs:secret
558 unsigned char *secret = NULL;
578 fatal("key option must specify [hmac:]keyname:secret");
583 fatal("key option must specify [hmac:]keyname:secret");
608 secret = isc_mem_allocate(gmctx, secretlen);
609 if (secret == NULL)
612 isc_buffer_init(&secretbuf, secret, secretlen);
623 result = dns_tsigkey_create(mykeyname, hmacname, secret, secretlen,
632 if (secret != NULL)
633 isc_mem_free(gmctx, secret);
668 (void) cfg_map_get(key, "secret", &secretobj);
671 fatal("key must have algorithm and secret");
1063 "[-g | -o | -y keyname:secret | -k keyfile] "
1584 unsigned char *secret = NULL;
1623 fprintf(stderr, "could not read key secret\n");
1627 secret = isc_mem_allocate(gmctx, secretlen);
1628 if (secret == NULL)
1631 isc_buffer_init(&secretbuf, secret, secretlen);
1636 isc_mem_free(gmctx, secret);
1643 result = dns_tsigkey_create(mykeyname, hmacname, secret, secretlen,
1646 isc_mem_free(gmctx, secret);
2189 "key [hmac:]keyname secret (use TSIG to sign the request)\n"