mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
precalc the ge_p3 representation of H
This commit is contained in:
parent
ef56529f93
commit
1b867e7f40
5 changed files with 26 additions and 14 deletions
|
@ -1086,6 +1086,13 @@ TEST(ringct, zeroCommmit)
|
|||
ASSERT_EQ(z, manual);
|
||||
}
|
||||
|
||||
TEST(ringct, H)
|
||||
{
|
||||
ge_p3 p3;
|
||||
ASSERT_EQ(ge_frombytes_vartime(&p3, rct::H.bytes), 0);
|
||||
ASSERT_EQ(memcmp(&p3, &ge_p3_H, sizeof(ge_p3)), 0);
|
||||
}
|
||||
|
||||
TEST(ringct, aggregated)
|
||||
{
|
||||
static const size_t N_PROOFS = 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue