mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-23 07:50:01 +00:00
common HKDF context for ratchets tags
This commit is contained in:
+1
-1
@@ -1067,7 +1067,7 @@ namespace garlic
|
||||
uint64_t GarlicDestination::AddECIESx25519SessionNextTag (ReceiveRatchetTagSetPtr tagset)
|
||||
{
|
||||
auto index = tagset->GetNextIndex ();
|
||||
uint64_t tag = tagset->GetNextSessionTag ();
|
||||
uint64_t tag = tagset->GetNextSessionTag (m_HKDFContext);
|
||||
if (tag)
|
||||
m_ECIESx25519Tags.emplace (tag, ECIESX25519AEADRatchetIndexTagset{index, tagset});
|
||||
return tag;
|
||||
|
||||
Reference in New Issue
Block a user