Searched defs:keysize (Results 1 - 5 of 5) sorted by relevance

/bind-9.11.3/bin/confgen/
H A Dkeygen.c91 * Return default keysize for a given algorithm type.
114 * Generate a key of size 'keysize' using entropy source 'randomfile',
119 int keysize, isc_buffer_t *key_txtbuffer) {
137 if (keysize < 1 || keysize > 512)
138 fatal("keysize %d out of range (must be 1-512)\n",
139 keysize);
143 if (keysize < 1 || keysize > 1024)
144 fatal("keysize
118 generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg, int keysize, isc_buffer_t *key_txtbuffer) argument
[all...]
H A Dddns-confgen.c102 int keysize = 256; local
144 keysize = alg_bits(alg);
235 generate_key(mctx, randomfile, alg, keysize, &key_txtbuffer);
H A Drndc-confgen.c122 int keysize = -1; local
162 keysize = strtol(isc_commandline_argument, &p, 10);
163 if (*p != '\0' || keysize < 0)
228 if (keysize < 0)
229 keysize = alg_bits(alg);
235 generate_key(mctx, randomfile, alg, keysize, &key_txtbuffer);
/bind-9.11.3/lib/isc/
H A Dht.c30 size_t keysize; member in struct:isc_ht_node
105 node->keysize);
120 isc_uint32_t keysize, void *value)
126 REQUIRE(key != NULL && keysize > 0);
128 hash = isc_hash_function(key, keysize, ISC_TRUE, NULL);
131 if (keysize == node->keysize &&
132 memcmp(key, node->key, keysize) == 0) {
138 node = isc_mem_get(ht->mctx, offsetof(isc_ht_node_t, key) + keysize);
142 memmove(node->key, key, keysize);
119 isc_ht_add(isc_ht_t *ht, const unsigned char *key, isc_uint32_t keysize, void *value) argument
153 isc_ht_find(const isc_ht_t *ht, const unsigned char *key, isc_uint32_t keysize, void **valuep) argument
178 isc_ht_delete(isc_ht_t *ht, const unsigned char *key, isc_uint32_t keysize) argument
329 isc_ht_iter_currentkey(isc_ht_iter_t *it, unsigned char **key, size_t *keysize) argument
[all...]
/bind-9.11.3/lib/dns/
H A Dcatz.c398 size_t keysize; local
402 isc_ht_iter_currentkey(iter1, &key, &keysize);
426 (isc_uint32_t)keysize, (void **) &oentry);
428 result = isc_ht_add(toadd, key, (isc_uint32_t)keysize,
442 result = isc_ht_add(tomod, key, (isc_uint32_t)keysize,
455 (isc_uint32_t)keysize);

Completed in 17 milliseconds