26 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
52b6a4ad8e
Add state cleanup for delegated and pure. There doesn't seem to be a easy way to clean js state 2020-07-10 22:08:08 +02:00
Ugljesa Jovanovic
55b5641f14
Add high level AEAD tests, implement missing initializations, implement pure decryption 2020-07-09 23:44:30 +02:00
Ugljesa Jovanovic
579c44fcc7
Add delegated xchacha20poly1305 decrypt 2020-07-07 23:11:12 +02:00
Ugljesa Jovanovic
f5150557d6
Bump to 1.4-M3 2020-07-07 00:00:53 +02:00
Ugljesa Jovanovic
71ec5b7585
Remove coroutines 2020-07-05 19:40:22 +02:00
Ugljesa Jovanovic
8625002ea4
Api cleanup continued 2020-07-04 22:39:00 +02:00
Ugljesa Jovanovic
2db5523893
Cleanup 1 2020-07-04 19:05: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
1848de0e8d
Further API conversion 2020-06-23 21:39:04 +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
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
ccbb8ebe5b
Cleanup 2020-05-28 19:48:44 +02:00
Ugljesa Jovanovic
f51374ce15
Use random bytes provided by libsodium on js, add with callback load for sodium, more progress 2020-05-28 19:00:33 +02:00
Ugljesa Jovanovic
781c9c1b61
Working js libsodium, need to change apis to suspend 2020-05-27 23:49:08 +02:00
Ugljesa Jovanovic
1009b92d33
js attempts to integrate libsodium 2020-05-26 00:23:27 +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