| 463 | m_ECIESx25519Tags.clear (); |
| 464 | } |
| 465 | void GarlicDestination::AddSessionKey (const uint8_t * key, const uint8_t * tag) |
| 466 | { |
| 467 | if (key) |
| 468 | { |
| 469 | uint32_t ts = i2p::util::GetSecondsSinceEpoch (); |
| 470 | m_Tags[SessionTag(tag, ts)] = std::make_shared<AESDecryption>(key); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | void GarlicDestination::AddECIESx25519Key (const uint8_t * key, const uint8_t * tag) |
| 475 | { |
no test coverage detected