Lines Matching defs:key
114 * Generate a key of size 'keysize' using entropy source 'randomfile',
128 dst_key_t *key = NULL;
167 DO("generate key", dst_key_generate(dns_rootname, alg,
170 dns_rdataclass_in, mctx, &key));
174 DO("dump key to buffer", dst_key_tobuffer(key, &key_rawbuffer));
188 if (key != NULL)
189 dst_key_free(&key);
196 * Write a key file to 'keyfile'. If 'user' is non-NULL,
197 * make that user the owner of the file. The key will have
215 fprintf(fd, "key \"%s\" {\n\talgorithm %s;\n"
225 fprintf(stderr, "wrote key file \"%s\"\n", keyfile);