aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/sig_clsag.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/performance_tests/sig_clsag.h')
-rw-r--r--tests/performance_tests/sig_clsag.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/performance_tests/sig_clsag.h b/tests/performance_tests/sig_clsag.h
index 255eac63b..c15668adb 100644
--- a/tests/performance_tests/sig_clsag.h
+++ b/tests/performance_tests/sig_clsag.h
@@ -51,8 +51,9 @@ public:
if (!single_tx_test_base::init())
return false;
- message = identity();
+ message = skGen();
+ // Random signing/commitment keys
pubs.reserve(N);
for (size_t i = 0; i < N; i++)
{
@@ -65,18 +66,22 @@ public:
pubs.push_back(tmp);
}
+ // Signing key
key p;
skpkGen(p,pubs[l].dest);
+ // Commitment key
key t,u;
t = skGen();
u = skGen();
addKeys2(pubs[l].mask,t,u,H);
+ // Offset
key t2;
t2 = skGen();
addKeys2(C_offset,t2,u,H);
+ // Final signing keys
ctkey insk;
insk.dest = p;
insk.mask = t;