aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.hpp
diff options
context:
space:
mode:
authorcslashm <cslashm@gmail.com>2020-03-31 17:11:51 +0200
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-08-27 12:44:18 +0000
commit1660fe8a2508cef20dc3f5cb53c88bf17ca3e3ed (patch)
treef988a1e1a85cfc2f5db3412315619b61d7746a15 /src/device/device_ledger.hpp
parentCLSAG device support (diff)
downloadmonero-1660fe8a2508cef20dc3f5cb53c88bf17ca3e3ed.tar.xz
draft support of clsag
Diffstat (limited to 'src/device/device_ledger.hpp')
-rw-r--r--src/device/device_ledger.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp
index 4036035c8..d3ec08288 100644
--- a/src/device/device_ledger.hpp
+++ b/src/device/device_ledger.hpp
@@ -297,6 +297,11 @@ namespace hw {
bool mlsag_hash(const rct::keyV &long_message, rct::key &c) override;
bool mlsag_sign( const rct::key &c, const rct::keyV &xx, const rct::keyV &alpha, const size_t rows, const size_t dsRows, rct::keyV &ss) override;
+ bool clsag_prepare(const rct::key &p, const rct::key &z, rct::key &I, rct::key &D, const rct::key &H, rct::key &a, rct::key &aG, rct::key &aH) override;
+ bool clsag_hash(const rct::keyV &data, rct::key &hash) override;
+ bool clsag_sign(const rct::key &c, const rct::key &a, const rct::key &p, const rct::key &z, const rct::key &mu_P, const rct::key &mu_C, rct::key &s) override;
+
+
bool close_tx(void) override;
};