MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / AddECIESx25519SessionNextTag

Method AddECIESx25519SessionNextTag

libi2pd/Garlic.cpp:1077–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1075 }
1076
1077 uint64_t GarlicDestination::AddECIESx25519SessionNextTag (ReceiveRatchetTagSetPtr tagset)
1078 {
1079 auto index = tagset->GetNextIndex ();
1080 uint64_t tag = tagset->GetNextSessionTag ();
1081 if (tag)
1082 m_ECIESx25519Tags.emplace (tag, ECIESX25519AEADRatchetIndexTagset{index, tagset});
1083 return tag;
1084 }
1085
1086 void GarlicDestination::AddECIESx25519Session (const uint8_t * staticKey, ECIESX25519AEADRatchetSessionPtr session)
1087 {

Callers 1

Calls 2

GetNextIndexMethod · 0.80
GetNextSessionTagMethod · 0.80

Tested by

no test coverage detected