diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-28 20:16:22 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-28 20:16:22 -0500 |
commit | 74bb196296f8c56fd8925856ed59f05aa3850f9b (patch) | |
tree | c90fe63f767a959bfce39f9ed9f2c6aa6be8d8f8 /miner.h | |
parent | 339ddf4d757e17687d18d59e8ded57a71f186121 (diff) |
Add Crypto++ sha256 implementation (C only, ASM elided for now)
Diffstat (limited to 'miner.h')
-rw-r--r-- | miner.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |