Searched refs:salt (Results 1 - 20 of 20) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dnsec3param_51.h35 unsigned char *salt; member in struct:dns_rdata_nsec3param
H A Dnsec3_50.h37 unsigned char *salt; member in struct:dns_rdata_nsec3
H A Dnsec3param_51.c218 RETERR(mem_tobuffer(target, nsec3param->salt,
243 nsec3param->salt = mem_maybedup(mctx, region.base,
245 if (nsec3param->salt == NULL)
263 if (nsec3param->salt != NULL)
264 isc_mem_free(nsec3param->mctx, nsec3param->salt);
H A Dnsec3_50.c85 /* salt */
348 RETERR(mem_tobuffer(target, nsec3->salt, nsec3->salt_length));
390 nsec3->salt = mem_maybedup(mctx, region.base, nsec3->salt_length);
391 if (nsec3->salt == NULL)
412 isc_mem_free(mctx, nsec3->salt);
426 if (nsec3->salt != NULL)
427 isc_mem_free(nsec3->mctx, nsec3->salt);
/bind-9.6-ESV-R11/lib/isc/
H A Diterated_hash.c29 const unsigned char *salt, int saltlength,
41 isc_sha1_update(&ctx, salt, saltlength);
27 isc_iterated_hash(unsigned char out[ISC_SHA1_DIGESTLENGTH], unsigned int hashalg, int iterations, const unsigned char *salt, int saltlength, const unsigned char *in, int inlength) argument
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Diterated_hash.h41 const unsigned char *salt, int saltlength,
/bind-9.6-ESV-R11/bin/tests/
H A Dnsec3hash.c63 fatal("salt hash iterations domain");
74 unsigned char salt[DNS_NSEC3_SALTSIZE]; local
86 salt[0] = 0;
88 isc_buffer_init(&buffer, salt, sizeof(salt));
90 check_result(result, "isc_hex_decodestring(salt)");
93 fatal("salt too long");
110 length = isc_iterated_hash(hash, hash_alg, iterations, salt,
118 fprintf(stdout, "%.*s (salt=%s, hash=%u, iterations=%u)\n",
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dnsec3.h34 * hash = 1, flags =1, iterations = 2, salt length = 1, salt = 255 (max)
39 * hash = 1, flags = 1, iterations = 2, salt length = 1, salt = 255 (max)
54 const unsigned char *salt, size_t salt_length,
85 const unsigned char *salt, size_t saltlength);
H A Ddb.h155 unsigned char *salt,
1373 unsigned char *salt, size_t *salt_length);
/bind-9.6-ESV-R11/contrib/zkt/
H A Dmisc.h82 extern int gensalt (char *salt, size_t saltsize, int saltbits, unsigned int seed);
H A Dmisc.c996 ** generate a random hexstring of 'bits' salt and store it
1000 int gensalt (char *salt, size_t saltsize, int saltbits, unsigned int seed) argument
1003 int saltlen = 0; /* current length of salt in hex nibbles */
1018 salt[i] = hexstr[hex];
1020 salt[i] = '\0';
H A Dzkt-signer.c888 char salt[510+1]; /* salt has a maximum of 255 bytes == 510 hex nibbles */ local
903 /* static zones can use always a new salt (full zone signing) */
906 { /* dynamic zones have to reuse the salt on signing */
918 if ( gensalt (salt, sizeof (salt), conf->saltbits, seed) )
919 snprintf (nsec3param, sizeof (nsec3param), "%s%s-3 %s ", update, optout, salt);
/bind-9.6-ESV-R11/lib/dns/
H A Dnsec3.c81 const unsigned char *salt, size_t salt_length,
122 memmove(p, salt, salt_length);
263 const unsigned char *salt, size_t saltlength)
283 len = isc_iterated_hash(rethash, hashalg, iterations, salt, saltlength,
408 !memcmp(nsec3->salt, nsec3param->salt, nsec3->salt_length))
556 unsigned char *salt; local
580 salt = nsec3param->salt;
594 salt, salt_lengt
78 dns_nsec3_buildrdata(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, unsigned int hashalg, unsigned int flags, unsigned int iterations, const unsigned char *salt, size_t salt_length, const unsigned char *nexthash, size_t hash_length, unsigned char *buffer, dns_rdata_t *rdata) argument
259 dns_nsec3_hashname(dns_fixedname_t *result, unsigned char rethash[NSEC3_MAX_HASH_LENGTH], size_t *hash_length, dns_name_t *name, dns_name_t *origin, dns_hash_t hashalg, unsigned int iterations, const unsigned char *salt, size_t saltlength) argument
1018 unsigned char *salt; local
[all...]
H A Ddb.c893 unsigned char *salt, size_t *salt_length)
901 salt, salt_length));
890 dns_db_getnsec3parameters(dns_db_t *db, dns_dbversion_t *version, dns_hash_t *hash, isc_uint8_t *flags, isc_uint16_t *iterations, unsigned char *salt, size_t *salt_length) argument
H A Drbtdb.c394 unsigned char salt[DNS_NSEC3_SALTSIZE]; member in struct:rbtdb_version
1121 memmove(version->salt, rbtdb->current_version->salt,
1128 memset(version->salt, 0, sizeof(version->salt));
2095 memmove(version->salt, nsec3param.salt,
3257 memcmp(nsec3.salt, search->rbtversion->salt,
6735 unsigned char *salt, size_
6733 getnsec3parameters(dns_db_t *db, dns_dbversion_t *version, dns_hash_t *hash, isc_uint8_t *flags, isc_uint16_t *iterations, unsigned char *salt, size_t *salt_length) argument
[all...]
H A Dzone.c526 unsigned char salt[255]; member in struct:dns_nsec3chain
542 * 'salt' is buffer space and is referenced via 'nsec3param.salt'.
2344 memmove(nsec3chain->salt, nsec3param->salt, nsec3param->salt_length);
2345 nsec3chain->nsec3param.salt = nsec3chain->salt;
2357 && !memcmp(current->nsec3param.salt, nsec3param->salt,
4637 memcmp(nsec3param.salt, chai
11852 char salt[255*2+1]; local
[all...]
H A Dvalidator.c353 nsec3.iterations, nsec3.salt,
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-signzone.c655 const unsigned char *salt, size_t salt_length,
663 len = isc_iterated_hash(hash, hashalg, iterations, salt, salt_length,
745 const unsigned char *salt, size_t salt_length)
772 hashlist_add_dns_name(l, wild, hashalg, iterations, salt, salt_length,
2147 addnsec3param(const unsigned char *salt, size_t salt_length, argument
2169 DE_CONST(salt, nsec3param.salt);
2207 const unsigned char *salt, size_t salt_length,
2231 salt, salt_length);
2238 salt, salt_lengt
653 hashlist_add_dns_name(hashlist_t *l, dns_name_t *name, unsigned int hashalg, unsigned int iterations, const unsigned char *salt, size_t salt_length, isc_boolean_t speculative) argument
743 addnowildcardhash(hashlist_t *l, dns_name_t *name, unsigned int hashalg, unsigned int iterations, const unsigned char *salt, size_t salt_length) argument
2206 addnsec3(dns_name_t *name, dns_dbnode_t *node, const unsigned char *salt, size_t salt_length, unsigned int iterations, hashlist_t *hashlist, dns_ttl_t ttl) argument
2272 nsec3clean(dns_name_t *name, dns_dbnode_t *node, unsigned int hashalg, unsigned int iterations, const unsigned char *salt, size_t salt_length, hashlist_t *hashlist) argument
2374 nsec3ify(unsigned int hashalg, unsigned int iterations, const unsigned char *salt, size_t salt_length, hashlist_t *hashlist) argument
3077 const unsigned char *salt = NULL; local
[all...]
/bind-9.6-ESV-R11/lib/dns/tests/
H A Ddbversion_test.c584 unsigned char salt[DNS_NSEC3_SALTSIZE]; local
585 size_t salt_length = sizeof(salt);
594 &flags, &iterations, salt,
/bind-9.6-ESV-R11/bin/named/
H A Dquery.c3674 unsigned char salt[256]; local
3687 salt_length = sizeof(salt);
3689 &iterations, salt, &salt_length);
3707 iterations, salt, salt_length);

Completed in 6024 milliseconds