aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-05-20crypto.cpp: Fix commentsRichard van der Hoff
These seem to be the wrong way around.
2016-05-20Remove functions which return stringsRichard van der Hoff
We don't want anything which does dynamic memory allocation in the library.
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-05-16Add olm::log_enabled_forRichard van der Hoff
2016-04-26Fix a bunch of compiler warnings, and turn on warnings.Richard van der Hoff
2016-04-26Add some logging to help understand what's going onRichard van der Hoff
2016-04-26Add a basic logging implementationRichard van der Hoff
2015-12-03Use header files where possibleRichard van der Hoff
This fixes an incorrect re-declaration of ed25519_sign. Implement header files for some of the other library bits so that we don't need to declare functions in crypto.cpp.
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-08-07Fix crash where the message length was shorter than the length of the macMark Haines
2015-08-07Initialise the length fields of the reader struct in decode_message, even if ↵Mark Haines
the message is invalid, fixes a crash where the message was too short
2015-08-07Fix a crash when decoding messages that are too shortMark Haines
2015-07-24Add methods for computing sha256 hashes and validating ed25519 signaturesMark 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-15olm_account_last_error and olm_clear_account should take an Account not a ↵Mark Haines
Session
2015-07-14Add a test for pickling and unpickling sessions, fix off by one error when ↵Mark Haines
unpickling sessions
2015-07-10Clear the random buffers once they've been used. Add methods for clearing ↵Mark Haines
the account and session object once they've been used
2015-07-10Version the pickled objects and check for errors when unpickling themMark Haines
2015-07-10Output simpler JSON for the account keys, don't sign the JSON but instead ↵Mark Haines
provide a olm_account_sign method so that the user of the library can sign the JSON themselves
2015-07-09Add c bindings for the methods for managing one time keysMark Haines
2015-07-09Add methods for generating new one time keys and for tracking which one time ↵Mark Haines
keys have been published
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-08Update the javascript bindings and demo to match the format of the identity ↵Mark Haines
key JSON
2015-07-07Encode the account keys as a signed JSON objectMark Haines
2015-07-07Add functions for creating and verifying ed25519 signaturesMark Haines
2015-07-07Rename generate_key to curve25519_generate_keyMark Haines
2015-07-07Remove the last resort one time keyMark Haines
2015-07-07Removed SignedKey classMark 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-23reduce the number of one time keys that get generated when we create an accountMark Haines
2015-06-23Fix bug encoding integers larger than 128Mark Haines
2015-06-23Add missing include, fix bug in handling unknown message fieldsMark Haines
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-22Add API docs for the axolotl.hh methodsMark Haines
2015-06-22Add API for removing used one time keysMark Haines
2015-06-16Add a test for the axolotl APIMark Haines
2015-06-15Add c interface which wraps the cpp classesMark Haines
2015-06-15Add base64 encoders and decodersMark 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
2015-06-12Pass the message body to decrypt_max_plaintext_length so we can get a more ↵Mark Haines
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