Lines Matching +defs:to +defs:string
8 * This Source Code Form is subject to the terms of the Mozilla Public
22 #include <string.h>
30 #include <isc/string.h>
65 decode_salt(const char *string, unsigned char *salt, size_t saltlen) {
70 result = isc_hex_decodestring(string, &buf);
75 copy_params(nsec3param_rdata_test_params_t from, dns_rdata_nsec3param_t *to,
77 to->hash = from.hash;
78 to->flags = from.flags;
79 to->iterations = from.iterations;
80 to->salt_length = from.salt_length;
82 to->salt = NULL;
84 to->salt = (unsigned char *)"-";
87 to->salt = saltbuf;
105 * and sets the correct parameters to use in dns_zone_setnsec3param().
153 * to the previous salt and test that it has changed.
185 * This should change the salt. Set 'expect.salt' to NULL to
194 * need to resalt because an explicit salt has been set,
202 * We don't care about the salt. Since we need to change the
210 * Changing salt length means we need to resalt.
218 * No need to resalt because an explicit salt is available.
239 * Change parameters to use no salt. These parameters are
240 * not found, and no new salt needs to be generated.