- 15 Apr, 2016 1 commit
-
-
Nick Mathewson authored
-
- 06 Apr, 2016 1 commit
-
-
Nick Mathewson authored
Yes, we could cast to unsigned char first, but it's probably safest to just use our own (in test_util), or remove bad-idea features that we don't use (in readpassphrase.c). Fixes 18728.
-
- 24 Feb, 2016 1 commit
-
-
teor (Tim Wilson-Brown) authored
-
- 22 Feb, 2016 1 commit
-
-
Nick Mathewson authored
-
- 20 Dec, 2015 1 commit
-
-
Nick Mathewson authored
-
- 19 Dec, 2015 2 commits
-
-
Yawning Angel authored
This is where things get tor specific. It's just replacing stdint.h and memset_s with the tor compat code so going back is trivial...
-
Yawning Angel authored
The digest routines use init/update/sum, where sum will automatically copy the internal state to support calculating running digests. The XOF routines use init/absorb/squeeze, which behave exactly as stated on the tin.
-
- 18 Dec, 2015 1 commit
-
-
https://github.com/coruus/keccak-tinyYawning Angel authored
As of commit: 64b6647514212b76ae7bca0dea9b7b197d1d8186
-
- 15 Dec, 2015 1 commit
-
-
This patch was generated using; sed -i -e "s/\bINLINE\b/inline/" src/*/*.[ch] src/*/*/*.[ch]
-
- 08 Dec, 2015 1 commit
-
-
Nick Mathewson authored
(before using it for anything besides feeding the PRNG) Part of #17694
-
- 01 Dec, 2015 1 commit
-
-
Jeremy authored
ext/eventdns.c multiple replacements of snprintf() with tor_snprintf() which always null terminates and returns -1 if result is truncated.
-
- 05 Nov, 2015 1 commit
-
-
Yawning Angel authored
Code cribbed from Andrew Moon's Public Domain SipHash-2-4 implementation (which IMO is also cleaner). Fixes bug 17544.
-
- 16 Sep, 2015 1 commit
-
-
Sebastian Hahn authored
This removes a comment presumably introduced for debugging that was left in accidentally. Bug not in any released version of Tor. Fixes bug 17092.
-
- 04 Sep, 2015 1 commit
-
-
Nick Mathewson authored
Apparently this only happens with clang (or with some particular clang versions), and only on i386. Fixes 16970; bug not in any released Tor. Found by Teor; fix from Yawning.
-
- 01 Sep, 2015 1 commit
-
-
Nick Mathewson authored
-
- 18 Aug, 2015 1 commit
-
-
Nick Mathewson authored
-
- 17 Aug, 2015 2 commits
-
-
Yawning Angel authored
This should fix the x86 build, since variables that require 16 byte alignment will now actually be 16 byte aligned.
-
Yawning Angel authored
This probably requires the user to manually set CFLAGS, but should result in a net gain on 32 bit x86. Enabling SSE2 support would be possible on x86_64, but will result in slower performance. Implements feature #16535.
-
- 12 Aug, 2015 1 commit
-
-
Yawning Angel authored
The code was always in our Ed25519 wrappers, so enable it when using the ed25519-donna backend, and deal with the mocking related crypto_rand silliness. Implements feature 16533.
-
- 27 Jul, 2015 1 commit
-
-
Yawning Angel authored
The only reason 16 byte alignment is required is for SSE2 load and store operations, so only align datastructures to 16 byte boundaries when building with SSE2 support. This fixes builds with GCC SSP on platforms that don't have special case code to do dynamic stack re-alignment (everything not x86/x86_64). Fixes bug #16666.
-
- 23 Jul, 2015 1 commit
-
-
Nick Mathewson authored
-
- 12 Jul, 2015 4 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This was causing a false positive on our arm builders.
-
- 09 Jul, 2015 1 commit
-
-
Nick Mathewson authored
-
- 06 Jul, 2015 4 commits
-
-
Yawning Angel authored
This needs to be done to allow for the possibility of removing the ref10 code at a later date, though it is not performance critical. When integrated by kludging it into tor, it passes unit tests, and is twice as fast.
-
Yawning Angel authored
Integrating it the "wrong" way into common/crypto_ed25519.c passes `make check`, and there appear to be some known answer tests for this, so I assume I got it right. Blinding a public key goes from 139.10 usec to 70.78 usec using ed25519-donna (NB: Turboboost/phase of moon), though the code isn't critical path, so supporting it is mostly done for completeness.
-
Yawning Angel authored
Integrate ed25519-donna into the build process, and provide an interface that matches the `ref10` code. Apart from the blinding and Curve25519 key conversion, this functions as a drop-in replacement for ref10 (verified by modifying crypto_ed25519.c). Tests pass, and the benchmarks claim it is quite a bit faster, however actually using the code requires additional integration work.
-
Yawning Angel authored
This is a clean copy of ed25519-donna as of commit: 8757bd4cd209cb032853ece0ce413f122eef212c https://github.com/floodyberry/ed25519-donna
-
- 28 Jun, 2015 1 commit
-
-
Nick Mathewson authored
-
- 27 Jun, 2015 1 commit
-
-
Nick Mathewson authored
-
- 17 Jun, 2015 2 commits
-
-
Nick Mathewson authored
This way glibc users don't have to fall back to getpass. Windows users are still out of luck
-
Nick Mathewson authored
This is taken verbatim from openssh 6.8p1, which appears to have lightly tweaked it from the openbsd version.
-
- 28 May, 2015 1 commit
-
-
Nick Mathewson authored
This gets the minor change in trunnel 1.4.1, which should avoid deadcode warnings from Coverity.
-
- 23 Mar, 2015 1 commit
-
-
The compiler is allowed to assume that a "uint64_t *" is aligned correctly, and will inline a version of memcpy that acts as such. Use "uint8_t *", so the compiler does the right thing.
-
- 14 Mar, 2015 1 commit
-
-
The paths are already in the directory search path of the compiler therefore no need to include them in the source code.
-
- 17 Feb, 2015 1 commit
-
-
Nick Mathewson authored
CID 1064418
-
- 29 Jan, 2015 1 commit
-
-
Nick Mathewson authored
(patch from sysrqb)
-
- 02 Jan, 2015 1 commit
-
-
Nick Mathewson authored
-