Commit graph

49 commits

Author SHA1 Message Date
Erik Hollensbe
c5b9036b9e
rustfmt tree
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:22:57 -07:00
Erik Hollensbe
a7272f5cba
initial test fixing on linux
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 10:54:02 -07:00
Adam Ierymenko
27389825da
syncwhole 2022-03-01 12:26:49 -05:00
Adam Ierymenko
4ca9e49b4a
Build fixes. 2022-02-21 17:06:24 -05:00
Adam Ierymenko
99b283651a
Peer stuff, and do not include signatures in identity in fingerprint in case signatures can be malleable. Fingerprint should be address and keys only. 2022-02-21 16:44:44 -05:00
Adam Ierymenko
c01581d316
Trim junk off test IDs. 2022-02-18 12:08:56 -05:00
Adam Ierymenko
d5be872491
Implement a hybrid key, rev identity again to make it upgradable. 2022-02-18 12:03:45 -05:00
Adam Ierymenko
a60e4838fe
Remove some premature optimization. 2022-02-17 11:59:15 -05:00
Adam Ierymenko
ca823e5fa3
Attic some stuff, cleanup. 2022-02-17 11:33:13 -05:00
Adam Ierymenko
4a6e88344c
(1) switch NIST curve to P-384 since there is no point in 521 and NSA may not even accept it, (2) simplify ephemeral key stuff, (3) toss some stuff in the attic. 2022-02-16 18:22:20 -05:00
Adam Ierymenko
06c0d452f4
Fix IBLT read/write and remove some warnings. 2022-01-29 15:04:26 -08:00
Adam Ierymenko
700855424c
Move IBLT into core. It will probably get used there. 2022-01-29 13:36:33 -08:00
Adam Ierymenko
0ba8573177
Renaming, warning removal, and other boring things. 2022-01-14 17:49:55 -05:00
Adam Ierymenko
99611f8781
A bunch of simplification of logic. 2022-01-14 17:14:35 -05:00
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
86c366f1bd
Much more Rust work on sync and hypervisor. 2022-01-07 11:26:12 -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
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
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
03b70d62d5
docs 2021-11-10 10:12:31 -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
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
0e3fa9589e
Rename some folders in Rust tree so folder names equal Rust package names. 2021-10-14 18:52:50 -04:00