1 /* $NetBSD: zonemd_63.h,v 1.1.1.1 2019/02/24 18:56:52 christos Exp $ */ 2 3 /* 4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14 #ifndef GENERIC_ZONEMD_63_H 15 #define GENERIC_ZONEMD_63_H 1 16 17 /* Digest type(s). Currently only SHA-384 is defined. */ 18 #define DNS_ZONEMD_DIGEST_SHA384 (1) 19 20 /* 21 * \brief per draft-wessels-zone-digest-05 22 */ 23 typedef struct dns_rdata_zonemd { 24 dns_rdatacommon_t common; 25 isc_mem_t *mctx; 26 uint32_t serial; 27 uint8_t digest_type; 28 uint8_t reserved; 29 unsigned char *digest; 30 uint16_t length; 31 } dns_rdata_zonemd_t; 32 33 #endif /* GENERIC_ZONEMD_63_H */ 34