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

@ -556,6 +556,7 @@ namespace garlic
if (m_LastTagset && m_LastTagset->GetNextIndex () < 2*ECIESX25519_TAGSET_MAX_NUM_TAGS)
{
auto maxTags = std::max (m_NumRatchetInboundTags, ECIESX25519_MAX_NUM_GENERATED_TAGS);
LogPrint (eLogWarning, "Garlic: trying to generate more ECIES-X25519-AEAD-Ratchet tags");
for (int i = 0; i < maxTags; i++)
{
auto nextTag = AddECIESx25519SessionNextTag (m_LastTagset);