mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
bulletproofs: speed up the latest changes a bit
This commit is contained in:
parent
044dff5a30
commit
2bf636503f
7 changed files with 68 additions and 35 deletions
|
@ -1093,6 +1093,13 @@ TEST(ringct, H)
|
|||
ASSERT_EQ(memcmp(&p3, &ge_p3_H, sizeof(ge_p3)), 0);
|
||||
}
|
||||
|
||||
TEST(ringct, mul8)
|
||||
{
|
||||
ASSERT_EQ(rct::scalarmult8(rct::identity()), rct::identity());
|
||||
ASSERT_EQ(rct::scalarmult8(rct::H), rct::scalarmultKey(rct::H, rct::EIGHT));
|
||||
ASSERT_EQ(rct::scalarmultKey(rct::scalarmultKey(rct::H, rct::INV_EIGHT), rct::EIGHT), rct::H);
|
||||
}
|
||||
|
||||
TEST(ringct, aggregated)
|
||||
{
|
||||
static const size_t N_PROOFS = 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue