Adam Ierymenko
|
cea3f28155
DB init works now.
|
10 years ago |
Adam Ierymenko
|
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
|
10 years ago |
Adam Ierymenko
|
4e95384ad6
Cleanup, add tristate to config code in Network, and happy new year!
|
10 years ago |
Adam Ierymenko
|
4a5756e7fb
cleanup
|
10 years ago |
Adam Ierymenko
|
8d2e20ede6
Get rid of __align stuff in Salsa20 -- not portable, does not seem to help much on newer chips.
|
11 years ago |
Adam Ierymenko
|
4f0fcc582e
Refactor HttpClient a bit.
|
11 years ago |
Adam Ierymenko
|
49ef980ecf
Scale back Salsa20 benchmark a bit to not take too long on slow boxes.
|
11 years ago |
Adam Ierymenko
|
12692c551e
SSE optimized Salsa20 -- anywhere from 20% to 50% faster than plain C version
|
11 years ago |
Adam Ierymenko
|
7831c4bfef
Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.
|
11 years ago |
Adam Ierymenko
|
abc82d6a52
IPC changes and SocketManager changes all build!
|
11 years ago |
Adam Ierymenko
|
b5c3a92be2
Boring stuff: update dates in copyrights across all files.
|
11 years ago |
Adam Ierymenko
|
370dd6c4da
Several things:
|
11 years ago |
Adam Ierymenko
|
b59a7cf1d8
HTTP self-test.
|
11 years ago |
Adam Ierymenko
|
518410b7e0
HTTP client works!
|
11 years ago |
Adam Ierymenko
|
7015017686
Make Makefile for Mac use clang options instead of old GCC options, and fix a nasty but obvious bug I introduced into Utils::getSecureRandom.
|
11 years ago |
Adam Ierymenko
|
d496304bbf
Put back rest of selftest.
|
11 years ago |
Adam Ierymenko
|
719dd2870d
Self-test for certificate of membership.
|
11 years ago |
Adam Ierymenko
|
c89cdcc3fd
Blech... moving on!
|
11 years ago |
Adam Ierymenko
|
1ed8a22d19
And then it turns out to be too slow on a slower 32-bit machine... we do want to do tablets eventually.
|
11 years ago |
Adam Ierymenko
|
bad043729f
Yet another revision of this algo... yeesh... and update to supernode IDs. I think I am gonna go with this one. Seems memory-hard enough to me. I am probably procrastinating by obsessing over it.
|
11 years ago |
Adam Ierymenko
|
8c9b73f67b
Make Salsa20 variable-round, allowing for Salsa20/12 to be used for Packet encrypt and decrypt. Profiling analysis found that Salsa20 encrypt was accounting for a nontrivial percentage of CPU time, so it makes sense to cut this load fundamentally. There are no published attacks against Salsa20/12, and DJB believes 20 rounds to be overkill. This should be more than enough for our needs. Obviously incorporating ASM Salsa20 is among the next steps for performance.
|
11 years ago |
Adam Ierymenko
|
0c8614b9c6
Add a second arg to idtool generate to make generating both secret and public easier, add new supernode identities after generating them, fix known good and bad IDs in selftest.
|
12 years ago |
Adam Ierymenko
|
bc715fbd51
Make new identity hashcash algo memory hard, and tweak generation time a bit. Current hashcash cost should be overkill for what we need but still tolerable to users.
|
12 years ago |
Adam Ierymenko
|
0e43e5e8f2
Rest of work on new hashcash based identity scheme.
|
12 years ago |
Adam Ierymenko
|
b0187f4472
Hashcash-based identity, work in progress... committing to test speed on other boxes.
|
12 years ago |
Adam Ierymenko
|
141b858737
Self-test fixes for new packet armor/dearmor functions that combine old encrypt and MAC functions.
|
12 years ago |
Adam Ierymenko
|
903b5b4218
Add validation of known-good identity to selftest to check endian and similar issues across platforms.
|
12 years ago |
Adam Ierymenko
|
e376c6f6a9
New crypto integrated -- going to be testing new identity address generation algo a bit more before finalizing.
|
12 years ago |
Adam Ierymenko
|
300d26973a
Test vectors for all new crypto.
|
12 years ago |
Adam Ierymenko
|
660f92b6a7
Add test vectors for ensuring identical C25519 operation across systems.
|
12 years ago |