diff options
Diffstat (limited to 'src/device/device.hpp')
-rw-r--r-- | src/device/device.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/device.hpp b/src/device/device.hpp index 65b38361b..33e1337c4 100644 --- a/src/device/device.hpp +++ b/src/device/device.hpp @@ -220,6 +220,8 @@ namespace hw { return encrypt_payment_id(payment_id, public_key, secret_key); } + virtual rct::key genCommitmentMask(const rct::key &amount_key) = 0; + virtual bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec, bool short_amount) = 0; virtual bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec, bool short_amount) = 0; |