Adam Ierymenko
|
4e4fd51117
boring doc stuff
|
8 anni fa |
Adam Ierymenko
|
0d9f33dc4f
Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
|
9 anni fa |
Adam Ierymenko
|
0c498556d5
Unroll Salsa20 fully for a little more speed (non-SSE now almost as fast as SSE)
|
9 anni fa |
Adam Ierymenko
|
a8a92c5b89
A whole lot of Sqlite netconf master work, and some fixes elsewhere in the code.
|
9 anni fa |
Adam Ierymenko
|
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
|
9 anni fa |
Adam Ierymenko
|
4e95384ad6
Cleanup, add tristate to config code in Network, and happy new year!
|
10 anni fa |
Adam Ierymenko
|
b5c3a92be2
Boring stuff: update dates in copyrights across all files.
|
10 anni fa |
Adam Ierymenko
|
370dd6c4da
Several things:
|
10 anni fa |
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 anni fa |
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 anni fa |
Adam Ierymenko
|
3c5c3280ff
Fix an endian-non-neutrality bug in new hashcash identity algo.
|
11 anni fa |
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 anni fa |
Adam Ierymenko
|
430882327e
Couple of small fixes, works again with new ID code.
|
11 anni fa |
Adam Ierymenko
|
2fa2796f2a
Another tweak, hopefully final, to reduce variance on identity generation times.
|
11 anni fa |
Adam Ierymenko
|
343b7f44fc
Old algo for ID derivation was not in fact memory-hard since Salsa20 is seekable, so take two.
|
11 anni fa |
Adam Ierymenko
|
5fa7a92048
Allocate genmem[] since its too big for the stack on some systems.
|
11 anni fa |
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.
|
11 anni fa |
Adam Ierymenko
|
4267e7da93
Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder.
|
11 anni fa |
Adam Ierymenko
|
0e43e5e8f2
Rest of work on new hashcash based identity scheme.
|
11 anni fa |
Adam Ierymenko
|
b0187f4472
Hashcash-based identity, work in progress... committing to test speed on other boxes.
|
11 anni fa |
Adam Ierymenko
|
5ccc91a7c3
Prescient endian-ness fix in deriveAddress.
|
11 anni fa |
Adam Ierymenko
|
77f8d75529
Fix idtool build, tweak address derivation again.
|
11 anni fa |
Adam Ierymenko
|
94bf3e9a0e
More tweaks to address derivation, going to test on other boxen.
|
11 anni fa |
Adam Ierymenko
|
4f53d09c7e
Build fix for 32-bit Linux and tweaks to address derivation algorithm.
|
11 anni fa |
Adam Ierymenko
|
e376c6f6a9
New crypto integrated -- going to be testing new identity address generation algo a bit more before finalizing.
|
11 anni fa |
Adam Ierymenko
|
ceb024ab03
Integrating new crypto, work still in progress...
|
11 anni fa |
Adam Ierymenko
|
3b2d98e7dc
Integrating new crypto -- work in progress, wont build yet.
|
11 anni fa |
Adam Ierymenko
|
487eb17ec0
ZeroTierOne for Windows binary project, builds and runs and mostly works but still some issues with tap.
|
11 anni fa |
Adam Ierymenko
|
5076c75b07
More Windows port work.
|
11 anni fa |
Adam Ierymenko
|
b342f56bec
Network constructor deuglification, remove unused old encrypt/decrypt methods from Identity.
|
11 anni fa |