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_ledger.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/device/device_ledger.hpp') diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index 7ceeabc4f..da1bac575 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -207,6 +207,8 @@ namespace hw { bool encrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key) override; + rct::key genCommitmentMask(const rct::key &amount_key) override; + bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec, bool short_format) override; bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec, bool short_format) override; -- cgit v1.2.3