aboutsummaryrefslogtreecommitdiff
path: root/java/android/OlmLibSdk/olm-sdk/src/main/jni
AgeCommit message (Collapse)Author
2017-01-03EncryptMessage triggers an exception when it failsylecollen
2017-01-03-> the byte[] to String conversions are done on Java level (when it is possible)ylecollen
-> remove javaCStringToUtf8
2017-01-03There is more GetStringUTFChars call.ylecollen
2017-01-03encryptMessage : the UTF8 conversion is done on JAVA side.ylecollen
2017-01-03Add exception checksylecollen
2017-01-03-> simplify OlmSession.DecryptMessageylecollen
-> Always use javaCStringToUtf8 to convert byte array to String
2017-01-03->Replace 2 spaces tabs by 4 spaces.ylecollen
->fix the NULL and 0 pointer comparisons mixes
2017-01-02Update the tab size to 4 spacesylecollen
2017-01-02Use a 4 spaces tabulationylecollen
2017-01-02Fix tabulations mix and split block of variables when it is possible.ylecollen
2017-01-02Simplify signMessageJniylecollen
2017-01-02setRandomInBuffer : clear tempByteArray contentylecollen
2016-12-22Update the copyrightsylecollen
2016-12-21signMessage : the utf8 conversion is done on Java side.ylecollen
2016-12-21create a dedicated file for olm_manager.ylecollen
2016-12-21move getOlmLibVersionJni to the bottomylecollen
2016-12-21move getOlmLibVersionJniylecollen
2016-12-21Fix a potential memory leak.ylecollen
2016-12-21setRandomInBuffer uses java.lang.SecureRandom.ylecollen
2016-12-21identityKeys and oneTimeKeys return Map instead of JSON.ylecollen
2016-11-28Update decryptMessage() API with the error message as an output parameterpedroGitt
2016-11-28Remove un used codepedroGitt
2016-11-23Rename JNI API: getOlmLibVersion() => getOlmLibVersionJni()pedroGitt
2016-11-23Update with master branch => OLM V2.0.0pedroGitt
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