aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hash-ops.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-06 08:41:02 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-06 08:41:02 +0200
commitc102c49da5015592d2a2fedf0ae348495ec382df (patch)
treeba6f9a6ccc7e9d112ac2e305eac0160da2bdcbdf /src/crypto/hash-ops.h
parentMerge pull request #3261 (diff)
parenttweaks to the monerov1 cryptonight algorithm (diff)
downloadmonero-c102c49da5015592d2a2fedf0ae348495ec382df.tar.xz
Merge pull request #3253
e136bc6b tweaks to the monerov1 cryptonight algorithm (Lee Clagett) d58c9ec9 slow-hash: optimized version (SChernykh) 608fd6f1 Monero Cryptonight variants, and add one for v7 (moneromooo-monero)
Diffstat (limited to 'src/crypto/hash-ops.h')
-rw-r--r--src/crypto/hash-ops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/hash-ops.h b/src/crypto/hash-ops.h
index 130bf02db..934d464de 100644
--- a/src/crypto/hash-ops.h
+++ b/src/crypto/hash-ops.h
@@ -79,8 +79,8 @@ enum {
};
void cn_fast_hash(const void *data, size_t length, char *hash);
-void cn_slow_hash(const void *data, size_t length, char *hash);
-void cn_slow_hash_pre(const void *data, size_t length, char *hash, bool pre);
+void cn_slow_hash(const void *data, size_t length, char *hash, int variant);
+void cn_slow_hash_pre(const void *data, size_t length, char *hash, int variant, bool pre);
void hash_extra_blake(const void *data, size_t length, char *hash);
void hash_extra_groestl(const void *data, size_t length, char *hash);