From 98fdcb2aa5a1c64bad4080ad00e4bd7eb647dc74 Mon Sep 17 00:00:00 2001 From: cslashm Date: Tue, 11 Dec 2018 10:20:21 +0100 Subject: Add support for V11 protocol with BulletProofV2 and short amount. New scheme key destination contrfol Fix dummy decryption in debug mode --- src/device/device.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/device/device.hpp') 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; -- cgit v1.2.3