aboutsummaryrefslogtreecommitdiff
path: root/src/device/device.hpp
diff options
context:
space:
mode:
authorcslashm <cslashm@gmail.com>2018-12-11 10:20:21 +0100
committercslashm <cslashm@gmail.com>2019-03-28 18:26:15 +0100
commit98fdcb2aa5a1c64bad4080ad00e4bd7eb647dc74 (patch)
tree0a69b1f57abe2b61e8f3eb532c9aa0ec0eb7927a /src/device/device.hpp
parentAdd application version compatibility check. (diff)
downloadmonero-98fdcb2aa5a1c64bad4080ad00e4bd7eb647dc74.tar.xz
Add support for V11 protocol with BulletProofV2 and short amount.
New scheme key destination contrfol Fix dummy decryption in debug mode
Diffstat (limited to 'src/device/device.hpp')
-rw-r--r--src/device/device.hpp2
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;