/bind-9.11.3/bin/tests/system/statschannel/ |
H A D | server-json.pl | 19 foreach $key (keys %{$ref->{opcodes}}) { 20 print "opcode " . $key . ": " . $ref->{opcodes}->{$key} . "\n"; 22 foreach $key (keys %{$ref->{rcodes}}) { 23 print "rcode " . $key . ": " . $ref->{rcodes}->{$key} . "\n"; 25 foreach $key (keys %{$ref->{qtypes}}) { 26 print "qtype " . $key . ": " . $ref->{qtypes}->{$key} . "\n"; 28 foreach $key (key [all...] |
H A D | traffic-json.pl | 24 foreach $key (keys %{$tcprcvd}) { 25 print $type . $key . ": ". $tcprcvd->{$key} ."\n"; 30 foreach $key (keys %{$tcpsent}) { 31 print $type . $key . ": ". $tcpsent->{$key} ."\n"; 36 foreach $key (keys %{$udprcvd}) { 37 print $type . $key . ": ". $udprcvd->{$key} ."\n"; 42 foreach $key (key [all...] |
H A D | server-xml.pl | 17 foreach $key (keys %{$group->{counter}}) { 18 print $group->{type} . " " . $key . ": ". $group->{counter}->{$key}->{content} . "\n";
|
H A D | traffic-xml.pl | 25 foreach $key (keys %{$group->{counter}}) { 26 print $type . $key . ": ". $group->{counter}->{$key}->{content} ."\n"; 37 foreach $key (keys %{$group->{counter}}) { 38 print $type . $key . ": ". $group->{counter}->{$key}->{content} ."\n";
|
/bind-9.11.3/bin/tests/ |
H A D | ndc.conf-include | 11 key "another-key" {
|
H A D | hash_test.c | 58 unsigned char key[20]; local 103 memset(key, 0x0b, 16); 104 isc_hmacmd5_init(&hmacmd5, key, 16); 111 strlcpy((char *)key, "Jefe", sizeof(key)); 112 isc_hmacmd5_init(&hmacmd5, key, 4); 123 memset(key, 0xaa, 16); 124 isc_hmacmd5_init(&hmacmd5, key, 16); 135 memset(key, 0x0b, 20); 136 isc_hmacsha1_init(&hmacsha1, key, 2 [all...] |
/bind-9.11.3/bin/tests/system/metadata/ |
H A D | clean.sh | 10 rm -f zsk.key ksk.key parent.ksk.key parent.zsk.key 11 rm -f pending.key rolling.key standby.key inact.key 12 rm -f prerev.key postrev.key oldstyl [all...] |
H A D | setup.sh | 23 echo $zsk > zsk.key 27 echo $pending > pending.key 31 echo $standby > standby.key 35 echo $inact > inact.key 39 echo $ksk > ksk.key 44 echo $rolling > rolling.key 48 echo $revoke1 > prerev.key 50 echo $revoke2 | sed -e 's#\./##' -e "s/\.key.*$//" > postrev.key 53 echo $pzsk > parent.zsk.key [all...] |
/bind-9.11.3/lib/dns/ |
H A D | key.c | 9 /* $Id: key.c,v 1.11 2011/10/20 21:20:02 marka Exp $ */ 78 dst_key_name(const dst_key_t *key) { argument 79 REQUIRE(VALID_KEY(key)); 80 return (key->key_name); 84 dst_key_size(const dst_key_t *key) { argument 85 REQUIRE(VALID_KEY(key)); 86 return (key->key_size); 90 dst_key_proto(const dst_key_t *key) { argument 91 REQUIRE(VALID_KEY(key)); 92 return (key 96 dst_key_alg(const dst_key_t *key) argument 102 dst_key_flags(const dst_key_t *key) argument 108 dst_key_id(const dst_key_t *key) argument 114 dst_key_rid(const dst_key_t *key) argument 120 dst_key_class(const dst_key_t *key) argument 126 dst_key_iszonekey(const dst_key_t *key) argument 140 dst_key_isnullkey(const dst_key_t *key) argument 154 dst_key_setbits(dst_key_t *key, isc_uint16_t bits) argument 166 dst_key_getbits(const dst_key_t *key) argument 172 dst_key_setttl(dst_key_t *key, dns_ttl_t ttl) argument 178 dst_key_getttl(const dst_key_t *key) argument [all...] |
H A D | hmac_link.c | 50 static isc_result_t hmacmd5_fromdns(dst_key_t *key, isc_buffer_t *data); 53 unsigned char key[ISC_MD5_BLOCK_LENGTH]; member in struct:dst_hmacmd5_key 58 getkeybits(dst_key_t *key, struct dst_private_element *element) { argument 63 key->key_bits = (element->data[0] << 8) + element->data[1]; 70 hmacmd5_createctx(dst_key_t *key, dst_context_t *dctx) { argument 72 dst_hmacmd5_key_t *hkey = key->keydata.hmacmd5; 77 isc_hmacmd5_init(hmacmd5ctx, hkey->key, ISC_MD5_BLOCK_LENGTH); 140 if (isc_safe_memequal(hkey1->key, hkey2->key, ISC_MD5_BLOCK_LENGTH)) 147 hmacmd5_generate(dst_key_t *key, in argument 176 hmacmd5_isprivate(const dst_key_t *key) argument 182 hmacmd5_destroy(dst_key_t *key) argument 191 hmacmd5_todns(const dst_key_t *key, isc_buffer_t *data) argument 208 hmacmd5_fromdns(dst_key_t *key, isc_buffer_t *data) argument 243 hmacmd5_tofile(const dst_key_t *key, const char *directory) argument 273 hmacmd5_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument 374 unsigned char key[ISC_SHA1_BLOCK_LENGTH]; member in struct:dst_hmacsha1_key 378 hmacsha1_createctx(dst_key_t *key, dst_context_t *dctx) argument 455 hmacsha1_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument 484 hmacsha1_isprivate(const dst_key_t *key) argument 490 hmacsha1_destroy(dst_key_t *key) argument 499 hmacsha1_todns(const dst_key_t *key, isc_buffer_t *data) argument 516 hmacsha1_fromdns(dst_key_t *key, isc_buffer_t *data) argument 551 hmacsha1_tofile(const dst_key_t *key, const char *directory) argument 581 hmacsha1_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument 665 unsigned char key[ISC_SHA224_BLOCK_LENGTH]; member in struct:dst_hmacsha224_key 669 hmacsha224_createctx(dst_key_t *key, dst_context_t *dctx) argument 746 hmacsha224_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument 777 hmacsha224_isprivate(const dst_key_t *key) argument 783 hmacsha224_destroy(dst_key_t *key) argument 792 hmacsha224_todns(const dst_key_t *key, isc_buffer_t *data) argument 809 hmacsha224_fromdns(dst_key_t *key, isc_buffer_t *data) argument 844 hmacsha224_tofile(const dst_key_t *key, const char *directory) argument 874 hmacsha224_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument 952 unsigned char key[ISC_SHA256_BLOCK_LENGTH]; member in struct:dst_hmacsha256_key 956 hmacsha256_createctx(dst_key_t *key, dst_context_t *dctx) argument 1033 hmacsha256_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument 1064 hmacsha256_isprivate(const dst_key_t *key) argument 1070 hmacsha256_destroy(dst_key_t *key) argument 1079 hmacsha256_todns(const dst_key_t *key, isc_buffer_t *data) argument 1096 hmacsha256_fromdns(dst_key_t *key, isc_buffer_t *data) argument 1131 hmacsha256_tofile(const dst_key_t *key, const char *directory) argument 1161 hmacsha256_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument 1239 unsigned char key[ISC_SHA384_BLOCK_LENGTH]; member in struct:dst_hmacsha384_key 1243 hmacsha384_createctx(dst_key_t *key, dst_context_t *dctx) argument 1320 hmacsha384_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument 1351 hmacsha384_isprivate(const dst_key_t *key) argument 1357 hmacsha384_destroy(dst_key_t *key) argument 1366 hmacsha384_todns(const dst_key_t *key, isc_buffer_t *data) argument 1383 hmacsha384_fromdns(dst_key_t *key, isc_buffer_t *data) argument 1418 hmacsha384_tofile(const dst_key_t *key, const char *directory) argument 1448 hmacsha384_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument 1526 unsigned char key[ISC_SHA512_BLOCK_LENGTH]; member in struct:dst_hmacsha512_key 1530 hmacsha512_createctx(dst_key_t *key, dst_context_t *dctx) argument 1607 hmacsha512_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument 1638 hmacsha512_isprivate(const dst_key_t *key) argument 1644 hmacsha512_destroy(dst_key_t *key) argument 1653 hmacsha512_todns(const dst_key_t *key, isc_buffer_t *data) argument 1670 hmacsha512_fromdns(dst_key_t *key, isc_buffer_t *data) argument 1705 hmacsha512_tofile(const dst_key_t *key, const char *directory) argument 1735 hmacsha512_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument [all...] |
H A D | zonekey.c | 28 dns_rdata_dnskey_t key; local 33 result = dns_rdata_tostruct(keyrdata, &key, NULL); 37 if ((key.flags & DNS_KEYTYPE_NOAUTH) != 0) 39 if ((key.flags & DNS_KEYFLAG_OWNERMASK) != DNS_KEYOWNER_ZONE) 41 if (key.protocol != DNS_KEYPROTO_DNSSEC && 42 key.protocol != DNS_KEYPROTO_ANY)
|
H A D | dst_api.c | 92 static isc_result_t write_public_key(const dst_key_t *key, int type, 100 static isc_result_t computeid(dst_key_t *key); 324 dst_context_create(dst_key_t *key, isc_mem_t *mctx, dst_context_t **dctxp) { argument 325 return (dst_context_create4(key, mctx, DNS_LOGCATEGORY_GENERAL, 330 dst_context_create2(dst_key_t *key, isc_mem_t *mctx, argument 333 return (dst_context_create4(key, mctx, category, ISC_TRUE, 0, dctxp)); 337 dst_context_create3(dst_key_t *key, isc_mem_t *mctx, argument 341 return (dst_context_create4(key, mctx, category, 346 dst_context_create4(dst_key_t *key, isc_mem_t *mctx, argument 354 REQUIRE(VALID_KEY(key)); 417 dst_key_t *key; local 495 dst_key_tofile(const dst_key_t *key, int type, const char *directory) argument 521 dst_key_setexternal(dst_key_t *key, isc_boolean_t value) argument 526 dst_key_isexternal(dst_key_t *key) argument 564 dst_key_t *key; local 610 dst_key_t *pubkey = NULL, *key = NULL; local 713 dst_key_todns(const dst_key_t *key, isc_buffer_t *target) argument 749 dst_key_t *key = NULL; local 791 dst_key_t *key = NULL; local 812 dst_key_tobuffer(const dst_key_t *key, isc_buffer_t *target) argument 826 dst_key_privatefrombuffer(dst_key_t *key, isc_buffer_t *buffer) argument 848 dst_key_getgssctx(const dst_key_t *key) argument 859 dst_key_t *key; local 893 dst_key_t *key; local 927 dst_key_t *key; local 982 dst_key_t *key; local 1025 dst_key_getnum(const dst_key_t *key, int type, isc_uint32_t *valuep) argument 1037 dst_key_setnum(dst_key_t *key, int type, isc_uint32_t value) argument 1046 dst_key_unsetnum(dst_key_t *key, int type) argument 1054 dst_key_gettime(const dst_key_t *key, int type, isc_stdtime_t *timep) argument 1065 dst_key_settime(dst_key_t *key, int type, isc_stdtime_t when) argument 1073 dst_key_unsettime(dst_key_t *key, int type) argument 1080 dst_key_getprivateformat(const dst_key_t *key, int *majorp, int *minorp) argument 1090 dst_key_setprivateformat(dst_key_t *key, int major, int minor) argument 1222 dst_key_t *key; local 1255 dst_key_isprivate(const dst_key_t *key) argument 1262 dst_key_buildfilename(const dst_key_t *key, int type, const char *directory, isc_buffer_t *out) argument 1274 dst_key_sigsize(const dst_key_t *key, unsigned int *n) argument 1344 dst_key_secretsize(const dst_key_t *key, unsigned int *n) argument 1364 dst_key_setflags(dst_key_t *key, isc_uint32_t flags) argument 1371 dst_key_format(const dst_key_t *key, char *cp, unsigned int size) argument 1382 dst_key_dump(dst_key_t *key, isc_mem_t *mctx, char **buffer, int *length) argument 1399 dst_key_t *key; local 1436 dst_key_t *key; local 1488 dst_key_inactive(const dst_key_t *key) argument 1496 dst_key_setinactive(dst_key_t *key, isc_boolean_t inactive) argument 1630 issymmetric(const dst_key_t *key) argument 1675 printtime(const dst_key_t *key, int type, const char *tag, FILE *stream) argument 1724 write_public_key(const dst_key_t *key, int type, const char *directory) argument 1875 computeid(dst_key_t *key) argument 1897 dst_key_t *key; local 2030 dst_key_tkeytoken(const dst_key_t *key) argument [all...] |
H A D | openssleddsa_link.c | 42 /* OpenSSL doesn't provide direct access to key values */ 51 static EVP_PKEY *pub_ed25519_to_ossl(const unsigned char *key) argument 57 memmove(buf + PUBPREFIXLEN, key, DNS_KEY_ED25519SIZE); 63 unsigned char *key) 78 memmove(key, buf + len - DNS_KEY_ED25519SIZE, DNS_KEY_ED25519SIZE); 87 static EVP_PKEY *pub_ed448_to_ossl(const unsigned char *key) argument 93 memmove(buf + PUBPREFIXLEN, key, DNS_KEY_ED448SIZE); 99 unsigned char *key) 114 memmove(key, buf + len - DNS_KEY_ED448SIZE, DNS_KEY_ED448SIZE); 125 static EVP_PKEY *priv_ed25519_to_ossl(const unsigned char *key) argument 62 pub_ed25519_from_ossl(EVP_PKEY *pkey, unsigned char *key) argument 98 pub_ed448_from_ossl(EVP_PKEY *pkey, unsigned char *key) argument 137 priv_ed25519_from_ossl(EVP_PKEY *pkey, unsigned char *key) argument 162 priv_ed448_to_ossl(const unsigned char *key) argument 174 priv_ed448_from_ossl(EVP_PKEY *pkey, unsigned char *key) argument 198 openssleddsa_createctx(dst_key_t *key, dst_context_t *dctx) argument 254 dst_key_t *key = dctx->key; local 303 dst_key_t *key = dctx->key; local 376 openssleddsa_generate(dst_key_t *key, int unused, void (*callback)(int)) argument 420 openssleddsa_isprivate(const dst_key_t *key) argument 439 openssleddsa_destroy(dst_key_t *key) argument 447 openssleddsa_todns(const dst_key_t *key, isc_buffer_t *data) argument 478 openssleddsa_fromdns(dst_key_t *key, isc_buffer_t *data) argument 509 openssleddsa_tofile(const dst_key_t *key, const char *directory) argument 578 openssleddsa_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument [all...] |
/bind-9.11.3/bin/tests/system/common/ |
H A D | rndc.key | 9 /* $Id: rndc.key,v 1.3 2011/03/12 04:59:47 tbox Exp $ */ 11 key rndc_key {
|
/bind-9.11.3/lib/isc/tests/ |
H A D | ht_test.c | 59 * to ensure we are always filling the 16 byte key. 61 unsigned char key[16]; local 62 snprintf((char *)key, sizeof(key), "%u", (unsigned int)i); 63 strlcat((char *)key, " key of a raw hashtable!!", sizeof(key)); 64 result = isc_ht_add(ht, key, 16, (void *) i); 69 unsigned char key[16]; local 71 snprintf((char *)key, sizeo 79 unsigned char key[16]; local 87 char key[64]; local 100 unsigned char key[16]; local 113 char key[64]; local 124 unsigned char key[16]; local 136 unsigned char key[16]; local 147 char key[64]; local 162 unsigned char key[16]; local 175 unsigned char key[16]; local 197 unsigned char key[16]; local [all...] |
/bind-9.11.3/lib/isccc/include/isccc/ |
H A D | alist.h | 50 isccc_alist_assq(isccc_sexpr_t *alist, const char *key); 53 isccc_alist_delete(isccc_sexpr_t *alist, const char *key); 56 isccc_alist_define(isccc_sexpr_t *alist, const char *key, isccc_sexpr_t *value); 59 isccc_alist_definestring(isccc_sexpr_t *alist, const char *key, const char *str); 62 isccc_alist_definebinary(isccc_sexpr_t *alist, const char *key, isccc_region_t *r); 65 isccc_alist_lookup(isccc_sexpr_t *alist, const char *key); 68 isccc_alist_lookupstring(isccc_sexpr_t *alist, const char *key, char **strp); 71 isccc_alist_lookupbinary(isccc_sexpr_t *alist, const char *key, isccc_region_t **r);
|
/bind-9.11.3/lib/samples/ |
H A D | rootkey.sh | 9 # Fetch a copy of a current root signing key; used for testing 12 # After running this script, "sample `cat sample.key` <args>" will 14 # using the root key. 16 # (This is NOT a secure method of obtaining the root key; it is 21 local $key = join("", @rest); 22 print "-a $alg -e -k $dn -K $key\n" 23 ' > sample.key
|
/bind-9.11.3/bin/tests/system/notify/ns5/ |
H A D | named.conf | 13 key "a" { 18 key "b" { 23 key "c" { 42 match-clients { key "a"; }; 45 also-notify { 10.53.0.5 key "b"; 10.53.0.5 key "c"; }; 52 match-clients { key "b"; }; 55 masters { 10.53.0.5 key "a"; }; 62 match-clients { key "c"; }; 65 masters { 10.53.0.5 key " [all...] |
/bind-9.11.3/bin/python/isc/tests/test-policies/ |
H A D | 01-keysize.pol | 19 key-size ksk 2048; 20 key-size zsk 1024; 26 key-size ksk 2048; 27 key-size zsk 1024; 36 key-size ksk 511; 41 key-size ksk 1024; 42 key-size zsk 768; 47 key-size ksk 1024; 48 key-size zsk 769;
|
/bind-9.11.3/bin/tests/system/tsiggss/ |
H A D | setup.sh | 14 rm -f ns1/*.jnl ns1/K*.key ns1/K*.private ns1/_default.tsigkeys 16 key=`$KEYGEN -Cq -K ns1 -a DSA -b 512 -r $RANDFILE -n HOST -T KEY key.example.nil.` 17 cat ns1/example.nil.db.in ns1/${key}.key > ns1/example.nil.db
|
/bind-9.11.3/bin/tests/system/tsig/ns1/ |
H A D | named.conf | 25 key "md5" { 30 key "sha1" { 35 key "sha224" { 40 key "sha256" { 45 key "sha384" { 50 key "sha512" { 55 key "md5-trunc" { 60 key "sha1-trunc" { 65 key "sha224-trunc" { 70 key "sha25 [all...] |
/bind-9.11.3/lib/isc/include/isc/ |
H A D | aes.h | 30 isc_aes128_crypt(const unsigned char *key, const unsigned char *in, 34 isc_aes192_crypt(const unsigned char *key, const unsigned char *in, 38 isc_aes256_crypt(const unsigned char *key, const unsigned char *in,
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/ |
H A D | strhash.h | 90 * private copy of the key string. 97 idn__strhash_put(idn__strhash_t hash, const char *key, void *value); 100 * Find an item with the specified key. 107 idn__strhash_get(idn__strhash_t hash, const char *key, void **valuep); 110 * Check if an item with the specified key exists. 117 idn__strhash_exists(idn__strhash_t hash, const char *key);
|
/bind-9.11.3/lib/isc/win32/ |
H A D | thread.c | 67 isc_thread_key_getspecific(isc_thread_key_t key) { argument 68 return(TlsGetValue(key)); 72 isc_thread_key_setspecific(isc_thread_key_t key, void *value) { argument 73 return (TlsSetValue(key, value) ? 0 : GetLastError()); 77 isc_thread_key_create(isc_thread_key_t *key, void (*func)(void *)) { argument 78 *key = TlsAlloc(); 80 return ((*key != -1) ? 0 : GetLastError()); 84 isc_thread_key_delete(isc_thread_key_t key) { argument 85 return (TlsFree(key) ? 0 : GetLastError());
|
/bind-9.11.3/lib/dns/include/dst/ |
H A D | dst.h | 34 * functions provided to retrieve key attributes. If an application needs 70 /*% A buffer of this size is large enough to hold any key */ 75 * of any key 80 #define DST_TYPE_KEY 0x1000000 /* KEY key */ 104 * Current format version number of the private key parser. 106 * When parsing a key file with the same major number but a higher minor 107 * number, the key parser will ignore any fields it does not recognize. 109 * fields are added to the private key file (such as new metadata). 114 * When a key is seen with a higher major number, the key parse [all...] |