2 * PDKIM - a RFC4871 (DKIM) implementation
4 * Copyright (C) 2017 Exim maintainers
6 * Hash interface functions
11 #if !defined(HASH_H) /* entire file */
15 # error Need SUPPORT_TLS for DKIM
18 #include "crypt_ver.h"
23 # include <openssl/rsa.h>
24 # include <openssl/ssl.h>
25 # include <openssl/err.h>
26 #elif defined(SIGN_GNUTLS)
27 # include <gnutls/gnutls.h>
28 # include <gnutls/x509.h>
31 #if defined(SHA_OPENSSL)
33 #elif defined(SHA_GCRYPT)