MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / LockAndSendPacket

Method LockAndSendPacket

Src/Core/Distributor.cpp:88–91  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

86
87////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
88void FSecure::C3::Core::Distributor::LockAndSendPacket(ByteView packet, std::shared_ptr<DeviceBridge> channel)
89{
90 channel->OnPassNetworkPacket(FSecure::Crypto::EncryptAnonymously(packet, m_BroadcastKey));
91}
92
93////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
94FSecure::ByteVector FSecure::C3::Core::Distributor::UnlockPacket(ByteView packet)

Callers 3

ParseAndRunCommandMethod · 0.80
RunCommandMethod · 0.80
PerformCreateCommandMethod · 0.80

Calls 1

OnPassNetworkPacketMethod · 0.45

Tested by

no test coverage detected