From 2b83d00a9bd4ea0cd2145ae4d16d16d65a36af7a Mon Sep 17 00:00:00 2001 From: j-berman Date: Tue, 21 Jun 2022 17:45:02 +0100 Subject: ledger support for hf 15 (BP+, view tags) --- src/device/device.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/device/device.hpp') diff --git a/src/device/device.hpp b/src/device/device.hpp index eca91006f..392703a24 100644 --- a/src/device/device.hpp +++ b/src/device/device.hpp @@ -177,6 +177,7 @@ namespace hw { virtual bool derive_public_key(const crypto::key_derivation &derivation, const std::size_t output_index, const crypto::public_key &pub, crypto::public_key &derived_pub) = 0; virtual bool secret_key_to_public_key(const crypto::secret_key &sec, crypto::public_key &pub) = 0; virtual bool generate_key_image(const crypto::public_key &pub, const crypto::secret_key &sec, crypto::key_image &image) = 0; + virtual bool derive_view_tag(const crypto::key_derivation &derivation, const std::size_t output_index, crypto::view_tag &view_tag) = 0; // alternative prototypes available in libringct rct::key scalarmultKey(const rct::key &P, const rct::key &a) -- cgit v1.2.3