diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:09:52 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:09:52 -0500 |
| commit | 017e07a0354ea01e2aba35dd5ae11c8b2b99170b (patch) | |
| tree | 2cd6d6fb33d4c215e4f4ea4b5cfd9ea0592b7516 /tests | |
| parent | dd966c8a3ac9d987745c494e33606e99ccec7d5f (diff) | |
| parent | bcab579864801e765333e8766b714adc22e47b8b (diff) | |
| download | monzero-core-017e07a0354ea01e2aba35dd5ae11c8b2b99170b.tar.gz monzero-core-017e07a0354ea01e2aba35dd5ae11c8b2b99170b.tar.xz monzero-core-017e07a0354ea01e2aba35dd5ae11c8b2b99170b.zip | |
Merge pull request #4103
bcab579 wallet: allow adjusting number of rounds for the key derivation function (stoffu)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit_tests/serialization.cpp | 2 |
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); |
