aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-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-15Add a test of olm which uses malloc to create it's buffers so that it is ↵Mark Haines
possible to check of out of bounds reads and writes using valgrind
2015-07-15Fix bug in list where the wrong value was copied if an item was inserted at ↵Mark Haines
the beinging of the list
2015-07-14Add a test for pickling and unpickling sessions, fix off by one error when ↵Mark Haines
unpickling sessions
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-08Change the JSON format for one time keys to include what algorithm they are forMark 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-07Add functions for creating and verifying ed25519 signaturesMark 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-26Add some tests which advance the ratchet on both sides a few timesMark Haines
2015-06-21Make the 'random' numbers different for each key in the testsMark Haines
2015-06-20Fix a few valgrind warnings in the testsMark Haines
2015-06-16Add a test for the axolotl APIMark Haines
2015-06-15Add base64 encoders and decodersMark 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
2015-06-11rename Session to RatchetMark Haines
2015-06-11Add encoder and decoder for PreKey messagesMark Haines
2015-06-11Move AES specific details behind a cipher interfaceMark Haines
2015-03-03Rename the ratchet source and include files from axolotl to ratchetMark Haines
2015-03-03Add functions for signing and verifying messages using curve25519 keysMark Haines
2015-02-27Test out of order delivery of messagesMark Haines
2015-02-26Copyright notices and a licenseMark Haines
2015-02-26Add test for axolotl ratchetMark Haines
2015-02-26Implement the axlotl ratchetMark Haines
2015-02-25Don't bother passing through the mac_length, the caller already knows it ↵Mark Haines
since they supplied it
2015-02-25const correctnessMark Haines
2015-02-25Add a message encoder/decoderMark Haines
2015-02-25Tweak AES cbc to add pcks7 padding bytesMark Haines
2015-02-24Add a simple fixed size list classMark Haines
2015-02-24Move unit test code into a separate headerMark Haines
2015-02-23Use stdout for reporting test success/failureMark Haines
2015-02-21Finish and test crypto primitivesMark Haines
2015-02-20initial commit: start implementing the crypto primitivesMark Haines