diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-02-05 08:51:19 -0500 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-02-05 08:51:19 -0500 |
commit | fc62af5cf8af85703af6583bc1af7bab45b4e334 (patch) | |
tree | eb0c62df6e5a3d4f07b57d96254977c0a78910e2 /src/crypto/slow-hash.c | |
parent | Merge PR #26 (diff) | |
parent | Merge pull request #221 (diff) | |
download | monero-fc62af5cf8af85703af6583bc1af7bab45b4e334.tar.xz |
Merge remote-tracking branch 'monero-project/master' into blockchain
Diffstat (limited to 'src/crypto/slow-hash.c')
-rw-r--r-- | src/crypto/slow-hash.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index fda854ea5..6b410b01a 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -627,6 +627,18 @@ void cn_slow_hash(const void *data, size_t length, char *hash) #else // Portable implementation as a fallback +void slow_hash_allocate_state(void) +{ + // Do nothing, this is just to maintain compatibility with the upgraded slow-hash.c + return; +} + +void slow_hash_free_state(void) +{ + // As above + return; +} + static void (*const extra_hashes[4])(const void *, size_t, char *) = { hash_extra_blake, hash_extra_groestl, hash_extra_jh, hash_extra_skein }; |