105 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
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
197aacac33
Built and included modified libsodium with additional wrappers, working blake, sha256/512 hashes 2020-06-09 20:30:12 +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
ce226d9f30
Test blocking valid 2020-05-30 00:23:34 +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
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
Ugljesa Jovanovic
9858eaa5fb
First steps 2020-05-24 10:16:53 +02:00
Ugljesa Jovanovic
aecad37e64
Adding sample project 2020-05-24 09:46:35 +02:00
Ugljesa Jovanovic
7ce350825e
A bit of cleanup, a bit of profiling 2020-05-23 18:38:50 +02:00
Ugljesa Jovanovic
2bbfefb56c
Durther allocation decrease 2020-05-23 16:52:58 +02:00
Ugljesa Jovanovic
4142549d2e
Further reduction in allocations 2020-05-23 16:18:12 +02:00
Ugljesa Jovanovic
3902b90b57
Allocation removal progress 2020-05-23 11:20:36 +02:00
Ugljesa Jovanovic
76a2a3edf7
Xor directly from argon matrix without intermediary array 2020-05-21 23:34:22 +02:00
Ugljesa Jovanovic
7e78bf6fa5
Argon 2 working with new matrix structure 2020-05-21 23:23:48 +02:00
Ugljesa Jovanovic
13b60a5eee
Replacing array of arrays of ubyte arrays with custom argon2 matrix 2020-05-21 21:02:19 +02:00
Ugljesa Jovanovic
f5b3eb6b92
Model argon2Matrix 2020-05-21 14:56:28 +02:00