| 568 | } |
| 569 | |
| 570 | bool GarlicDestination::HandleECIESx25519TagMessage (uint8_t * buf, size_t len) |
| 571 | { |
| 572 | uint64_t tag; |
| 573 | memcpy (&tag, buf, 8); |
| 574 | auto it = m_ECIESx25519Tags.find (tag); |
| 575 | if (it != m_ECIESx25519Tags.end ()) |
| 576 | { |
| 577 | if (!it->second.tagset || !it->second.tagset->HandleNextMessage (buf, len, it->second.index)) |
| 578 | LogPrint (eLogError, "Garlic: Can't handle ECIES-X25519-AEAD-Ratchet message"); |
| 579 | m_ECIESx25519Tags.erase (it); |
| 580 | return true; |
| 581 | } |
| 582 | return false; |
| 583 | } |
| 584 | |
| 585 | void GarlicDestination::HandleAESBlock (uint8_t * buf, size_t len, std::shared_ptr<AESDecryption> decryption, |
| 586 | std::shared_ptr<i2p::tunnel::InboundTunnel> from) |
nothing calls this directly
no test coverage detected