aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-19Merge remote-tracking branch 'tor-github/pr/665'Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/659'Nick Mathewson
2019-02-19Merge branch 'maint-0.4.0'Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/704' into maint-0.4.0Nick Mathewson
2019-02-19Merge branch 'maint-0.4.0'Nick Mathewson
2019-02-19Merge branch 'bug29145_029' into maint-0.4.0Nick Mathewson
2019-02-19Fix a compiler warning on OpenBSDKris Katterjohn
malloc_options needs to be declared extern (and declaring it extern means we need to initialize it separately) Fixes bug 29145; bugfix on 0.2.9.3-alpha Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
2019-02-19Merge branch 'maint-0.4.0'Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/707' into maint-0.4.0Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/683'Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/694'Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/678'Nick Mathewson
2019-02-19Merge branch 'maint-0.4.0'Nick Mathewson
2019-02-19Merge branch 'bug28698_035' into maint-0.4.0Nick Mathewson
2019-02-19Add circuit time check before logging about relaxing circuit timeJosé M. Guisado
Signed-off-by: José M. Guisado <guigom@riseup.net>
2019-02-19Merge branch 'maint-0.4.0'Nick Mathewson
2019-02-19Merge remote-tracking branch 'tor-github/pr/701' into maint-0.4.0Nick Mathewson
2019-02-19Bump to 0.4.1.0-alpha-devtor-0.4.1.0-alpha-devNick Mathewson
2019-02-17fix a bootstrapping string typoRoger Dingledine
introduced in 85542ee5 next step is to fix it in torspec too
2019-02-17fix some of the typos in Maintaining.mdRoger Dingledine
2019-02-16Make test-slow compile with libeventNeel Chauhan
2019-02-14kist: When readding chans, check correct chan's sched_heap_idxMatt Traudt
Closes #29508 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-02-14Merge branch 'tor-github/pr/702'David Goulet
2019-02-14Merge branch 'maint-0.3.5'George Kadianakis
2019-02-14Merge branch 'tor-github/pr/689' into maint-0.3.5George Kadianakis
2019-02-14Merge branch 'maint-0.3.5'George Kadianakis
2019-02-14Merge branch 'tor-github/pr/536' into maint-0.3.5George Kadianakis
2019-02-14Add whitebox test for the long-output optimization of fast_rngNick Mathewson
2019-02-14Add test for crypto_fast_rng_get_double().Nick Mathewson
2019-02-14Add a test-rng program so we can pipe to dieharder.Nick Mathewson
2019-02-14Add a benchmark for our several PRNGs.Nick Mathewson
2019-02-14Implement a fast aes-ctr prngNick Mathewson
This module is currently implemented to use the same technique as libottery (later used by the bsds' arc4random replacement), using AES-CTR-256 as its underlying stream cipher. It's backtracking- resistant immediately after each call, and prediction-resistant after a while. Here's how it works: We generate psuedorandom bytes using AES-CTR-256. We generate BUFLEN bytes at a time. When we do this, we keep the first SEED_LEN bytes as the key and the IV for our next invocation of AES_CTR, and yield the remaining BUFLEN - SEED_LEN bytes to the user as they invoke the PRNG. As we yield bytes to the user, we clear them from the buffer. Every RESEED_AFTER times we refill the buffer, we mix in an additional SEED_LEN bytes from our strong PRNG into the seed. If the user ever asks for a huge number of bytes at once, we pull SEED_LEN bytes from the PRNG and use them with our stream cipher to fill the user's request.
2019-02-14Extract RNG tests into a new test moduleNick Mathewson
test_crypto.c is pretty big; it wouldn't hurt to split it up some more before I start adding stuff to the PRNG tests.
2019-02-14Extract the common body of our random-int functions into a macroNick Mathewson
This is the second part of refactoring the random-int-in-range code.
2019-02-14Disable unstable circuit padding unittest.George Kadianakis
until #29298 is implemented.
2019-02-13Merge remote-tracking branch 'tor-github/pr/699'Nick Mathewson
2019-02-13Merge remote-tracking branch 'tor-github/pr/674'Nick Mathewson
2019-02-13Merge branch 'maint-0.3.5'David Goulet
2019-02-13Merge branch 'tor-github/pr/651'David Goulet
2019-02-13Merge branch 'tor-github/pr/650' into maint-0.3.5David Goulet
2019-02-13changes: Add changes file for #26698juga0
2019-02-13dirvote: Add the bandwidth file digest in the votejuga0
2019-02-13test: Add test to get the digest of a bw filejuga0
2019-02-13bwauth: Add function to get the digest of a bw filejuga0
2019-02-12Merge branch 'tor-github/pr/690'David Goulet
2019-02-12Merge branch 'tor-github/pr/671'David Goulet
2019-02-12On windows, if we fail to load a consensus and it has a CRLF, retry.Nick Mathewson
Fixes bug 28614; bugfix on 0.4.0.1-alpha when we started mmapping the consensus.
2019-02-12Merge branch 'maint-0.3.5'Nick Mathewson
2019-02-12Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2019-02-12Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson