1 /* 2 * tsig-openssl.h -- Interface to OpenSSL for TSIG support. 3 * 4 * Copyright (c) 2001-2006, NLnet Labs. All rights reserved. 5 * 6 * See LICENSE for the license. 7 * 8 */ 9 10 #ifndef TSIG_OPENSSL_H 11 #define TSIG_OPENSSL_H 12 13 #if defined(HAVE_SSL) 14 15 #include "region-allocator.h" 16 17 #include <openssl/hmac.h> 18 #include <openssl/sha.h> 19 20 /* 21 * Initialize OpenSSL support for TSIG. 22 */ 23 int tsig_openssl_init(region_type *region); 24 25 void tsig_openssl_finalize(void); 26 27 #endif /* defined(HAVE_SSL) */ 28 29 #endif /* TSIG_OPENSSL_H */ 30