Commit graph

6045 commits

Author SHA1 Message Date
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
1a3d9a28a0
Build fixes. 2022-01-29 14:23:28 -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
b15ecfd163
More renaming. 2022-01-14 17:52:55 -05:00
Adam Ierymenko
0ba8573177
Renaming, warning removal, and other boring things. 2022-01-14 17:49:55 -05:00
Adam Ierymenko
92372799aa
More moving out of repo 2022-01-14 17:15:19 -05:00
Adam Ierymenko
a956dbd4be
Move sync library out of this repo. 2022-01-14 17:15:01 -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
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