diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-06 08:41:02 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-06 08:41:02 +0200 |
commit | c102c49da5015592d2a2fedf0ae348495ec382df (patch) | |
tree | ba6f9a6ccc7e9d112ac2e305eac0160da2bdcbdf /src/device | |
parent | Merge pull request #3261 (diff) | |
parent | tweaks to the monerov1 cryptonight algorithm (diff) | |
download | monero-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/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()); |