127 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
1a4fc90922
Some more sketching of the public API, added workaround for uint backing class kotln bug, worked around new js bug 2020-06-20 23:35:52 +02:00
Ugljesa Jovanovic
fc2d7b701d
Working xchacha20poly1305, debug state atm 2020-06-20 16:07:53 +02:00
Ugljesa Jovanovic
9456772828
Working chacha20poly1305 2020-06-20 12:10:24 +02:00
Ugljesa Jovanovic
8ffa354d93
Poly1305 progress 2020-06-17 23:09:47 +02:00
Ugljesa Jovanovic
32dc90b47e
Implemented XChaCha20 2020-06-17 11:16:48 +02:00
Ugljesa Jovanovic
ae1aa53f0e
Implemented chacha20 2020-06-16 19:03:59 +02:00
Ugljesa Jovanovic
c7445376ca
Completed xsalsa20, adding chacha20 2020-06-16 16:07:01 +02:00
Ugljesa Jovanovic
0143fe0080
Working salsa20 encryption 2020-06-14 23:50:33 +02:00
Ugljesa Jovanovic
946fc6a4ce
Salsa 20 progress 2020-06-14 19:13:36 +02:00
Ugljesa Jovanovic
e24f0a29f2
Dropping AES gcm from public api as it's not portable in libsodium and going the xchacha20poly1305 as only AEAD 2020-06-14 17:05:28 +02:00
Ugljesa Jovanovic
5c10d3abf4
Removing direct aes cbc and ctr, to reduce foot shooting incidents, introducing aes256-gcm 2020-06-14 12:49:46 +02:00
Ugljesa Jovanovic
0b30215143
Initial AES-CTR API refactoring 2020-06-13 21:48:21 +02:00
Ugljesa Jovanovic
f246acc745
Add watchos and tvos targets to pure variant 2020-06-13 21:04:49 +02:00
Ugljesa Jovanovic
a3cb4f653a
Use dev version of dokka because we are in 1.4-M2 2020-06-13 18:16:43 +02:00
Ugljesa Jovanovic
1db2547967
Bump version to 0.1.0 cause a lot of things changed since 0.0.4, mac builds are working, now to get Windows to work, updated readme, copied crypto API to pure variant 2020-06-11 20:29:03 +02:00
Ugljesa Jovanovic
4eb8970fd3
Added testing tasks to osx builds, cleaned up pure variant build.gradle.kts 2020-06-11 19:48:10 +02:00
Ugljesa Jovanovic
197aacac33
Built and included modified libsodium with additional wrappers, working blake, sha256/512 hashes 2020-06-09 20:30:12 +02:00
Ugljesa Jovanovic
3a81d8e57c
More changes to get intellij to reconize cinterop in native sourceset 2020-06-07 17:18:41 +02:00
Ugljesa Jovanovic
9c9383d54f
Removed digest from stateless has interface and pushed it down, as some hashes don't support keys or different hash lengths 2020-06-07 11:59:46 +02:00
Ugljesa Jovanovic
f03e94cf5e
Api cleanup 2020-06-07 00:37:09 +02:00
Ugljesa Jovanovic
25adc330bd
Remove digestString from api 2020-06-07 00:05:14 +02:00
Ugljesa Jovanovic
e61ffdf978
Cleaning up and implementing api 2020-06-07 00:02:53 +02:00
Ugljesa Jovanovic
3ad86e284a
Remove all annotations 2020-06-05 20:13:21 +02:00
Ugljesa Jovanovic
d901a45b87
Playing around with the API, added optins, will remove annotations in next commit 2020-06-05 20:09:38 +02:00
Ugljesa Jovanovic
d11d4e7fb0
Working arm 64 libsodium integration 2020-06-05 16:27:58 +02:00
Ugljesa Jovanovic
89c3085139
crypto module should only define js jvm and linux when running on 64bit linux 2020-06-01 13:00:07 +02:00
Ugljesa Jovanovic
416e9375a1
Forgot to move arm32 sourcesets 2020-06-01 11:35:11 +02:00
Ugljesa Jovanovic
9292cded2c
Enable arm32 and arm64 builds 2020-06-01 11:29:45 +02:00
Ugljesa Jovanovic
7c6a31d765
Update crypto module build gradle 2020-05-31 21:23:45 +02:00
Ugljesa Jovanovic
bb58a372e7
delegated module build.gradle cleanp and macos build fix 2020-05-30 22:47:01 +02:00
Ugljesa Jovanovic
137fe3fe62
Working linux x64, macosx64 and mingwx64 builds with libsodium, cleaned up api build.grade, extracted version name and group 2020-05-30 00:33:31 +02:00
Ugljesa Jovanovic
ce226d9f30
Test blocking valid 2020-05-30 00:23:34 +02:00
Ugljesa Jovanovic
7389f19024
non delegated need coroutines dependancy 2020-05-30 00:22:33 +02:00
Ugljesa Jovanovic
639cd317aa
Same for test 2020-05-30 00:16:23 +02:00
Ugljesa Jovanovic
b589a12142
typo 2020-05-30 00:15:14 +02:00
Ugljesa Jovanovic
452d7561a2
Dont add default soruce set to mingw on multiplatform-crypto, as it uses it's own SRNG 2020-05-30 00:09:10 +02:00
Ugljesa Jovanovic
82470472ad
Mingw64 doesnt need native srcdir 2020-05-30 00:03:28 +02:00
Ugljesa Jovanovic
f249e822c6
mingw on common in crypto module 2020-05-30 00:01:09 +02:00
Ugljesa Jovanovic
42ceb79637
Wrong module + put back ideaActive check before adding srcDirs 2020-05-29 23:59:15 +02:00
Ugljesa Jovanovic
013682166c
Wrong module 2020-05-29 23:53:56 +02:00
Ugljesa Jovanovic
0cb5f33af3
Let nativeMain handle SRNG through sodium 2020-05-29 23:52:46 +02:00
Ugljesa Jovanovic
928621eaab
mingw depend on native main, add idea workarounds 2020-05-29 23:50:56 +02:00
Ugljesa Jovanovic
fc159d116f
Disable ios builds in delegated as we are getting platforms built one by one 2020-05-29 23:44:20 +02:00
Ugljesa Jovanovic
05ef422747
Add temporary ios filtering everywhere 2020-05-28 23:59:07 +02:00
Ugljesa Jovanovic
63c5db199e
Sorted out native sourcesets, using intialization and sodium srng in js and native 2020-05-28 22:41:05 +02:00
Ugljesa Jovanovic
ccbb8ebe5b
Cleanup 2020-05-28 19:48:44 +02:00
Ugljesa Jovanovic
781c9c1b61
Working js libsodium, need to change apis to suspend 2020-05-27 23:49:08 +02:00
Ugljesa Jovanovic
1a89ee5154
Got valid blake2b hash 2020-05-24 23:46:07 +02:00
Ugljesa Jovanovic
7238b09112
Adding delegated implementation 2020-05-24 11:12:00 +02:00
Ugljesa Jovanovic
3cfbd0ea63
Successful build 2020-05-24 10:29:30 +02:00