Lines Matching defs:secret

74 	isc_region_t			secret;
124 if (key->secret.base != NULL)
125 isc_mem_put(mctx, key->secret.base, key->secret.length);
328 isccc_region_t secret;
346 secret.rstart = NULL;
367 secret.rstart = isc_mem_get(listener->mctx, key->secret.length);
368 if (secret.rstart == NULL)
370 memmove(secret.rstart, key->secret.base, key->secret.length);
371 secret.rend = secret.rstart + key->secret.length;
372 result = isccc_cc_fromwire(&ccregion, &request, &secret);
375 isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
483 result = isccc_cc_towire(response, &ccregion, &secret);
497 isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
507 isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
696 key->secret.base = NULL;
697 key->secret.length = 0;
717 char secret[1024];
742 (void)cfg_map_get(keydef, "secret", &secretobj);
762 isc_buffer_init(&b, secret, sizeof(secret));
767 "secret for key '%s' on "
776 keyid->secret.length = isc_buffer_usedlength(&b);
777 keyid->secret.base = isc_mem_get(mctx,
778 keyid->secret.length);
779 if (keyid->secret.base == NULL) {
787 memmove(keyid->secret.base, isc_buffer_base(&b),
788 keyid->secret.length);
811 char secret[1024];
823 keyid->secret.base = NULL;
824 keyid->secret.length = 0;
832 (void)cfg_map_get(key, "secret", &secretobj);
848 isc_buffer_init(&b, secret, sizeof(secret));
853 "secret for key '%s' on command channel: %s",
858 keyid->secret.length = isc_buffer_usedlength(&b);
859 keyid->secret.base = isc_mem_get(mctx,
860 keyid->secret.length);
861 if (keyid->secret.base == NULL) {
867 memmove(keyid->secret.base, isc_buffer_base(&b),
868 keyid->secret.length);