Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-14 | Extract RNG tests into a new test module | Nick 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-14 | Extract the common body of our random-int functions into a macro | Nick Mathewson | |
This is the second part of refactoring the random-int-in-range code. | |||
2019-02-06 | Extract numeric CSPRNG functions into a new module. | Nick Mathewson | |
Some of the code for getting a random value within a range wants to be shared between crypto_rand() and the new crypto_fast_rng() code. | |||
2019-02-06 | Remove extraneous #if/#endif wrapper in crypto_rand.c | Nick Mathewson | |
I don't know how this got here, but this kind of a wrapper only belongs in a header file. | |||
2019-02-06 | Code for anonymous mappings via mmap() or CreateFileMapping(). | Nick Mathewson | |
Using an anonymous mmap() is a good way to get pages that we can set kernel-level flags on, like minherit() or madvise() or mlock(). We're going to use that so that we can make uninheritable locked pages to store PRNG data. | |||
2019-02-05 | Merge branch 'maint-0.3.5' | Roger Dingledine | |
2019-02-05 | Merge branch 'maint-0.3.4' into maint-0.3.5 | Roger Dingledine | |
2019-02-05 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Roger Dingledine | |
2019-02-01 | Update Cargo.lock with new comment; suppress 29244. | Nick Mathewson | |
2019-01-24 | One more 32-bit clang warning | Nick Mathewson | |
2019-01-24 | Use tt_u64_op() in test_circuitpadding.c to fix compilation warnings | Nick Mathewson | |
Fixes bug 29169. | |||
2019-01-23 | Merge branch 'maint-0.3.5' | Nick Mathewson | |
2019-01-23 | Log an HSDesc we failed to parse at Debug loglevel | rl1987 | |
2019-01-22 | Merge branch 'bug29122' | Nick Mathewson | |
2019-01-22 | Fix intermittent failures of test_circuitpadding_wronghop(). | George Kadianakis | |
We fix it by disabling the scheduling of actual padding. Fixes #29122. | |||
2019-01-22 | Merge branch 'maint-0.3.5' | Nick Mathewson | |
2019-01-22 | Merge branch 'bug29042_035' into maint-0.3.5 | Nick Mathewson | |
2019-01-18 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2019-01-18 | Merge branch 'maint-0.2.9' into maint-0.3.3 | Nick Mathewson | |
2019-01-18 | Merge branch 'maint-0.3.5' | Nick Mathewson | |
2019-01-18 | Merge branch 'maint-0.3.4' into maint-0.3.5 | Nick Mathewson | |
2019-01-18 | Bump to 0.4.0.1-alpha-dev | Nick Mathewson | |
2019-01-17 | Better failure message on stochastic test failuretor-0.4.0.1-alpha | Nick Mathewson | |
2019-01-17 | Speed up the deterministic prng in test_prob_distr, by a lot. | Nick Mathewson | |
Using a single xof object and squeezing it repeatedly should make everything MUCH faster here. | |||
2019-01-17 | Merge remote-tracking branch 'tor-github/pr/645' | Nick Mathewson | |
2019-01-16 | Merge branch 'maint-0.3.5' | Nick Mathewson | |
2019-01-16 | Update and fix a couple of comments in meminfo.c | Kris Katterjohn | |
This fixes a typo and also notes that HW_PHYSMEM64 is defined on NetBSD (not just OpenBSD). Signed-off-by: Kris Katterjohn <katterjohn@gmail.com> | |||
2019-01-16 | Use HW_PHYSMEM instead of HW_USERMEM in get_total_system_memory_impl | Kris Katterjohn | |
The code checked for sysctl being available and HW_PHYSMEM being defined, but HW_USERMEM was actually being used with sysctl instead of HW_PHYSMEM. The case for OpenBSD, etc. use HW_PHYSMEM64 (which is obviously a 64-bit variant of HW_PHYSMEM) and the case for OSX uses HW_MEMSIZE (which appears to be a 64-bit variant of HW_PHYSMEM). Signed-off-by: Kris Katterjohn <katterjohn@gmail.com> | |||
2019-01-16 | Log more messages when failing to decode RSA keys | Nick Mathewson | |
We log these messages at INFO level, except when we are reading a private key from a file, in which case we log at WARN. This fixes a regression from when we re-wrote our PEM code to be generic between nss and openssl. Fixes bug 29042, bugfix on 0.3.5.1-alpha. | |||
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2019-01-16 | Bump copyright date to 2019. | Nick Mathewson | |
2019-01-16 | Bump to 0.4.0.1-alpha | Nick Mathewson | |
2019-01-14 | Merge remote-tracking branch 'asn-github/adaptive_padding-final' | Nick Mathewson | |
2019-01-14 | Merge branch 'maint-0.3.5' | Nick Mathewson | |
2019-01-14 | Rework rep_hist_log_link_protocol_counts() | rl1987 | |
2019-01-14 | Merge remote-tracking branch 'teor/bug29015' | Nick Mathewson | |
2019-01-14 | Rename TYPE to TRANSPORT in PT STATUS messages. | Alexander Færøy | |
See: https://bugs.torproject.org/28181 | |||
2019-01-11 | Merge branch 'bug28989_squashed' | Nick Mathewson | |
2019-01-11 | Fix a typo | rl1987 | |
2019-01-11 | Fix CID 1442277 | rl1987 | |
2019-01-11 | Actually close the stdout pipe on error in process_unix_exec | Kris Katterjohn | |
When cleaning up after an error in process_unix_exec, the stdin pipe was being double closed instead of closing both the stdin and stdout pipes. This occurred in two places. Signed-off-by: Kris Katterjohn <katterjohn@gmail.com> | |||
2019-01-11 | Merge branch 'maint-0.3.5' | Nick Mathewson | |
2019-01-11 | Merge remote-tracking branch 'tor-github/pr/563' into maint-0.3.5 | Nick Mathewson | |
2019-01-11 | Include the beginnings of a FAQ about which timer to use. | Nick Mathewson | |
2019-01-11 | Clarify immutability of global padding machine specs. | George Kadianakis | |
2019-01-11 | Fix wrong bases. | Taylor R Campbell | |
2019-01-11 | Add some more type checking. | Taylor R Campbell | |
NOTE: This commit breaks the build, because there was a mistake in an earlier change of exactly the sort that this is meant to detect! I'm leaving it broken for illustration. | |||
2019-01-11 | Use the distribution abstraction as an abstraction. | Taylor R Campbell | |
2019-01-11 | Move ceil call back into the geometric sampler. | Taylor R Campbell | |
Test exactly what the geometric sampler returns, because that's what the downstream callers of it are going to use. While here, also assert that the geometric sampler returns a positive integer. (Our geometric distribution is the one suported on {1, 2, 3, ...} that returns the number of trials before the first success, not the one supported on {0, 1, 2, ...} that returns the number of failures before the first success.) | |||
2019-01-11 | Fix more type redefinition errors. | Taylor R Campbell | |
In file included from ./src/core/or/or_circuit_st.h:12:0, from src/core/or/circuitlist.c:112: ./src/core/or/circuit_st.h:15:39: error: redefinition of typedef ‘circpad_machine_spec_t’ ./src/core/or/circuitpadding.h:572:3: note: previous declaration of ‘circpad_machine_spec_t’ was here ./src/core/or/circuit_st.h:16:40: error: redefinition of typedef ‘circpad_machine_state_t’ ./src/core/or/circuitpadding.h:517:3: note: previous declaration of ‘circpad_machine_state_t’ was here |