Commit Graph
257 Commits
Author SHA1 Message Date
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 16ced7f900 Merge branch 'master' into delegated-aes 2020-06-13 21:05:51 +02:00
Ugljesa Jovanovic f246acc745 Add watchos and tvos targets to pure variant 2020-06-13 21:04:49 +02:00
Ugljesa Jovanovic d261ed2396 X64 -> 2020-06-13 20:37:33 +02:00
Ugljesa Jovanovic 90748d6323 Arm64 -> 64Arm 2020-06-13 20:10:51 +02:00
Ugljesa Jovanovic b05bf70cff Arm32 -> 32Arm 2020-06-13 19:17:16 +02:00
Ugljesa Jovanovic da87bb4f17 Fix windows build task name and shell env for publish script 2020-06-13 18:52:06 +02:00
Ugljesa Jovanovic 187011bf14 Merge branch 'master' into delegated-aes 2020-06-13 18:17:29 +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 f24b817bad Update readme 2020-06-13 17:04:42 +02:00
Ugljesa Jovanovic 9129517539 Update readme 2020-06-13 16:31:14 +02:00
Ugljesa Jovanovic c5cb66d087 Merge pull request #13 from ionspin/extract-interfaces
Extract interfaces
2020-06-13 16:12:04 +02:00
Ugljesa Jovanovic 9f8803ea20 Update README to note 1.4-M2 state, split windows into pure and delegated build because it was hittin 50 minute timeout on travis 2020-06-13 13:08:03 +02:00
Ugljesa Jovanovic 8b0c9d88f7 Removed comment by accident 2020-06-13 10:54:02 +02:00
Ugljesa Jovanovic 6c00484b28 Add runners for macos and mingw sample executables 2020-06-13 10:46:29 +02:00
Ugljesa Jovanovic f1517c19fd Remove gitignored node modules 2020-06-13 10:06:38 +02:00
Ugljesa Jovanovic 8ffac500d5 Reenable linux and macos builds 2020-06-13 10:02:26 +02:00
Ugljesa Jovanovic f309f7ffaf Cleanup, build executable sample on windows 2020-06-13 09:55:09 +02:00
Ugljesa Jovanovic 291badc149 Build everyting on mingw 2020-06-13 09:55:08 +02:00
Ugljesa Jovanovic afe9832cb1 Use GNU_MAKE 2020-06-13 09:55:08 +02:00
Ugljesa Jovanovic 0000bc4b8e Disable macos and linux builds while we are setting up windows builds
Add windows cache directories

fix yml

Fix YAML

Get java first on windows build

Try to replace mingw with msys in script

Try windows build without the toolchain, since we are bringing our own

taskkill was failing

Different libtool package name

Add autoconf to msys2

Install mingw-w64-x86_64-toolchain but with each package instead of a group which interrupts installation

Msys2 cant find make, try using alias

Make everything executable, add some debugging logs to windowsBuild

Skip building, debug make

Find all make files

Another attempt

Attempt different alias

Try with symbolic link

Attempt mingw64

Forgot to change folder

Attempt N

Set -e+e

Try with cygwin

mingw again

Move

Add more debug logs

Add +e to see what fails now

try direct make
2020-06-13 09:55:03 +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 add5480850 Proper name of msys2 packages 2020-06-11 19:35:11 +02:00
Ugljesa Jovanovic 218bd8f4e1 Windows msys cache 2020-06-11 19:33:24 +02:00
Ugljesa Jovanovic 611a60b94b Use msys2 instead of mingw 2020-06-11 19:32:12 +02:00
Ugljesa Jovanovic 1a484bfb55 Add autogen to tvos and watchos builds scripts 2020-06-11 19:11:44 +02:00
Ugljesa Jovanovic a654481ba5 Fixed osx scripts, added windows script 2020-06-11 18:37:56 +02:00
Ugljesa Jovanovic 646df7f599 Split to different mac jobs in travis 2020-06-11 17:54:16 +02:00
Ugljesa Jovanovic 376283b736 Split mac builds into different scripts 2020-06-11 17:46:26 +02:00
Ugljesa Jovanovic c3432bc299 Invalid rm at the end of watchos compiling 2020-06-10 23:55:11 +02:00
Ugljesa Jovanovic 8582411529 Missing .sh 2020-06-10 23:07:48 +02:00
Ugljesa Jovanovic e537e37ff6 Let's tackle mac build 2020-06-10 22:41:53 +02:00
Ugljesa Jovanovic be8b390a6c Finish when child fails 2020-06-10 22:33:10 +02:00
Ugljesa Jovanovic 2f84c2dbf3 Update linux and publish script, make initializer blocking in linux 2020-06-10 22:18:27 +02:00
Ugljesa Jovanovic 93a3ac5782 Try justlinking the loader 2020-06-10 21:37:23 +02:00
Ugljesa Jovanovic 7677ae16c7 Try adding -B to force using correct linker 2020-06-10 21:16:40 +02:00
Ugljesa Jovanovic ff05f79b23 autogen in arm64 configure, correct make file name 2020-06-10 20:32:03 +02:00
Ugljesa Jovanovic efc81b2d9d Add apt get update and -y 2020-06-10 19:48:14 +02:00
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