aboutsummaryrefslogtreecommitdiff
path: root/src/session.cpp
AgeCommit message (Collapse)Author
2016-06-30Make space in the session pickle for chain indexRichard van der Hoff
Keeping track of the chain index is a useful thing to do, but is only required if we've enabled diagnostics. Extend the session pickle format to make a space for it, so that pickles can be transferred between the logging_enabled branch and the master branch without loss of information. Also add some tests for session pickling which explicitly check that we can unpickle both formats of pickle.
2016-05-24Rewrite _olm_cipher_aes_sha_256 initialisationRichard van der Hoff
Replace the init-static-var dance with some preprocessor macros
2016-05-23Prefix for internal symbolsRichard van der Hoff
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.
2016-05-23Convert cipher.hh to plain CRichard van der Hoff
2016-05-23Convert error.hh to plain CRichard van der Hoff
2016-05-23Give SHA256 functions C bindingsRichard van der Hoff
2016-05-16Remove logging functionalityRichard van der Hoff
Concerns have been raised that including logging functionality makes it harder to audit the implementation to ensure that no secret information is leaked. We are therefore removing it from the master branch.
2016-05-16translate logging.cpp to CRichard van der Hoff
2016-04-26Add some logging to help understand what's going onRichard van der Hoff
2015-08-19Replace hard coded references to the 32-byte key length with a constant, add ↵Mark Haines
utilities for copying data to and from fixed sized arrays
2015-08-18Make the internal functions static, remove some unused internal functionsMark Haines
2015-07-16Add method getting a session id. Update the python and javascript bindingsMark Haines
2015-07-16Add versions of olm_session_create_inbound and olm_session_matches_inbound ↵Mark Haines
which take the curve25519 identity key of the remote device we think the message is from as an additional argument
2015-07-10Version the pickled objects and check for errors when unpickling themMark Haines
2015-07-08Don't pass a key id when creating a new outbound sessionMark Haines
2015-07-08Change the JSON format for one time keys to include what algorithm they are forMark Haines
2015-07-08Remove the RemoteKey type since it wasn't being usedMark Haines
2015-07-08Send the public part of the one time key rather than passing an identifierMark Haines
2015-07-07Encode the account keys as a signed JSON objectMark Haines
2015-07-07Rename generate_key to curve25519_generate_keyMark Haines
2015-06-27Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and ↵Matthew Hodgson
Axolotl-the-OWS-libraries at moxie's request
2015-06-23This field isn't being used anywhere so don't bother including it in the ↵Mark Haines
messages
2015-06-22Copyright NoticesMark Haines
2015-06-16Add a test for the axolotl APIMark Haines
2015-06-15Implement creating a new accountMark Haines
2015-06-12Move utils for pickling into a separate fileMark Haines
2015-06-22Implement the session key exchangeMark Haines
2015-06-12Implement the session key exchangeMark Haines