precalc the ge_p3 representation of H

This commit is contained in:
moneromooo-monero
2018-09-11 13:37:42 +00:00
parent ef56529f93
commit 1b867e7f40
5 changed files with 26 additions and 14 deletions
+7
View File
@@ -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;