Commit History

Autor SHA1 Mensaxe Data
  Adam Ierymenko 4a5756e7fb cleanup %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko 8d2e20ede6 Get rid of __align stuff in Salsa20 -- not portable, does not seem to help much on newer chips. %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko 4f0fcc582e Refactor HttpClient a bit. %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko 49ef980ecf Scale back Salsa20 benchmark a bit to not take too long on slow boxes. %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko 12692c551e SSE optimized Salsa20 -- anywhere from 20% to 50% faster than plain C version %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko 7831c4bfef Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations. %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko abc82d6a52 IPC changes and SocketManager changes all build! %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko b5c3a92be2 Boring stuff: update dates in copyrights across all files. %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko 370dd6c4da Several things: %!s(int64=11) %!d(string=hai) anos
  Adam Ierymenko b59a7cf1d8 HTTP self-test. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 518410b7e0 HTTP client works! %!s(int64=12) %!d(string=hai) anos
  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. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko d496304bbf Put back rest of selftest. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 719dd2870d Self-test for certificate of membership. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko c89cdcc3fd Blech... moving on! %!s(int64=12) %!d(string=hai) anos
  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. %!s(int64=12) %!d(string=hai) anos
  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. %!s(int64=12) %!d(string=hai) anos
  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. %!s(int64=12) %!d(string=hai) anos
  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. %!s(int64=12) %!d(string=hai) anos
  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. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 0e43e5e8f2 Rest of work on new hashcash based identity scheme. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko b0187f4472 Hashcash-based identity, work in progress... committing to test speed on other boxes. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 141b858737 Self-test fixes for new packet armor/dearmor functions that combine old encrypt and MAC functions. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 903b5b4218 Add validation of known-good identity to selftest to check endian and similar issues across platforms. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko e376c6f6a9 New crypto integrated -- going to be testing new identity address generation algo a bit more before finalizing. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 300d26973a Test vectors for all new crypto. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 660f92b6a7 Add test vectors for ensuring identical C25519 operation across systems. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 09c8b4bbb3 More new crypto: Ed25519 signatures. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko 77965af288 Add new crypto: SHA512 and C25519 -- not integrated yet. %!s(int64=12) %!d(string=hai) anos
  Adam Ierymenko f3ad05347e Improve code security posture by replacing sprintf with a safer function. %!s(int64=12) %!d(string=hai) anos