From bcab579864801e765333e8766b714adc22e47b8b Mon Sep 17 00:00:00 2001 From: stoffu Date: Fri, 6 Jul 2018 15:42:08 +0900 Subject: wallet: allow adjusting number of rounds for the key derivation function --- src/device/device.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device/device.hpp') diff --git a/src/device/device.hpp b/src/device/device.hpp index 9df0cb39d..c21456daf 100644 --- a/src/device/device.hpp +++ b/src/device/device.hpp @@ -125,7 +125,7 @@ namespace hw { /* ======================================================================= */ virtual bool get_public_address(cryptonote::account_public_address &pubkey) = 0; virtual bool get_secret_keys(crypto::secret_key &viewkey , crypto::secret_key &spendkey) = 0; - virtual bool generate_chacha_key(const cryptonote::account_keys &keys, crypto::chacha_key &key) = 0; + virtual bool generate_chacha_key(const cryptonote::account_keys &keys, crypto::chacha_key &key, uint64_t kdf_rounds) = 0; /* ======================================================================= */ /* SUB ADDRESS */ -- cgit v1.2.3