645 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
91cd41c8c1
Short hash implementation and test, updated cbc tests as they ignored padding 2020-08-28 22:35:33 +02:00
Ugljesa Jovanovic
86611453ea
Same thing for JVM, forgot about tag length 2020-08-27 22:09:42 +02:00
Ugljesa Jovanovic
89e5ae62e4
Fixed native (i forgot to account for tag length. Added debug list of js functions, can be usefull when defining interface 2020-08-27 22:07:03 +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
2c92a8142f
Add generic hash tests, add templates for secret stream jvm and js 2020-08-26 22:33:55 +02:00
Ugljesa Jovanovic
39f0817308
Adding secret stream impl, completed generichash impl 2020-08-26 22:15:03 +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
231a84af67
Comment out old debug generated code, but keep for short term reference, add android/jvm wrappers, seemingly solve android unit test problems 2020-08-23 13:39:59 +02:00
Ugljesa Jovanovic
9962198aad
Comment out old debug generated code, but keep for short term reference, add android/jvm wrappers, seemingly solve android unit test problems 2020-08-22 13:53:01 +02:00
Ugljesa Jovanovic
f060d2298d
Added android plugin, need to sort out shared jvm code next 2020-08-22 00:43:22 +02:00
Ugljesa Jovanovic
92058a7ba5
Added generic hash 2020-08-21 19:21:40 +02:00
Ugljesa Jovanovic
6a6119dec1
Abandon generator approach 2020-08-21 18:57:20 +02:00
Ugljesa Jovanovic
be4468785d
Slow progress. 2020-08-21 18:55:17 +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
df87dae376
Adding pull secretstream definition 2020-08-15 11:53:11 +02:00
Ugljesa Jovanovic
28995c065f
Adding secretstream push definition and neccessary changes 2020-08-14 16:00:30 +02:00
Ugljesa Jovanovic
efe9661c30
Adding custom code blocks 2020-08-14 14:25:26 +02:00
Ugljesa Jovanovic
a5b20daf5a
Adding data classes 2020-08-14 12:39:27 +02:00
Ugljesa Jovanovic
fcc4d87610
Add documentation to definitions 2020-08-14 11:08:59 +02:00
Ugljesa Jovanovic
8dc8db1866
Add generating js interface class, not used yet 2020-08-14 10:39:38 +02:00
Ugljesa Jovanovic
bbe2e8429f
remove delegate from pure publish script 2020-08-09 17:32:58 +02:00
Ugljesa Jovanovic
222fef00e3
Ios -> IosX64 2020-08-09 16:26:40 +02:00
Ugljesa Jovanovic
791d8d2ca7
Fix build script typos and missing configuration 2020-08-09 15:42:45 +02:00
Ugljesa Jovanovic
d609885cfc
Rename publish build script 2020-08-09 15:00:43 +02:00
Ugljesa Jovanovic
0ab54a6048
Dokka sourceset definition 2020-08-09 14:35:20 +02:00
Ugljesa Jovanovic
aef190199d
Merge pull request #14 from ionspin/libsodium-code-generator
Libsodium code generator
2020-08-09 13:58:12 +02:00
Ugljesa Jovanovic
ef55f7470f
Update sourcesets 2020-08-09 12:24:50 +02:00
Ugljesa Jovanovic
1c210c3ad2
Don't compile ios libsodium on mac build and vice versa, use default target names 2020-08-09 12:22:39 +02:00
Ugljesa Jovanovic
b5547758be
Use ios arm compilation target name consistently 2020-08-09 11:41:56 +02:00
Ugljesa Jovanovic
773731760e
Split builds into more jobs as we are itting execution time limit on travis, it seems linking takes much longer on 1.4.0-rc 2020-08-09 10:59:21 +02:00
Ugljesa Jovanovic
67e2d239b4
Try to expand gradle and konan cache used by travis 2020-08-09 00:46:28 +02:00
Ugljesa Jovanovic
45bb6be4a7
Update mingw runner 2020-08-08 23:20:25 +02:00
Ugljesa Jovanovic
3c9a222da5
Remove coroutines from mingw build 2020-08-08 23:16:54 +02:00
Ugljesa Jovanovic
d1a910b965
fix macos and windows compilation issues 2020-08-08 23:05:27 +02:00
Ugljesa Jovanovic
e6e7a7664c
Update readme and changelog, as this is going into master so snapshots are available for experimenting 2020-08-08 22:22:38 +02:00
Ugljesa Jovanovic
e997c18d1d
A nicer workaround for JS compiler wrong function name bug 2020-08-08 22:05:46 +02:00
Ugljesa Jovanovic
5d61858f81
All platforms working with a smoke test, seems theres a bug with JS compiler (TODO in smoke test desccribes it) 2020-08-08 19:54:48 +02:00
Ugljesa Jovanovic
1f0eaf59ca
Pivot to a handled API, update common js and native generators 2020-08-08 16:20:56 +02:00
Ugljesa Jovanovic
d8b92a6970
Adde emitters, paths are different when running from gradle or intellij, will fix later 2020-08-02 19:49:29 +02:00
Ugljesa Jovanovic
641fbceb3f
Working on js generator, adding initializers 2020-08-02 19:05:42 +02:00
Ugljesa Jovanovic
93a94724f3
Fix paths 2020-08-02 18:45:41 +02:00
Ugljesa Jovanovic
15258fbad2
Remove unnecessary empty compiler option 2020-08-02 18:44:51 +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
a972b022d3
Add native parameter pining 2020-08-02 15:13:30 +02:00
Ugljesa Jovanovic
97c631ecb7
Progress on native generator 2020-08-01 18:07:12 +02:00
Ugljesa Jovanovic
c975bdb248
Progress 2020-07-31 20:08:33 +02:00
Ugljesa Jovanovic
c5082a0f47
Progress 2020-07-31 17:37:49 +02:00
Ugljesa Jovanovic
53325cdba6
Forming the generator slowly 2020-07-31 13:20:43 +02:00