Commit Graph
266 Commits
Author SHA1 Message Date
Ugljesa Jovanovic d98143bde7 Fix linux script, install automake 2020-06-10 19:36:11 +02:00
Ugljesa Jovanovic 5d18629648 skip ./gradlew assemble 2020-06-10 19:10:30 +02:00
Ugljesa Jovanovic 6612d8a37b Cache dependancies, add proper path to custom libsodium npm module 2020-06-10 19:09:01 +02:00
Ugljesa Jovanovic 9255bc44fa Figuring out linux build with sodium 2020-06-10 18:28:27 +02:00
Ugljesa Jovanovic ad1cbfcaa9 Merge branch 'master' into extract-interfaces 2020-06-09 22:17:56 +02:00
Ugljesa Jovanovic ce7b27da98 Completed blake2b, sha256 and sha512 delegated implementations 2020-06-09 22:13:21 +02:00
Ugljesa Jovanovic 6170dc0464 Added sha256/512 to native, using posix malloc instead of sodium malloc 2020-06-09 21:05:05 +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 710ac43e8c Add stateless implementation 2020-06-07 19:04:23 +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 03275dd44c Forgot to convert literals, also release state 2020-06-07 01:19:40 +02:00
Ugljesa Jovanovic 7f2a3c76e4 Use convert() 2020-06-07 01:11:56 +02:00
Ugljesa Jovanovic 2aa805fa52 Another round of fixes, cinterop works again 2020-06-07 01:06:21 +02:00
Ugljesa Jovanovic 1be0470745 Idea cinterop stopped working, again... fixed blake2b stateless segmentation 2020-06-07 00:55:46 +02:00
Ugljesa Jovanovic d380863a29 Forgot watchos 2020-06-07 00:40:43 +02:00
Ugljesa Jovanovic 216e114cfa Update gitignore 2020-06-07 00:39:33 +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 4357124b48 Blake2b cleanup 2020-06-06 22:20:27 +02:00
Ugljesa Jovanovic 63f90aa915 Workround for invalid aligment when using nativeHeap alloc 2020-06-06 15:55:42 +02:00
Ugljesa Jovanovic f6458a893d Added converts 2020-06-06 15:08:05 +02:00
Ugljesa Jovanovic 459131f082 Remove 32bit native set, and use convert instead 2020-06-06 15:07:20 +02:00
Ugljesa Jovanovic 907128fcfa Progress 2020-06-06 00:41:00 +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 9a1073e1c1 Update readme, add kotlin dev, so current coroutines stdlib (eap-83) can be resolved 2020-06-05 18:35:49 +02:00
Ugljesa Jovanovic d11d4e7fb0 Working arm 64 libsodium integration 2020-06-05 16:27:58 +02:00
Ugljesa Jovanovic e026d1405d Building arm64 with clang 2020-06-03 23:52:52 +02:00
Ugljesa Jovanovic 088f09f154 A bit more of intellij sorting sourcesets 2020-06-03 19:36:55 +02:00
Ugljesa Jovanovic 14676337fc Added hash test, fixed idea native cinterop resolution 2020-06-03 00:18:41 +02:00
Ugljesa Jovanovic 006dd47873 Tried to get arm32 to work, but sysroot is missing getrandom, and no getrandom no libsodium as far as I understand. Everything compiles now, including the sample, tested kexe on arm64, runs and does sodium init at least 2020-06-02 23:59:01 +02:00
Ugljesa Jovanovic 641d950384 Remove build dirs after building 2020-06-02 20:39:52 +02:00
Ugljesa Jovanovic 8e4f67daee Trailing comman 2020-06-02 20:21:06 +02:00
Ugljesa Jovanovic 2695dda865 Bump libsodium tvos x bit 2020-06-02 20:03:47 +02:00
Ugljesa Jovanovic 635b12cc26 Add tvos, watchos and ios build scripts 2020-06-02 20:00:52 +02:00
Ugljesa Jovanovic b9d47611c7 Split ios tvos watchos builds 2020-06-01 23:15:25 +02:00
Ugljesa Jovanovic add3dc5376 Apparently watchos arm 64 is 32bit (64_32 architecture) 2020-06-01 22:28:22 +02:00
Ugljesa Jovanovic ab64e271ab Missed watchcos 32bit 2020-06-01 21:29:06 +02:00
Ugljesa Jovanovic c6df6ba694 fix mac paths 2020-06-01 21:26:08 +02:00
Ugljesa Jovanovic 4dab764914 Fix makeIos script 2020-06-01 21:20:28 +02:00
Ugljesa Jovanovic 69b3845a9c Let macos configure itself 2020-06-01 20:59:54 +02:00
Ugljesa Jovanovic 09db6c2b44 Add mingw libsodium build script 2020-06-01 20:45:07 +02:00
Ugljesa Jovanovic 2736712eed Add mac build script 2020-06-01 20:40:04 +02:00
Ugljesa Jovanovic 8a4eb512c4 Forgot to add files 2020-06-01 20:38:33 +02:00
Ugljesa Jovanovic 293fd37bad Fix 64 bit arm, connect native32 source set 2020-06-01 20:37:48 +02:00
Ugljesa Jovanovic 6ac6046c7c A bit more portable scripts 2020-06-01 19:43:21 +02:00
Ugljesa Jovanovic 684db231cf Add macos and mingw prefix folders 2020-06-01 19:40:04 +02:00
Ugljesa Jovanovic fd00dc7725 Update gitignore 2020-06-01 19:38:31 +02:00