mirror of
https://github.com/monero-project/monero.git
synced 2024-12-29 03:36:13 -05:00
ringct: add sc_check calls in MLSAG_Ver for ss and cc
luigi1111's recommendation
This commit is contained in:
parent
2f1732a7e5
commit
3b00527500
@ -259,6 +259,11 @@ namespace rct {
|
||||
}
|
||||
CHECK_AND_ASSERT_MES(dsRows <= rows, false, "Bad dsRows value");
|
||||
|
||||
for (size_t i = 0; i < rv.ss.size(); ++i)
|
||||
for (size_t j = 0; j < rv.ss[i].size(); ++j)
|
||||
CHECK_AND_ASSERT_MES(sc_check(rv.ss[i][j].bytes) == 0, false, "Bad ss slot");
|
||||
CHECK_AND_ASSERT_MES(sc_check(rv.cc.bytes) == 0, false, "Bad cc");
|
||||
|
||||
size_t i = 0, j = 0, ii = 0;
|
||||
key c, L, R, Hi;
|
||||
key c_old = copy(rv.cc);
|
||||
|
Loading…
Reference in New Issue
Block a user