aboutsummaryrefslogtreecommitdiff
path: root/src/ext/include.am
AgeCommit message (Collapse)Author
2016-07-04Raise libevent dependency to 2.0.10-stable or newerSebastian Hahn
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
2016-05-12Merge branch 'ftrapv_v3'Nick Mathewson
There were some conflicts here, and some breakage to fix concerning library link order in newer targets.
2016-05-12Add -ftrapv to gcc-hardening ... mostly!Nick Mathewson
We know there are overflows in curve25519-donna-c32, so we'll have to have that one be fwrapv. Only apply the asan, ubsan, and trapv options to the code that does not need to run in constant time. Those options introduce branches to the code they instrument. (These introduced branches should never actually be taken, so it might _still_ be constant time after all, but branch predictors are complicated enough that I'm not really confident here. Let's aim for safety.) Closes 17983.
2016-05-11fix 'make dist' which was broken by ticket 18365's mergeRoger Dingledine
2016-05-09Add wrappers to tie the new timeouts into libevent.Nick Mathewson
2016-04-15Add timeouts to libor-event.aNick Mathewson
2016-04-15Import timeouts.c directly from William Ahern's git.Nick Mathewson
Imported from here: https://github.com/wahern/timeout Imported as of upstream e5a9e8bfaa9c631bdc54002181795931b65bdc1a. All sources unmodified.
2015-12-20Repair "make distcheck".Nick Mathewson
2015-12-19Use tor specific headers and memwipe() instead of memset_s(), and build.Yawning Angel
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...
2015-07-09Repair make dist-checkNick Mathewson
2015-07-06Integrate ed25519-donna (Not yet used).Yawning Angel
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.
2015-06-27Fix some compilation issues.Nick Mathewson
2015-06-17Add readpassphrase.c in src/extNick Mathewson
This is taken verbatim from openssh 6.8p1, which appears to have lightly tweaked it from the openbsd version.
2014-09-29Automake syntax error :/Nick Mathewson
2014-09-29Add missing ed25519_ref10 headers to NOINST_HEADERS.Nick Mathewson
2014-09-25Draft implementation for ed25519 key blinding, as in prop224Nick Mathewson
This implementation allows somebody to add a blinding factor to a secret key, and a corresponding blinding factor to the public key. Robert Ransom came up with this idea, I believe. Nick Hopper proved a scheme like this secure. The bugs are my own.
2014-09-25Add curve25519->ed25519 key conversion per proposal 228Nick Mathewson
For proposal 228, we need to cross-certify our identity with our curve25519 key, so that we can prove at descriptor-generation time that we own that key. But how can we sign something with a key that is only for doing Diffie-Hellman? By converting it to the corresponding ed25519 point. See the ALL-CAPS warning in the documentation. According to djb (IIUC), it is safe to use these keys in the ways that ntor and prop228 are using them, but it might not be safe if we start providing crazy oracle access. (Unit tests included. What kind of a monster do you take me for?)
2014-09-25Add Ed25519 support, wrappers, and tests.Nick Mathewson
Taken from earlier ed25519 branch based on floodyberry's ed25519-donna. Tweaked so that it applies to ref10 instead.
2014-08-26Integrate ed25519_ref10 into our build system.Nick Mathewson
2014-02-12Get csiphash better integrated with our build systemNick Mathewson
2012-10-12Add a copy of OpenBSD's sys/queue.h as tor_queue.hNick Mathewson
There are as many divergent implementations of sys/queue.h as there are operating systems shipping it, it would seem. They have some code in common, but have drifted apart, and have added other stuff named differently. So I'm taking a relatively sane one, and hoping for the best. I'm taking OpenBSD's in particular because of the lack of external dependencies, the presence of a CIRCLEQ (we could use one of those in places), and the liberal licensing terms. I'm naming the file tor_queue.h, since historically we've run into trouble having headers with the same names as system headers (log.h, for example.)
2012-10-12Move strlcpy and strlcat into src/ext tooNick Mathewson
2012-10-12Distribute src/ext/README.Nick Mathewson
2012-10-11Move all externally maintained source files into src/extNick Mathewson
The rationale for treating these files differently is that we should be checking upstream for changes as applicable, and merging changes upstream as warranted.