diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-02-07 19:07:36 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-05 18:18:39 +0000 |
commit | 608fd6f14a6b9c0eeba2843fb14cbb235be0034f (patch) | |
tree | cde1b94ca58309ebc3711294bcade24adc2fd172 /src/device | |
parent | Merge pull request #3261 (diff) | |
download | monero-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/device')
-rw-r--r-- | src/device/device_ledger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp index cede834a1..571d42724 100644 --- a/src/device/device_ledger.cpp +++ b/src/device/device_ledger.cpp @@ -511,7 +511,7 @@ namespace hw { char prekey[200]; memmove(prekey, &this->buffer_recv[0], 200); - crypto::generate_chacha_key(&prekey[0], sizeof(prekey), key, true); + crypto::generate_chacha_key(&prekey[0], sizeof(prekey), key, 0, true); #ifdef DEBUG_HWDEVICE hw::ledger::check32("generate_chacha_key", "key", (char*)key_x.data(), (char*)key.data()); |