2 * PDKIM - a RFC4871 (DKIM) implementation
4 * Copyright (C) 1995 - 2018 Exim maintainers
5 * SPDX-License-Identifier: GPL-2.0-or-later
7 * Hash interface functions
12 #if !defined(HASH_H) /* entire file */
16 # error Must not DISABLE_TLS, for DKIM
19 #include "crypt_ver.h"
24 # include <openssl/rsa.h>
25 # include <openssl/ssl.h>
26 # include <openssl/err.h>
27 #elif defined(SIGN_GNUTLS)
28 # include <gnutls/gnutls.h>
29 # include <gnutls/x509.h>
32 #if defined(SHA_OPENSSL)
34 #elif defined(SHA_GCRYPT)