Builtin macros for sha3-hash and ed25519-signing support
[exim.git] / src / src / pdkim / pdkim_hash.h
CommitLineData
63af6f3a
JH
1/*
2 * PDKIM - a RFC4871 (DKIM) implementation
3 *
9242a7e8 4 * Copyright (C) 2017 Exim maintainers
63af6f3a
JH
5 *
6 * Hash interface functions
7 */
8
9#include "../exim.h"
10
11#if !defined(HASH_H) /* entire file */
12#define HASH_H
13
14#ifndef SUPPORT_TLS
15# error Need SUPPORT_TLS for DKIM
16#endif
17
18#include "crypt_ver.h"
19#include "../blob.h"
20#include "../hash.h"
21
d73e45df 22#ifdef SIGN_OPENSSL
63af6f3a
JH
23# include <openssl/rsa.h>
24# include <openssl/ssl.h>
25# include <openssl/err.h>
d73e45df 26#elif defined(SIGN_GNUTLS)
63af6f3a
JH
27# include <gnutls/gnutls.h>
28# include <gnutls/x509.h>
29#endif
30
31#if defined(SHA_OPENSSL)
32# include "pdkim.h"
33#elif defined(SHA_GCRYPT)
34# include "pdkim.h"
35#endif
36
37#endif
38/* End of File */