Commit Graph
100 Commits
Author SHA1 Message Date
Ugljesa Jovanovic a7818e7b15 Test loggin only on 64bit x86 linux 2020-05-31 21:13:01 +02:00
Ugljesa Jovanovic bb622b9420 Seems rpi on ubuntu reports aarch64 which is not known to gradle internal 2020-05-31 21:08:35 +02:00
Ugljesa Jovanovic d479cac6b7 Jvm only on 64bit x86 linux 2020-05-31 20:59:14 +02:00
Ugljesa Jovanovic 39e4ddd006 Add support for arm 64 2020-05-31 20:57:33 +02:00
Ugljesa Jovanovic 58e74a0cf0 Fix for build on msys2 2020-05-31 17:14:44 +02:00
Ugljesa Jovanovic 592ffaa99b No extensions in task block, will add later 2020-05-30 23:35:53 +02:00
Ugljesa Jovanovic c7cd07f963 Add tvos and watchos to api module 2020-05-30 23:33:06 +02:00
Ugljesa Jovanovic 293b61a7ea Add compiled ios lib to gitignore 2020-05-30 23:25:48 +02:00
Ugljesa Jovanovic 6b415b0e32 Tune build ios libsodium 2020-05-30 23:24:45 +02:00
Ugljesa Jovanovic dbfed977aa Add build script for sodium ios 2020-05-30 23:03:22 +02:00
Ugljesa Jovanovic bb58a372e7 delegated module build.gradle cleanp and macos build fix 2020-05-30 22:47:01 +02:00
Ugljesa Jovanovic 137fe3fe62 Working linux x64, macosx64 and mingwx64 builds with libsodium, cleaned up api build.grade, extracted version name and group 2020-05-30 00:33:31 +02:00
Ugljesa Jovanovic ce226d9f30 Test blocking valid 2020-05-30 00:23:34 +02:00
Ugljesa Jovanovic 7389f19024 non delegated need coroutines dependancy 2020-05-30 00:22:33 +02:00
Ugljesa Jovanovic f97331bdf7 No need for testBlocking in delegated as it inherits from native shared 2020-05-30 00:20:58 +02:00
Ugljesa Jovanovic 08ac719af2 Update mingw testBlocking 2020-05-30 00:19:16 +02:00
Ugljesa Jovanovic 639cd317aa Same for test 2020-05-30 00:16:23 +02:00
Ugljesa Jovanovic b589a12142 typo 2020-05-30 00:15:14 +02:00
Ugljesa Jovanovic 452d7561a2 Dont add default soruce set to mingw on multiplatform-crypto, as it uses it's own SRNG 2020-05-30 00:09:10 +02:00
Ugljesa Jovanovic 82470472ad Mingw64 doesnt need native srcdir 2020-05-30 00:03:28 +02:00
Ugljesa Jovanovic f249e822c6 mingw on common in crypto module 2020-05-30 00:01:09 +02:00
Ugljesa Jovanovic 42ceb79637 Wrong module + put back ideaActive check before adding srcDirs 2020-05-29 23:59:15 +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 928621eaab mingw depend on native main, add idea workarounds 2020-05-29 23:50:56 +02:00
Ugljesa Jovanovic fc159d116f Disable ios builds in delegated as we are getting platforms built one by one 2020-05-29 23:44:20 +02:00
Ugljesa Jovanovic 31b464ecac Always pull in native source set on linux and mac 2020-05-29 22:49:21 +02:00
Ugljesa Jovanovic 936c0769f4 use relative path for static librarz as well 2020-05-29 22:40:50 +02:00
Ugljesa Jovanovic c984c65452 Add native workaround to mac build as well 2020-05-29 22:11:37 +02:00
Ugljesa Jovanovic 05ef422747 Add temporary ios filtering everywhere 2020-05-28 23:59:07 +02:00
Ugljesa Jovanovic 8b91cf41ea log name 2020-05-28 23:54:51 +02:00
Ugljesa Jovanovic 11c872fe28 remove cinterop when name contains ios 2020-05-28 23:53:37 +02:00
Ugljesa Jovanovic 4555b4dd0c remove iosx64 as well 2020-05-28 23:51:35 +02:00
Ugljesa Jovanovic d4d50da463 For now just let x64 targets depend on native sourceset 2020-05-28 23:49:17 +02:00
Ugljesa Jovanovic edde093e30 Remove ios if 2020-05-28 23:47:15 +02:00
Ugljesa Jovanovic c3ffc75474 Add libsodium license, even though the source is not really included in this repo, update cinterop def to point to absolute path (still missingfor linker) 2020-05-28 23:33:08 +02:00
Ugljesa Jovanovic 1a4c07b961 Add configure and make script 2020-05-28 23:02:30 +02:00
Ugljesa Jovanovic 55007cb911 Update gitignore 2020-05-28 23:01:43 +02:00
Ugljesa Jovanovic 15ad0b3b70 Add libsodium and wrapper 2020-05-28 22:51:10 +02:00
Ugljesa Jovanovic 63c5db199e Sorted out native sourcesets, using intialization and sodium srng in js and native 2020-05-28 22:41:05 +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 cc2f392bb7 Working sodium cinterop 2020-05-24 20:41:32 +02:00
Ugljesa Jovanovic 3f7df6c651 Adding libsodium 2020-05-24 17:24:32 +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 f9ddd7bc20 Readme update 2020-05-21 14:23:45 +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 0fbaed2065 1.4 preparation 2020-05-17 23:36:01 +02:00
Ugljesa Jovanovic 5e7feed620 Mistaken merge to master and from master 2020-05-17 01:02:03 +02:00
Ugljesa Jovanovic b96e5ee1c7 Update scripts 2020-05-17 00:57:52 +02:00
Ugljesa Jovanovic 7ef6d23f46 Fix travis windows deploy (no x86 for windows), bump snapshot to 0.0.4 2020-05-17 00:42:40 +02:00
Ugljesa Jovanovic 632739c551 fix mac build 2020-05-17 00:08:55 +02:00
Ugljesa Jovanovic 6d6b16edfc build gradle fixes 2020-05-17 00:00:01 +02:00
Ugljesa Jovanovic a5fc3c8350 Limit builds to hosts, bump to 0.0.3 2020-05-16 23:55:26 +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 ba90eae3cb Bump gradle to 6.4 to fix mac build problems 2020-05-16 22:38:18 +02:00
Ugljesa Jovanovic bf5e6b3b1a travis osx version bump to trz and resolve gradle failing 2020-05-16 22:27:55 +02:00
Ugljesa Jovanovic 744254aa88 Skip browser tests, and remove mingwX86 2020-05-16 22:18:20 +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 8d17b85014 Update README and CHANGELOG 2019-09-25 00:42:01 +02:00
Ugljesa Jovanovic d8ea3d2693 Fix missing leading zeroes in counter 2019-09-24 00:52:49 +02:00
Ugljesa Jovanovic ec3b87db49 Aes implemented 2019-09-23 23:14:55 +02:00
Ugljesa Jovanovic 69c81ec8e9 Working ctr decryption 2019-09-23 22:14:42 +02:00