mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 19:33:28 +01:00
Merge pull request #2903
8d4469a0
ringct: do not include bulletproof commitments in signed message (moneromooo-monero)
This commit is contained in:
commit
2b5abb8269
@ -347,11 +347,11 @@ namespace rct {
|
|||||||
keyV kv;
|
keyV kv;
|
||||||
if (rv.type == RCTTypeSimpleBulletproof || rv.type == RCTTypeFullBulletproof)
|
if (rv.type == RCTTypeSimpleBulletproof || rv.type == RCTTypeFullBulletproof)
|
||||||
{
|
{
|
||||||
kv.reserve((6*2+10) * rv.p.bulletproofs.size());
|
kv.reserve((6*2+9) * rv.p.bulletproofs.size());
|
||||||
for (const auto &p: rv.p.bulletproofs)
|
for (const auto &p: rv.p.bulletproofs)
|
||||||
{
|
{
|
||||||
for (size_t n = 0; n < p.V.size(); ++n)
|
// V are not hashed as they're expanded from outPk.mask
|
||||||
kv.push_back(p.V[n]);
|
// (and thus hashed as part of rctSigBase above)
|
||||||
kv.push_back(p.A);
|
kv.push_back(p.A);
|
||||||
kv.push_back(p.S);
|
kv.push_back(p.S);
|
||||||
kv.push_back(p.T1);
|
kv.push_back(p.T1);
|
||||||
|
Loading…
Reference in New Issue
Block a user