Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
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-10 | Rename crypto_rand_uint32() -> crypto_rand_u32() | George Kadianakis | |
See https://github.com/torproject/tor/pull/624#discussion_r246453777 | |||
2019-01-02 | Implement and test probability distributions used by WTF-PAD. | George Kadianakis | |
This project introduces the prob_distr.c subsystem which implements all the probability distributions that WTF-PAD needs. It also adds unittests for all of them. Code and tests courtesy of Riastradh. Co-authored-by: Taylor R Campbell <campbell+tor@mumble.net> Co-authored-by: Mike Perry <mikeperry-git@torproject.org> | |||
2018-07-01 | File-level documentation for some of src/lib. | Nick Mathewson | |
2018-06-28 | Move floating-point math functions into a new lib/math | Nick Mathewson | |