118 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
da85fefb9b
Use UInt in kdf derivation, because that's the most js can support more or less. I'll try to figure out if we can use all 52bits lates. Also dont show arm build to intellij as it is checking if there is coroutines build for arm and fails with the most unusefull and misleading error I have seen so far. 2021-04-30 22:10:02 +02:00
Ugljesa Jovanovic
3a33781db8
Use int instead of ulong 2021-03-03 10:32:31 +01:00
Ugljesa Jovanovic
ed7cb7482b
Remove bignum dep 2021-03-02 14:09:43 +01:00
Ugljesa Jovanovic
67723d2a4b
Set default base64 variant to original 2021-03-01 17:09:33 +01:00
Ugljesa Jovanovic
cfba7a2c3a
Add arm64 .so, add branch for arm in loader 2021-03-01 16:35:06 +01:00
Ugljesa Jovanovic
e30f4f0e86
Use library loader instead of file loader as it fails when in published jar form 2021-02-24 17:19:12 +01:00
Ugljesa Jovanovic
e18f7d3792
Update readme 2021-02-24 09:34:29 +01:00
Ugljesa Jovanovic
fca1b10605
Remove xchacha20 imports 2021-02-24 08:56:02 +01:00
Ugljesa Jovanovic
8249881eb1
Disable xchacha20 stream for now, as it seems to be missing on ios32arm build. Fix android sdk path 2021-02-23 23:27:37 +01:00
Ugljesa Jovanovic
b85b75e732
Removed lazy sodium both java and android 2021-02-23 21:50:56 +01:00
Ugljesa Jovanovic
574377da3c
Added a bunch, also added xchacha20 ic and xor 2021-02-23 19:54:07 +01:00
Ugljesa Jovanovic
354c0c2fd6
Use long instaed of int array in sha512 2021-02-23 10:23:07 +01:00
Ugljesa Jovanovic
7f703aa6b9
Added signing 2021-02-23 09:43:53 +01:00
Ugljesa Jovanovic
f7815d009e
Added box: 2021-02-22 22:51:15 +01:00
Ugljesa Jovanovic
f0511e0ff1
Added auth jna 2021-02-21 21:50:21 +01:00
Ugljesa Jovanovic
531deb6a57
Added util jna 2021-02-21 21:17:33 +01:00
Ugljesa Jovanovic
625a3e1f91
Added secretbox 2021-02-21 19:57:08 +01:00
Ugljesa Jovanovic
723e32df76
Added aead and secret stream jna 2021-02-21 19:39:51 +01:00
Ugljesa Jovanovic
bc9b12292d
Replaced shorthash, generichash and sha with direct jna implementation 2021-02-21 15:43:16 +01:00
Ugljesa Jovanovic
b976bb62a0
Starting jna implementation 2021-02-21 12:07:20 +01:00
Ugljesa Jovanovic
86cdc0da8f
Android jna working 2021-02-21 11:40:16 +01:00
Ugljesa Jovanovic
8290586a12
Move jna test into funciton instead of static init 2021-02-20 21:39:15 +01:00
Ugljesa Jovanovic
a0ef6c79e5
Use libsodium vs released dll instead of mingw dll.a 2021-02-20 21:36:53 +01:00
Ugljesa Jovanovic
846ac62db4
Use dll 2021-02-20 21:17:00 +01:00
Ugljesa Jovanovic
f41a66c4d8
Remove static android libs, extract jvm from linux only block as it will be ran on mac and win as well 2021-02-20 21:13:48 +01:00
Ugljesa Jovanovic
bccf9e82f2
Hand built libsodium libraries, andoird armv8 missing aes128l/256 aegis implementations 2021-02-20 21:07:54 +01:00
Ugljesa Jovanovic
9e46cbc7ea
Make all tests use runTest coroutine wrapper 2021-02-09 14:45:45 +01:00
Ugljesa Jovanovic
8e295feb46
At least IR browseer tests can now be run 2021-02-09 14:41:08 +01:00
Ugljesa Jovanovic
b0c6b43f2e
Add generic hash docs 2021-01-09 12:57:04 +01:00
Ugljesa Jovanovic
69183a0eb9
Full stack trace in tests 2021-01-05 10:47:07 +01:00
Ugljesa Jovanovic
c0a3bd322d
Box documentation, kotlin 1.4.20 2020-12-08 20:09:44 +01:00
Ugljesa Jovanovic
b261a341db
Added auth doc 2020-11-18 22:36:55 +01:00
Ugljesa Jovanovic
1cfff4dd43
Started adding Auth doc, added aead doc for specific functions 2020-11-18 22:28:57 +01:00
Ugljesa Jovanovic
6183a2eb6b
Aead docs 2020-11-18 21:03:21 +01:00
Ugljesa Jovanovic
a70bb5243c
Bump dokka, update dokka calls, add test md package and module docs 2020-11-17 23:27:49 +01:00
Ugljesa Jovanovic
6a87267ed6
Add html dokka and ubyte array decode extension 2020-11-15 19:43:08 +01:00
Ugljesa Jovanovic
48d81f257e
Add more doc copied from libsodium 2020-11-14 13:27:42 +01:00
Ugljesa Jovanovic
2455c0fcea
Enable windows build, set mac builds for gitlab runners 2020-10-20 19:34:22 +02:00
Ugljesa Jovanovic
5527b6dc79
Same deal for another return parameter 2020-10-19 19:18:09 +02:00
Ugljesa Jovanovic
2801fb9484
Hack for 32biy/64bit array in native shared code, needs safeguards 2020-10-19 19:10:29 +02:00
Ugljesa Jovanovic
1e4c56e58a
make tampered tests fail less by modifying more bytes 2020-10-17 10:03:27 +02:00
Ugljesa Jovanovic
6c940fe6f2
Added js and jvm _scalarmult_ 2020-10-15 20:58:55 +02:00
Ugljesa Jovanovic
2f62c6011b
Added scalarult tests, used case from libsodium scalamult.c test 2020-10-15 20:50:09 +02:00
Ugljesa Jovanovic
c66fde8502
Adding scalrmult_ native impl, starting work on sample 2020-10-15 20:38:30 +02:00
Ugljesa Jovanovic
67d80beb34
Added _steam_ jvm and js implementations 2020-10-12 20:00:17 +02:00
Ugljesa Jovanovic
a18355adae
Implemeting _stream_ primitives, at elast the ones available in lazy sodium 2020-10-11 19:47:23 +02:00
Ugljesa Jovanovic
3026b80ec5
Make signature test tampered message, more tampered 2020-10-09 17:21:45 +02:00
Ugljesa Jovanovic
a19602a92f
Added js and jvm implementations of _kx_ 2020-10-09 17:17:17 +02:00
Ugljesa Jovanovic
bd173f422f
Added _kx_ and nateive impl, updated libsodium submodule to latest commit 2020-10-09 16:56:09 +02:00
Ugljesa Jovanovic
151bb6c0a0
Improve padding tests a bit, add readme note for browser tests 2020-10-07 19:41:29 +02:00