Ugljesa Jovanovic
a70bb5243c
Bump dokka, update dokka calls, add test md package and module docs
2020-11-17 23:27:49 +01:00
Ugljesa Jovanovic
314765eee1
Windows msys build
2020-10-20 20:18:52 +02:00
Ugljesa Jovanovic
065abe1dab
Update libsodium build to latest upstream with tvos modification
2020-10-18 23:29:21 +02:00
Ugljesa Jovanovic
aea3eb72fa
Run on external pull request ( #18 )
...
* Run on external pull request
* Working linux build, disable pull requests for now
* Try manual flag
* Try manual flag 2
* Try manual flag 3
* Travis -> Gitlab
2020-10-05 22:01:20 +02:00
Ugljesa Jovanovic
3de04749ba
Change all occurences of additionalData to associatedData
2020-08-30 11:56:18 +02:00
Ugljesa Jovanovic
9e10677165
ADded helper extension toPtr instead of addressOf(0), implemented jvm and native secret stream
2020-08-27 19:27:46 +02:00
Ugljesa Jovanovic
6f38a01195
Fixed some of the errors spotted in various aes implementation while doing cryptopals challenge, anyways they were unused. Added multipart generic hash (blake2b) native implementation
2020-08-26 19:58:57 +02:00
Ugljesa Jovanovic
cd90f964ab
Update kotlin version, need to fix secretstream pull, at least in js if not everywhere
2020-08-18 23:32:50 +02:00
Ugljesa Jovanovic
0c098e57db
Test secret stream generated code
2020-08-15 17:50:46 +02:00
Ugljesa Jovanovic
0ab54a6048
Dokka sourceset definition
2020-08-09 14:35:20 +02:00
Ugljesa Jovanovic
d1a910b965
fix macos and windows compilation issues
2020-08-08 23:05:27 +02:00
Ugljesa Jovanovic
0883ddf801
Updated dokka
2020-08-02 18:34:45 +02:00
Ugljesa Jovanovic
1aaffe9c7c
Starting work on JS generator
2020-08-02 17:09:13 +02:00
Ugljesa Jovanovic
278e11b315
Remove conversion methods that acctually already existed and worked in standard library
2020-07-17 12:30:15 +02:00
Ugljesa Jovanovic
1dc423a509
Fixed sha256/512 implementation updateable version counter overflowing because it was int instead of long, fixed nonce overwriting in pure xchacha20poly1305 implementation
2020-07-13 23:39:36 +02:00
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
1293b9ea75
Added nonce xoring with mac to pure implementation
2020-07-10 18:36:45 +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
5d3c14de2f
Use unsafe cast instead of conversion that creates new array
2020-07-07 21:47:10 +02:00
Ugljesa Jovanovic
9751f80347
Experiment with asByteArray()
2020-07-07 21:19:20 +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
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
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
a3cb4f653a
Use dev version of dokka because we are in 1.4-M2
2020-06-13 18:16:43 +02:00
Ugljesa Jovanovic
f1517c19fd
Remove gitignored node modules
2020-06-13 10:06:38 +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
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
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