Commit graph

5885 commits

Author SHA1 Message Date
Adam Ierymenko
07cfd12620
More cleanup and one more tweak to ephemeral keys. Add a ratchet counter to prevent replay attacks. 2022-01-13 13:01:44 -05:00
Adam Ierymenko
c39f38d818
Some cleanup and more testing for ephemeral ratchet. 2022-01-12 18:13:59 -05:00
Adam Ierymenko
5fb5c76694
Future proof the signature format. 2022-01-12 12:03:45 -05:00
Adam Ierymenko
7c4ad3ecbc
One more tweak to new identity format to rationalize it some more. 2022-01-12 11:40:14 -05:00
Adam Ierymenko
0aecf8ee22
Build fixes, remove some code, make new identity format a little cleaner. 2022-01-12 11:25:54 -05:00
Adam Ierymenko
6672257465
Clean up eq() and cmp(). 2022-01-11 15:16:28 -05:00
Adam Ierymenko
d8512181f7
More identity tests. 2022-01-11 14:24:42 -05:00
Adam Ierymenko
ca252cae74
Build fixes, more testing for identity. 2022-01-11 14:03:09 -05:00
Adam Ierymenko
95951ed14e
Replicator P2P code, and build fixes. 2022-01-10 16:17:40 -05:00
Adam Ierymenko
b2796a5f9c
cleanup 2022-01-07 11:37:37 -05:00
Adam Ierymenko
86c366f1bd
Much more Rust work on sync and hypervisor. 2022-01-07 11:26:12 -05:00
Adam Ierymenko
09d7e25254
Too much to list, but mostly sync stuff. 2021-12-30 18:15:32 -05:00
Adam Ierymenko
b0f7cc1238
Warning removal. 2021-12-22 21:15:39 -05:00
Adam Ierymenko
e55d3e4d4b
Bunch of sync stuff including a neat set reconiciliation thing. 2021-12-21 21:43:09 -05:00
Adam Ierymenko
0d67fcee92
It compiles. 2021-12-16 23:08:37 -05:00
Adam Ierymenko
734e86dfed
Replicator code, and cleanup. 2021-12-16 15:39:18 -05:00
Adam Ierymenko
5fd0e2998b
Build fixes. 2021-12-13 15:45:02 -05:00
Adam Ierymenko
4a9938dfd3
Implement identity V1 so as to make it backward compatibile with old versions, and tons of build fixes. 2021-12-10 21:57:50 -05:00
Adam Ierymenko
018889d3b4
Rust edition bump. 2021-12-07 11:31:31 -05:00
Adam Ierymenko
9b71b354b0
More Rust stuff, cleanup, rework identity, add array concat convenience functions. 2021-12-07 11:20:39 -05:00
Adam Ierymenko
810a1fb229
Just a whole bucket of Rust. 2021-12-06 09:40:41 -05:00
Adam Ierymenko
c99fc2f36e
A few simplifications. 2021-11-30 16:52:22 -05:00
Adam Ierymenko
cf6ffdb894
docs 2021-11-29 16:56:30 -05:00
Adam Ierymenko
ea8b05fa65
Lots of reorganization of hypervisor, renaming, build fixes, more fixes and tweaks to ephemeral ratchet. 2021-11-18 13:10:52 -05:00
Adam Ierymenko
532d709b88
Simplify. 2021-11-17 15:56:41 -05:00
Adam Ierymenko
b57104afe2
More stable and easier rule for occasionally tossing SIDH into the ratchet. 2021-11-17 10:19:40 -05:00
Adam Ierymenko
b335c631a9
Use a state hash for determining if ephemeral ratchet can advance, and some big perf improvements in SIDH. 2021-11-17 10:17:23 -05:00
Adam Ierymenko
be90abdc52
Small help update. 2021-11-16 14:19:18 -05:00
Adam Ierymenko
afa493654f
A few perf things. 2021-11-16 14:17:53 -05:00
Adam Ierymenko
7a99b48d23
build fix 2021-11-15 12:28:11 -05:00
Adam Ierymenko
9ede63a06b
More ephemeral key stuff. 2021-11-15 12:24:30 -05:00
Adam Ierymenko
06bd77946b
Build fixes, ephemeral keying logic and ratchet logic, split out symmetric key since it is a non-trivial type. 2021-11-12 18:04:34 -05:00
Adam Ierymenko
184c4aede1
Optimize SIDH code for about a 25% speed improvement. 2021-11-11 15:29:35 -05:00
Adam Ierymenko
c7b2a3703e
More opt fixes in sidh. 2021-11-10 15:40:15 -05:00
Adam Ierymenko
9fec98bff2
Add bench during SIDH testing. 2021-11-10 15:31:32 -05:00
Adam Ierymenko
03b70d62d5
docs 2021-11-10 10:12:31 -05:00
Adam Ierymenko
7c6d003a5e
Smaller code is often faster. 2021-11-10 08:54:43 -05:00
Adam Ierymenko
16aa1b4eeb
Some optimizations. 2021-11-09 16:58:31 -05:00
Adam Ierymenko
30b4344acd
Add some files from original sidh-rs. 2021-11-09 16:52:46 -05:00
Adam Ierymenko
91493713a1
A lot of service work, and incorporate fork of https://github.com/etairi/sidh-rs into zerotier-core-crypto. 2021-11-09 16:52:07 -05:00
Adam Ierymenko
e732c3569c
Docs, stub out VL2, create root level Node that is a composition of VL1 and VL2. 2021-11-05 21:38:35 -04:00
Adam Ierymenko
39aeab6819
Tweak V1 identity PoW, rewrite root set to be cleaner, docs, warning removal, test fix in AES-GMAC-SIV. 2021-11-05 15:30:54 -04:00
Adam Ierymenko
986641221d
Remove locator, will simplify. 2021-11-03 22:04:05 -04:00
Adam Ierymenko
cd62b6a932
Move varint to crypto since a few of these utils will be useful everywhere. 2021-11-03 12:20:02 -04:00
Adam Ierymenko
6c504af012
Build fixes and a fix to the UDP socket implementation. 2021-11-03 12:09:26 -04:00
Adam Ierymenko
7318a188b2
Build and test fixes. 2021-11-03 09:52:35 -04:00
Adam Ierymenko
9c64f262a3
MPL! 2021-11-01 18:42:01 -04:00
Adam Ierymenko
08e15bb92b
Docs, formatting. 2021-11-01 17:59:01 -04:00
Adam Ierymenko
bf482e06ea
Update a bunch of service code in keeping with new Rust core, and remove osdep stuff in favor of the libc crate. 2021-10-14 21:02:51 -04:00
Adam Ierymenko
0c0e78da1b
Move system service back into here (still does not compile with Rust core) 2021-10-14 19:36:21 -04:00