aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h')
-rw-r--r--vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h b/vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h
new file mode 100644
index 000000000..9edc407d5
--- /dev/null
+++ b/vendor/github.com/ethereum/ethash/src/libethash/sha3_cryptopp.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "compiler.h"
+#include <stdint.h>
+#include <stdlib.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct ethash_h256;
+
+void SHA3_256(struct ethash_h256 const* ret, uint8_t const* data, size_t size);
+void SHA3_512(uint8_t* const ret, uint8_t const* data, size_t size);
+
+#ifdef __cplusplus
+}
+#endif