Commit Graph
73 Commits
Author SHA1 Message Date
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
Ugljesa Jovanovic 67ab8fa46e A bit of cleanup, add some util argon 2 tests to pinpoint failures easier once I start trying to reduce allocations and parallelize 2020-05-21 14:20:35 +02:00
Ugljesa Jovanovic 34a86cd9c7 Migrate everything to UByteArray 2020-05-21 12:34:14 +02:00
Ugljesa Jovanovic 4ea04eb90d Tests are back up 2020-05-19 23:48:59 +02:00
Ugljesa Jovanovic bc1c50f268 Initial switch to byte array 2020-05-19 23:33:10 +02:00
Ugljesa Jovanovic d2c52e02e8 Memory rework 2020-05-19 23:12:24 +02:00
Ugljesa Jovanovic 799a9bb74e Parallelism cleanup and preaparations 2020-05-18 23:45:24 +02:00
Ugljesa Jovanovic e0eb1219c6 Fix js SRNG returning undefined with kotlin js 1.4 2020-05-18 19:37:57 +02:00
Ugljesa Jovanovic a59ae994f2 Reduce memory required for this tests, as travis mac build seems to fail because of it 2020-05-16 23:05:00 +02:00
Ugljesa Jovanovic 04955effe7 Fix errors when calculating address blocks, add readme 2020-05-16 22:18:20 +02:00
Ugljesa Jovanovic c62727e3fb Add string constructor overload 2020-05-16 22:18:20 +02:00
Ugljesa Jovanovic 13ebfa8be9 Add key derivation interface 2020-05-16 22:18:20 +02:00
Ugljesa Jovanovic 2bc3051748 Enable windows build in builg.gradle, add argon2 nput validation 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic 1208d0549c Cleanup, working kat for Argon2id 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic e08f69f643 Fixed versions all tests passing 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic 55ac0a8713 Working Argon 2i when tested against KAT 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic 6af623eef6 Cleanup, implementing 2i 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic 6f51a0ec66 Fixed blake2b not using hash length parameter, fully working 2d variant with correct kat tag 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic 1904e2b9f2 Working for all segments 2d variant 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic d92db320c3 Bumpp kotlin to 1.3.72, working first iteration 2020-05-16 22:18:19 +02:00
Ugljesa Jovanovic 6c92936c5d Bounds fixes 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 3519d2240f Fixed row mixing 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 9b800e34bc Fixed mixing columns 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 297a2d4969 Further step by step build 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 21685191e7 Fix arbitrary length hash function 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 4cc7c7e92a Continuing with index work, found a bug in initial hash, was missing type 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 1e0a5b516e Continuing Argon 2 work 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 803288cbc4 Further progress 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic 7e8e48aa1d Moved util class to util package, added a couple of util tests, continued Argon implementation by completeing compression function 2020-05-16 22:18:18 +02:00
Ugljesa Jovanovic d22f5b73f7 Continued Argon2 implementation 2020-05-16 22:18:17 +02:00
Ugljesa Jovanovic decc1ab91f Started work on argon2 implementation 2020-05-16 22:18:17 +02:00
Ugljesa Jovanovic 63df04a7b6 Implemented mingw srng, add some more gradle handling for idea, disabled mingwx86 for now as it's not supported by coroutines, and I want to use coroutines eventually 2020-05-16 22:18:14 +02:00
Ugljesa Jovanovic 84799b4ede A kludgy way to get the native to properly compile when in intellij IDE 2020-01-05 20:41:58 +01:00