precalc the ge_p3 representation of H

This commit is contained in:
moneromooo-monero 2018-05-24 20:14:09 +01:00
parent ef56529f93
commit 1b867e7f40
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
5 changed files with 26 additions and 14 deletions

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;