aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/serialization.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-07-06 15:42:08 +0900
committerstoffu <stoffu@protonmail.ch>2018-08-08 01:56:54 +0900
commitbcab579864801e765333e8766b714adc22e47b8b (patch)
treecbf9e199af327a703804b403a3a9b08da18e778a /tests/unit_tests/serialization.cpp
parentMerge pull request #4129 (diff)
downloadmonero-bcab579864801e765333e8766b714adc22e47b8b.tar.xz
wallet: allow adjusting number of rounds for the key derivation function
Diffstat (limited to 'tests/unit_tests/serialization.cpp')
-rw-r--r--tests/unit_tests/serialization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/serialization.cpp b/tests/unit_tests/serialization.cpp
index 5a2114027..40616059a 100644
--- a/tests/unit_tests/serialization.cpp
+++ b/tests/unit_tests/serialization.cpp
@@ -810,7 +810,7 @@ TEST(Serialization, portability_outputs)
if(ciphertext.size() < prefix_size)
return {};
crypto::chacha_key key;
- crypto::generate_chacha_key(&skey, sizeof(skey), key);
+ crypto::generate_chacha_key(&skey, sizeof(skey), key, 1);
const crypto::chacha_iv &iv = *(const crypto::chacha_iv*)&ciphertext[0];
std::string plaintext;
plaintext.resize(ciphertext.size() - prefix_size);