138 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
5b67f4d383
Merge branch 'sample-improvement' of github.com:ionspin/kotlin-multiplatform-crypto into sample-improvement 2020-10-19 19:12:20 +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
02b8870419 Reenable android everywhere, because mac builds fail if there is no android target present and plugin is declared 2020-10-18 23:58:14 +02:00
Ugljesa Jovanovic
065abe1dab Update libsodium build to latest upstream with tvos modification 2020-10-18 23:29:21 +02:00
Ugljesa Jovanovic
14cf103ac7
Added android sample app 2020-10-17 11:41:38 +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
2e71214914
Revert android exclusion, we'll just point sdk to nonexisting folder and that should be enough 2020-10-07 20:46:24 +02:00
Ugljesa Jovanovic
887c52a319
Don't run android tasks on mac/windows 2020-10-07 20:13:14 +02:00
Ugljesa Jovanovic
151bb6c0a0
Improve padding tests a bit, add readme note for browser tests 2020-10-07 19:41:29 +02:00
Ugljesa Jovanovic
aea3eb72fa
Run on external pull request (#18)
* Run on external pull request

* Working linux build, disable pull requests for now

* Try manual flag

* Try manual flag 2

* Try manual flag 3

* Travis -> Gitlab
2020-10-05 22:01:20 +02:00
Ugljesa Jovanovic
4490f21c89
Split docs for bindings and standalone implementations 2020-10-03 18:49:08 +02:00
Ugljesa Jovanovic
0431f27e3e
Completed random support functions 2020-10-03 18:16:26 +02:00
Ugljesa Jovanovic
cb17d75deb
Adding jvm implementation, but it's broken in lazysodium-java, so will need more work 2020-09-27 19:54:48 +02:00
Ugljesa Jovanovic
2d63215c70
Completed jvm implementation, there are some issues in lazysodium-java that I've worked around 2020-09-27 19:20:22 +02:00
Ugljesa Jovanovic
4af1477c90
Added js _util functions 2020-09-26 23:58:45 +02:00
Ugljesa Jovanovic
f113f7805d
Added to hex and to base64 and from conversions 2020-09-26 22:02:51 +02:00
Ugljesa Jovanovic
7e2b52a193
Add more tests, fix array when input is aligned 2020-09-25 19:05:22 +02:00
Ugljesa Jovanovic
7d3fe70d4d
Started working on sodium_ utility functions 2020-09-25 19:02:45 +02:00
Ugljesa Jovanovic
a44935a10e
Added js _pwhash_ 2020-09-22 20:54:02 +02:00
Ugljesa Jovanovic
fe4134a65f
Added java implementation of _pwhash_ 2020-09-21 22:13:36 +02:00
Ugljesa Jovanovic
2b4d8aa4b1
Adding pwhash native and tests 2020-09-21 19:07:06 +02:00
Ugljesa Jovanovic
65bf54765f
Adding _pwhash_ 2020-09-17 18:20:24 +02:00
Ugljesa Jovanovic
8b26764938
Added _kdf_ all implementations and a simple and probably pointless test, also noted which functions are not available as they are not part of LazySodium 2020-09-16 14:09:14 +02:00
Ugljesa Jovanovic
a24fa34296
Added _sign_ js implementation 2020-09-15 14:00:03 +02:00
Ugljesa Jovanovic
37a5cdb2d0
Added jvm _sign_ implementation 2020-09-15 13:02:43 +02:00
Ugljesa Jovanovic
b0ce2e10fc
Adding _sign_ native implementation and started writing tests 2020-09-14 18:51:25 +02:00
Ugljesa Jovanovic
1936e748ae
Adding common crypto_sign, called signature because object named Sign could be confusing 2020-09-13 17:11:59 +02:00
Ugljesa Jovanovic
03a17f5b6a
Added js box implementation 2020-09-11 19:27:54 +02:00
Ugljesa Jovanovic
25fcd0cae2
Added seal box test, fxed seal box jvm implementation 2020-09-10 20:50:14 +02:00
Ugljesa Jovanovic
7a8640638c
Added jvm implementation, fixed seal invalid return 2020-09-10 18:30:06 +02:00
Ugljesa Jovanovic
9cb2701715
Added tests, fixed bugs 2020-09-01 23:29:56 +02:00
Ugljesa Jovanovic
4762bd96d6
Implemented native 2020-09-01 20:27:51 +02:00
Ugljesa Jovanovic
57f9bd9d20
Adding crypto_box functions 2020-08-31 22:56:37 +02:00
Ugljesa Jovanovic
1894a5d995
Added jvm and js implementation for sha256/512 2020-08-31 20:56:36 +02:00
Ugljesa Jovanovic
15be707114
Added sha2 hashes in common and native and test 2020-08-31 20:44:37 +02:00
Ugljesa Jovanovic
1878144b8f
Added generichash keygen 2020-08-31 19:39:19 +02:00
Ugljesa Jovanovic
16cb5c2dee
Completed crypto auth and added tests 2020-08-30 19:02:40 +02:00
Ugljesa Jovanovic
d2fda34807
Add auth native and tests 2020-08-30 18:33:14 +02:00
Ugljesa Jovanovic
0c8de7b5c5
Adding crypto_auth 2020-08-30 17:56:12 +02:00
Ugljesa Jovanovic
dd0895b5f3
Completed cha cha aead variants 2020-08-30 13:10:31 +02:00
Ugljesa Jovanovic
3f9f316e04
Fixed (the usual) copypaste error of removing ABYTES in detached implementation, added aead chacha tests 2020-08-30 12:24:43 +02:00
Ugljesa Jovanovic
1a11bdc81b
Added native aead chacha poly implementation 2020-08-30 12:07:53 +02:00