aboutsummaryrefslogtreecommitdiff
path: root/java/android/OlmLibSdk/olm-sdk/src/main/jni
AgeCommit message (Collapse)Author
2016-11-14Fix the decrypt issue (crash on V5.1.1) when the message to decrypt contains ↵AndroidSdk_v0.2.0pedroGitt
emojis: - add an internal specific JNI function (javaCStringToUtf8()) to perform the UTF-8 conversion - the SDK is configured to enable/disable the use of javaCStringToUtf8()
2016-10-27Introduce a new log file (ENABLE_JNI_LOG) to disable/enable logs in JNI sidepedroGitt
2016-10-27Fix random issue: increase random seed precision to micro secAndroidSdk_v0.1.0pedroGitt
- previously the random seed was seconds based, and it could originate identical identity keys for different OlmAccount
2016-10-26Update verifyEd25519Signature() unit test: add a test to detect a key length ↵pedroGitt
too small - add logs in verifyEd25519SignatureJni() to print the key used
2016-10-25Update olm_matches_inbound_session_(from)() return code processingpedroGitt
2016-10-25Renaming:pedroGitt
- generateOneTimeKeys => generateOneTimeKeysJni - maxOneTimeKeys => maxOneTimeKeysJni
2016-10-24Fix compiler warningspedroGitt
- for 32bits platform target - when debug flag is not defined
2016-10-24Add possibility to define NDK_DEBUG flagpedroGitt
2016-10-24Add possibility to define NDK_DEBUG flagpedroGitt
2016-10-23Add serialization for inbound group sessionpedroGitt
- remove compiler warnings when logs are not enabled - new getInstanceId() function to refactor code
2016-10-21Add serialization for outbound group sessionpedroGitt
2016-10-21Update android platform to 16pedroGitt
2016-10-21Serialization for OlmAccount and OlmSession OKpedroGitt
2016-10-20Add serialization feature to OlmAccountpedroGitt
- new JNI API: serializeDataWithKeyJni() and initWithSerializedDataJni() - update account unit test - modify OlmAccount constructor API: an exception may be thrown
2016-10-20Local variable renamingpedroGitt
2016-10-20Format updatepedroGitt
2016-10-20Update logspedroGitt
2016-10-18Fix javadoc header commentpedroGitt
2016-10-18- Add new API for OlmUtilitypedroGitt
- Introducing namespace AndroidOlmSdk - Fix logs (function names mixed up) - Add new check based on the calling java object instance type (IsInstanceOf()) - Fix return value for getXXXInstanceId() in case of failure. Now 0 is returned.
2016-10-17Fix "invalid address or address of corrupt passed to dlfree" in 32bits ↵pedroGitt
platform devices
2016-10-17Add extra tests to check if the calling JAVA instance is the expected onepedroGitt
2016-10-14- Add in/outbound group unit test OKpedroGitt
2016-10-14- Add inbound and outbound group sessionspedroGitt
- Modify constructors for inbound and outbound group sessions - Add new Ecxception class
2016-10-13Temp commit.. adding group session API in progresspedroGitt
2016-10-13Enbale all ABI platformspedroGitt
2016-10-13Renaming JNI API decryptMessage in decryptMessageJnipedroGitt
2016-10-13Add missing copyright headerspedroGitt
2016-10-13Update function API signatures with macrospedroGitt
2016-10-13Fix warning compilerpedroGitt
2016-10-13- Fix encrypt API (update lencrypted ength)PedroGitt
- Fix warning compiler
2016-10-12Temp commit: debug in progresspedroGitt
2016-10-11- Add OlmSession unit testpedroGitt
- Simplify JNI function signatures definition (Account & Session)
2016-10-07- Add decryptMessageJni() to olm_session.cpp APIpedroGitt
- review comments header - refactor utility functions
2016-10-06- Update Unit tests for OlmAccountpedroGitt
- new file olm_utility.cpp to have a stand alone function to initialize/alloc a random buffer - new class OlmMessage - complete OlmSession API with encryptMessage() - comments review - OlmAccount unit tests are green - new gradle to compile the shared lib according to debug mode
2016-10-05First commit adding Olm Lib for AndroidpedroGitt
- Add Android Studio project