aboutsummaryrefslogtreecommitdiff
path: root/src/cipher.cpp
AgeCommit message (Collapse)Author
2018-06-27fix a length check and add some missing length checksHubert Chathi
2016-09-05Convert AES functions to plain CRichard van der Hoff
2016-09-02Create new constants for key lengths, etcRichard van der Hoff
We were using olm::KEY_LENGTH for everything under the sun which happened to be 32 bytes long, and making a bunch of assumptions in the process. Create a bunch of new constants (as C #defines rather than C++ consts so that I can use them in another forthcoming refactor).
2016-05-24Rewrite _olm_cipher_aes_sha_256 initialisationRichard van der Hoff
Replace the init-static-var dance with some preprocessor macros
2016-05-24Remove 'destruct' from cipher_opsRichard van der Hoff
We never delete a cipher, and the destruct op is empty, so it's a bit pointless
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-23Give SHA256 functions C bindingsRichard 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-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-22Copyright NoticesMark Haines
2015-06-12Implement the session key exchangeMark Haines
2015-06-11Move AES specific details behind a cipher interfaceMark Haines