Integrate CLSAGs into monero

They are allowed from v12, and MLSAGs are rejected from v13.
This commit is contained in:
moneromooo-monero
2019-06-09 13:02:16 +00:00
parent 8cd1d6df8f
commit 82ee01699c
31 changed files with 1083 additions and 195 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ public:
P[l] = rct::scalarmultBase(p);
C[l] = rct::scalarmultBase(z);
sig = CLSAG_Gen(rct::identity(),P,p,C,z,l,NULL);
sig = CLSAG_Gen(rct::identity(),P,p,C,z,l);
return true;
}
@@ -70,7 +70,7 @@ public:
if (ver)
return CLSAG_Ver(rct::identity(),P,C,sig);
else
CLSAG_Gen(rct::identity(),P,p,C,z,l,NULL);
CLSAG_Gen(rct::identity(),P,p,C,z,l);
return true;
}