more pre-calculated x25519

This commit is contained in:
orignal 2021-05-10 18:55:39 -04:00
parent a8e1cd9a13
commit 1285e30b3e
3 changed files with 3 additions and 2 deletions

View file

@ -196,7 +196,7 @@ namespace garlic
i2p::transport::transports.ReuseX25519KeysPair (m_EphemeralKeys);
}
// we still didn't find elligator eligible pair
for (int i = 0; i < 10; i++)
for (int i = 0; i < 25; i++)
{
// create new
m_EphemeralKeys = std::make_shared<i2p::crypto::X25519Keys>();