aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-11-28 20:16:22 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-11-28 20:16:22 -0500
commit74bb196296f8c56fd8925856ed59f05aa3850f9b (patch)
treec90fe63f767a959bfce39f9ed9f2c6aa6be8d8f8 /miner.h
parent339ddf4d757e17687d18d59e8ded57a71f186121 (diff)
Add Crypto++ sha256 implementation (C only, ASM elided for now)
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/miner.h b/miner.h
index cda08ee..09157fa 100644
--- a/miner.h
+++ b/miner.h
@@ -37,6 +37,9 @@ extern bool scanhash_via(const unsigned char *midstate, const unsigned char *dat
extern bool scanhash_c(const unsigned char *midstate, unsigned char *data,
unsigned char *hash1, unsigned char *hash,
unsigned long *hashes_done);
+extern bool scanhash_cryptopp(const unsigned char *midstate,unsigned char *data,
+ unsigned char *hash1, unsigned char *hash,
+ unsigned long *hashes_done);
extern int
timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y);