mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-07-30 14:01:24 +00:00
* started double ratchet implementation * initialize ratchets * started ratchet encryption * ratchet encryption * simplify / narrow down Ratchet type * double ratchet decryption "framework" * advance receive ratched on skipped messages * more ratchet decryption * double ratchet encrypt/decrypt (TODO tests) * double ratchet tests * double ratchet tests * use ratchet AD in header encryption, use header and ratchet AD as AD in message encryption * change ratchet message error, remove Show instances * Update tests/AgentTests/DoubleRatchetTests.hs Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> * Update tests/AgentTests/DoubleRatchetTests.hs Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> * Update tests/AgentTests/DoubleRatchetTests.hs Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> * Update tests/AgentTests/DoubleRatchetTests.hs Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> * Update tests/AgentTests/DoubleRatchetTests.hs Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> * Update src/Simplex/Messaging/Crypto/Ratchet.hs Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> * test in the same ratchet step * merge tests * Update src/Simplex/Messaging/Crypto/Ratchet.hs * Update src/Simplex/Messaging/Crypto/Ratchet.hs * remove HMAC comment Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>