aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hash-ops.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-07 19:07:36 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-05 18:18:39 +0000
commit608fd6f14a6b9c0eeba2843fb14cbb235be0034f (patch)
treecde1b94ca58309ebc3711294bcade24adc2fd172 /src/crypto/hash-ops.h
parentMerge pull request #3261 (diff)
downloadmonero-608fd6f14a6b9c0eeba2843fb14cbb235be0034f.tar.xz
Monero Cryptonight variants, and add one for v7
This is the first variant of many, with the intent to improve Monero's resistance to ASICs and encourage mining decentralization.
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);