#include <isc/sha1.h>
#include <isc/sha2.h>
#include <dns/ds.h>
#include "dst_gost.h"
Go to the source code of this file.
Defines | |
#define | RRTYPE_DLV_ATTRIBUTES 0 |
Functions | |
static isc_result_t | fromtext_dlv (ARGS_FROMTEXT) |
static isc_result_t | totext_dlv (ARGS_TOTEXT) |
static isc_result_t | fromwire_dlv (ARGS_FROMWIRE) |
static isc_result_t | towire_dlv (ARGS_TOWIRE) |
static int | compare_dlv (ARGS_COMPARE) |
static isc_result_t | fromstruct_dlv (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_dlv (ARGS_TOSTRUCT) |
static void | freestruct_dlv (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_dlv (ARGS_ADDLDATA) |
static isc_result_t | digest_dlv (ARGS_DIGEST) |
static isc_boolean_t | checkowner_dlv (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_dlv (ARGS_CHECKNAMES) |
static int | casecompare_dlv (ARGS_COMPARE) |
#define RRTYPE_DLV_ATTRIBUTES 0 |
Definition at line 24 of file dlv_32769.c.
static isc_result_t fromtext_dlv | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 34 of file dlv_32769.c.
References isc_tokenvalue_t::as_ulong, callbacks, DNS_DSDIGEST_GOST, DNS_DSDIGEST_SHA1, DNS_DSDIGEST_SHA256, DNS_DSDIGEST_SHA384, ISC_FALSE, ISC_GOST_DIGESTLENGTH, isc_hex_tobuffer(), isc_lex_getmastertoken(), ISC_R_RANGE, ISC_SHA1_DIGESTLENGTH, ISC_SHA256_DIGESTLENGTH, ISC_SHA384_DIGESTLENGTH, isc_tokentype_number, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), uint8_tobuffer(), UNUSED, and isc_token::value.
static isc_result_t totext_dlv | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 101 of file dlv_32769.c.
References dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, DNS_STYLEFLAG_NOCRYPTO, isc_hex_totext(), ISC_R_SUCCESS, isc_region_consume, REQUIRE, RETERR, str_totext(), uint16_fromregion(), uint8_fromregion(), and UNUSED.
static isc_result_t fromwire_dlv | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 157 of file dlv_32769.c.
References isc_region::base, DNS_DSDIGEST_GOST, DNS_DSDIGEST_SHA1, DNS_DSDIGEST_SHA256, DNS_DSDIGEST_SHA384, isc_buffer_activeregion, isc_buffer_forward, ISC_GOST_DIGESTLENGTH, ISC_R_UNEXPECTEDEND, ISC_SHA1_DIGESTLENGTH, ISC_SHA256_DIGESTLENGTH, ISC_SHA384_DIGESTLENGTH, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, and UNUSED.
static isc_result_t towire_dlv | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 206 of file dlv_32769.c.
References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.
static int compare_dlv | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 219 of file dlv_32769.c.
References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.
Referenced by casecompare_dlv().
static isc_result_t fromstruct_dlv | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 235 of file dlv_32769.c.
References dlv, DNS_DSDIGEST_GOST, DNS_DSDIGEST_SHA1, DNS_DSDIGEST_SHA256, DNS_DSDIGEST_SHA384, ISC_GOST_DIGESTLENGTH, ISC_SHA1_DIGESTLENGTH, ISC_SHA256_DIGESTLENGTH, ISC_SHA384_DIGESTLENGTH, mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint8_tobuffer(), and UNUSED.
static isc_result_t tostruct_dlv | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 270 of file dlv_32769.c.
References isc_region::base, dlv, dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mctx, mem_maybedup(), REQUIRE, uint16_fromregion(), and uint8_fromregion().
static void freestruct_dlv | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_dlv | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_dlv | ( | ARGS_DIGEST | ) | [inline, static] |
Definition at line 327 of file dlv_32769.c.
References arg, digest, dns_rdata_toregion(), r, and REQUIRE.
static isc_boolean_t checkowner_dlv | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_dlv | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_dlv | ( | ARGS_COMPARE | ) | [inline, static] |