mirror of
https://github.com/monero-project/monero.git
synced 2025-05-07 19:54:58 -04:00
wallet: allow adjusting number of rounds for the key derivation function
This commit is contained in:
parent
0dddfeacc9
commit
bcab579864
14 changed files with 76 additions and 52 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue