mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-29 05:28:54 +00:00
always pass ECIES tag as uin64_t
This commit is contained in:
@@ -471,13 +471,6 @@ namespace garlic
|
||||
}
|
||||
}
|
||||
|
||||
void GarlicDestination::AddECIESx25519Key (const uint8_t * key, const uint8_t * tag)
|
||||
{
|
||||
uint64_t t;
|
||||
memcpy (&t, tag, 8);
|
||||
AddECIESx25519Key (key, t);
|
||||
}
|
||||
|
||||
void GarlicDestination::AddECIESx25519Key (const uint8_t * key, uint64_t tag)
|
||||
{
|
||||
auto tagset = std::make_shared<SymmetricKeyTagSet>(this, key);
|
||||
|
||||
Reference in New Issue
Block a user