mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
calculate shared_secret on demand
This commit is contained in:
parent
6db57677f9
commit
638f41d143
4 changed files with 22 additions and 8 deletions
|
|
@ -73,6 +73,7 @@ class BaseChatMesh : public mesh::Mesh {
|
|||
|
||||
mesh::Packet* composeMsgPacket(const ContactInfo& recipient, uint32_t timestamp, uint8_t attempt, const char *text, uint32_t& expected_ack);
|
||||
void sendAckTo(const ContactInfo& dest, uint32_t ack_hash);
|
||||
void ensureSharedSecretIsValid(const ContactInfo& contact);
|
||||
|
||||
protected:
|
||||
BaseChatMesh(mesh::Radio& radio, mesh::MillisecondClock& ms, mesh::RNG& rng, mesh::RTCClock& rtc, mesh::PacketManager& mgr, mesh::MeshTables& tables)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue