379 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
2db5523893
Cleanup 1 2020-07-04 19:05:15 +02:00
Ugljesa Jovanovic
a1a56487ff
Working verification of encrypted data, there was confusion regarding the ciphertext padding, which might or might not be an issue in libsodium 2020-07-01 20:35:15 +02:00
Ugljesa Jovanovic
85e3e2e4ee
Adopting libsodium secret stream approach for multipart, currently correct state and keystream, but mac is still incorrect on pure implementation 2020-06-29 21:46:29 +02:00
Ugljesa Jovanovic
e6f560ba8e
Working single shot xchacha20poly1305 encryption and decryption in delegated flavour 2020-06-27 18:20:53 +02:00
Ugljesa Jovanovic
6228263978
Further progress on delegated xchacha poly, working jvm , js in progress 2020-06-25 21:16:14 +02:00
Ugljesa Jovanovic
e3fe276e4c
Starting delegated implementation 2020-06-23 22:19:19 +02:00
Ugljesa Jovanovic
1848de0e8d
Further API conversion 2020-06-23 21:39:04 +02:00
Ugljesa Jovanovic
233ee1bf55
Multipart API continuation 2020-06-23 19:54:30 +02:00
Ugljesa Jovanovic
f107db3312
Sketching further API 2020-06-21 22:06:09 +02:00
Ugljesa Jovanovic
2f0f174b33
Added decryption 2020-06-21 21:52:17 +02:00
Ugljesa Jovanovic
3c49128c90
Added XChaCha20Poly1305 updatable and tests 2020-06-21 21:24:20 +02:00
Ugljesa Jovanovic
d55f67dd59
Added updateablePoly1305 2020-06-21 20:54:15 +02:00
Ugljesa Jovanovic
6fae2fd061
Adding xchacha20 updateable, and tests 2020-06-21 19:51:21 +02:00
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
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