aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-24Outbound group session support in the python wrappersRichard van der Hoff
2016-05-24Implement pickling/unpickling for outbound group sessionsRichard van der Hoff
2016-05-24Implementation of an outbound group sessionRichard van der Hoff
2016-05-24Implementation of the megolm ratchetRichard van der Hoff
2016-05-24Factor out pickle_encoding from olm.cppRichard van der Hoff
We don't need to have all of the top-level pickling functions in olm.cpp; factor out the utilities to support it to pickle_encoding.cpp (and make sure that they have plain-C bindings).
2016-05-24Factor out olm_error_to_string to a separate fileRichard van der Hoff
I want to be able to use this functionality from elsewhere, so factor it out to its own file.
2016-05-24Merge branch 'rav/c_bindings'Richard van der Hoff
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-23Fix bug in bounds check when parsingMark Haines
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-23C bindings for base64 functionsRichard van der Hoff
2016-05-23C binding for olm::unsetRichard van der Hoff
2016-05-23C bindings for pickle functionsRichard van der Hoff
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-23Rename olm.hh to olm.hRichard van der Hoff
2016-05-23Complete fixes for olm_*_last_errorRichard van der Hoff
Should have been in the previous commit :/
2016-05-23fix range check in olm_*_last_errrorRichard van der Hoff
2016-05-23Fix warnings and set -WerrorRichard van der Hoff
2016-05-23Merge branch 'rav/refactor_python_wrappers'Richard van der Hoff
2016-05-23Fix make clean to remove the library and all the .d filesMark Haines
2016-05-23Move comment to correct locationMark Haines
2016-05-23Don't use $^ cause that includes the header filesMark Haines
2016-05-23Use a rule to make the build directoriesMark Haines
2016-05-23Put the .o files in separate directories so we can have both release and ↵Mark Haines
debug versions
2016-05-20Fix the Makefile so that it works with a clean git checkoutMark Haines
2016-05-20Merge branch 'rav/makefile'Richard van der Hoff
2016-05-20Remove dep files for js objects on cleanRichard van der Hoff
2016-05-20crypto.cpp: Fix commentsRichard van der Hoff
These seem to be the wrong way around.
2016-05-20Add an 'all' target to the MakefileRichard van der Hoff
So that we can build everything together.
2016-05-20Refactor python wrappersRichard van der Hoff
Split the python wrappers into separate modules
2016-05-20Use a version script to restrict symbols in the .soRichard van der Hoff
We want to stop aes_* and sha_* functions leaking out of our .so, as well as internal _olm_* symbols. This also means we need to link the unit tests against the objects. Possibly we should distinguish between unit tests and integration tests.
2016-05-20Add support for building the JS wrappers to the MakefileRichard van der Hoff
Now that we have C and C++, we need to split the compile and link steps (because we need different flags for the C and C++ files), so this is easier with a Makefile.
2016-05-20Add a makefileRichard van der Hoff
Replace the python scripts for building the shared lib and tests with a Makefile, which makes it easier to handle a mix of C and C++.
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-18Correct a couple of errors in the specRichard van der Hoff
* We only use 8-byte MACs * The version byte is \x03, not \x01
2016-05-16Remove vestiges of loggingRichard van der Hoff
Remove the (now non-functional) declarations of olm_set_log_level in the C and js wrappers.
2016-05-16Merge branch 'rav/remove_logging'Richard van der Hoff
2016-05-16Fix double_ratchet linkRichard 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-05-16Add olm::log_enabled_forRichard van der Hoff
2016-05-13fix postojna linkMatthew Hodgson
2016-04-26Fix a bunch of compiler warnings, and turn on warnings.Richard van der Hoff
2016-04-26Various clarifications to the specRichard 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
2016-04-26Make 'npm build' build the js libRichard van der Hoff