nsec3param_51.c revision 3d17a3ba61a303d5c4d9867068d0fbe9f24d2988
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * Copyright (C) 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * Permission to use, copy, modify, and/or distribute this software for any
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * purpose with or without fee is hereby granted, provided that the above
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * copyright notice and this permission notice appear in all copies.
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * PERFORMANCE OF THIS SOFTWARE.
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt/* $Id: nsec3param_51.c,v 1.7 2009/12/04 21:09:34 marka Exp $ */
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * Copyright (C) 2004 Nominet, Ltd.
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * Permission to use, copy, modify, and distribute this software for any
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * purpose with or without fee is hereby granted, provided that the above
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * copyright notice and this permission notice appear in all copies.
dc2a4887c40b1ee361cef51e188b386e19497e01Witold Krecicki * THE SOFTWARE IS PROVIDED "AS IS" AND NOMINET DISCLAIMS ALL WARRANTIES WITH
470af54b4ec7ab38ad10a5bd22a0a20664838c99Evan Hunt * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
90c7806bb642e8c5fcf9d1f448be08e7f41cc9c6Evan Hunt * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
90c7806bb642e8c5fcf9d1f448be08e7f41cc9c6Evan Hunt * PERFORMANCE OF THIS SOFTWARE.
470af54b4ec7ab38ad10a5bd22a0a20664838c99Evan Hunt/* RFC 5155 */
470af54b4ec7ab38ad10a5bd22a0a20664838c99Evan Hunt#define RRTYPE_NSEC3PARAM_ATTRIBUTES (DNS_RDATATYPEATTR_DNSSEC)
unsigned int flags = 0;
unsigned char hashalg;
ISC_FALSE));
ISC_FALSE));
ISC_FALSE));
ISC_FALSE));
return (ISC_R_SUCCESS);
static inline isc_result_t
unsigned char hash;
unsigned char flags;
return (ISC_R_SUCCESS);
static inline isc_result_t
unsigned int saltlen;
return (ISC_R_SUCCESS);
static inline isc_result_t
static inline isc_result_t
return (ISC_R_SUCCESS);
static inline isc_result_t
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
static inline isc_result_t
return (ISC_R_SUCCESS);
static inline isc_result_t
isc_region_t r;
static inline isc_boolean_t
return (ISC_TRUE);
static inline isc_boolean_t
return (ISC_TRUE);