Age | Commit message (Collapse) | Author |
|
Putting the session_id inside the packed message body makes it hard to extract
so that we can decide which session to use. We don't think there is any
advantage to having thes sesion_id protected by the HMACs, so we're going to
move it to the JSON framing.
|
|
|
|
|
|
Make names (of session_key and message_index) more consistent.
Use our own protobuf tags rather than trying to piggyback on the one-to-one
structure.
|
|
|
|
Includes creation of inbound sessions, etc
|
|
|
|
|
|
|
|
Replace the init-static-var dance with some preprocessor macros
|
|
Give a load of internal symbols "_olm_" prefixes. This better delineates the
public and private interfaces in the module, and helps avoid internal symbols
leaking out and possibly being abused.
|
|
|
|
|
|
|
|
|
|
|
|
utilities for copying data to and from fixed sized arrays
|
|
|
|
the message is invalid, fixes a crash where the message was too short
|
|
|
|
|
|
|
|
possible to check of out of bounds reads and writes using valgrind
|
|
the beinging of the list
|
|
unpickling sessions
|
|
provide a olm_account_sign method so that the user of the library can sign the JSON themselves
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Axolotl-the-OWS-libraries at moxie's request
|
|
|
|
|
|
|
|
|
|
|
|
accurate estimate, rename encrypt_max_output_length to encrypt_output_length and change the api to return the exact number of bytes needed to hold the message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
since they supplied it
|
|
|