diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-27 04:31:32 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-27 04:31:32 -0500 |
commit | 339ddf4d757e17687d18d59e8ded57a71f186121 (patch) | |
tree | 8bdcd2f8bfee2b5ffdd8ee5c5cb2cd7fa93967b8 /sha256_via.c | |
parent | ad3fda8aba5f3f1f4820a20a925c6387347876f9 (diff) |
Move sha256_generic into its own .o build output. Const-ify midstate param.
Diffstat (limited to 'sha256_via.c')
-rw-r--r-- | sha256_via.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha256_via.c b/sha256_via.c index 8becfd7..d9abc88 100644 --- a/sha256_via.c +++ b/sha256_via.c @@ -28,7 +28,7 @@ static void via_sha256(void *hash, void *buf, unsigned len) :"memory"); } -bool scanhash_via(unsigned char *midstate, const unsigned char *data_in, +bool scanhash_via(const unsigned char *midstate, const unsigned char *data_in, unsigned char *hash1, unsigned char *hash, unsigned long *hashes_done) { |