diff options
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hash.h b/hash.h new file mode 100644 index 0000000000..bef3e630a0 --- /dev/null +++ b/hash.h @@ -0,0 +1,20 @@ +#ifndef HASH_H +#define HASH_H + +#if defined(SHA1_PPC) +#include "ppc/sha1.h" +#elif defined(SHA1_APPLE) +#include <CommonCrypto/CommonDigest.h> +#elif defined(SHA1_OPENSSL) +#include <openssl/sha.h> +#elif defined(SHA1_DC) +#ifdef DC_SHA1_SUBMODULE +#include "sha1collisiondetection/lib/sha1.h" +#else +#include "sha1dc/sha1.h" +#endif +#else /* SHA1_BLK */ +#include "block-sha1/sha1.h" +#endif + +#endif |