summaryrefslogtreecommitdiff
path: root/hashfwd.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-12-25 22:29:21 -0500
committerJeffrey Walton <noloader@gmail.com>2017-12-25 22:29:21 -0500
commitc0a8dab984d1214a76b6116a02baf1021bf7dc73 (patch)
tree270feb468610e92ab507df0e50e60cd12929254c /hashfwd.h
parent4232cfd40b692da38a3c3098af801d16ebb26852 (diff)
downloadcryptopp-git-c0a8dab984d1214a76b6116a02baf1021bf7dc73.tar.gz
Fix failed self test under Clang (GH #533)
This may cause GH #300, "Clang 3.9 and missing member definitions for template classes" or GH #294, "Fix clang warnings about undefined variable templates in pkcspad.h" to resurface. Man I hope not...
Diffstat (limited to 'hashfwd.h')
-rw-r--r--hashfwd.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/hashfwd.h b/hashfwd.h
new file mode 100644
index 00000000..00fc86b4
--- /dev/null
+++ b/hashfwd.h
@@ -0,0 +1,35 @@
+// hashfwd.h - written and placed in the public domain by Jeffrey Walton
+
+/// \file hashfwd.h
+/// \brief Forward declarations for hash functions used in signature encoding methods
+
+#ifndef CRYPTOPP_HASHFWD_H
+#define CRYPTOPP_HASHFWD_H
+
+#include "config.h"
+
+NAMESPACE_BEGIN(CryptoPP)
+
+class SHA1;
+class SHA224;
+class SHA256;
+class SHA384;
+class SHA512;
+
+// http://github.com/weidai11/cryptopp/issues/517
+class SHA3_256;
+class SHA3_384;
+class SHA3_512;
+
+class Tiger;
+class RIPEMD128;
+class RIPEMD160;
+
+namespace Weak1 {
+ class MD2;
+ class MD5;
+}
+
+NAMESPACE_END
+
+#endif // CRYPTOPP_HASHFWD_H