HomePhabricator
Diffusion Comm 5614c6e730ac

[CommCoreModule] add sequential decrypt to crypto API

Description

[CommCoreModule] add sequential decrypt to crypto API

Summary:
Binding to olm method to sequential decrypt. Implementing different because this method will also be responsible for persisting message in SQLite (added later in the stack).

Depends on D11717

Test Plan:
Created session between two native clients:

  1. Sending couple of encrypted messsages
  2. Sending messages with wrong order -> OLM_MESSAGE_OUT_OF_ORDER
  3. Sending the same message multiple times -> OLM_ALREADY_DECRYPTED_OR_KEYS_SKIPPED

Reviewers: tomek, marcin

Reviewed By: marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D11718

Details

Provenance
kamilAuthored on Mon, Apr 22, 3:31 PM
Reviewer
marcin
Differential Revision
D11718: [CommCoreModule] add sequential decrypt to crypto API
Parents
rCOMM40e332d01cab: [CryptoModule] add sequential decrypt to crypto API
Branches
Unknown
Tags
Unknown