diff options
author | George Kadianakis <desnacked@riseup.net> | 2018-11-27 01:56:23 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-01-02 15:25:55 +0200 |
commit | 2ccf3268375cd46e8c948e94ba58e0d2f03fe722 (patch) | |
tree | a6a820abe9af9a65f7648c2fae8a36ff0d81d607 /src/lib/math/include.am | |
parent | 8ad497bb578b13c66489843905764a60545e6388 (diff) | |
download | tor-2ccf3268375cd46e8c948e94ba58e0d2f03fe722.tar.gz tor-2ccf3268375cd46e8c948e94ba58e0d2f03fe722.zip |
Implement and test probability distributions used by WTF-PAD.
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>
Diffstat (limited to 'src/lib/math/include.am')
-rw-r--r-- | src/lib/math/include.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/math/include.am b/src/lib/math/include.am index b088b3f3cc..6d65ce90a7 100644 --- a/src/lib/math/include.am +++ b/src/lib/math/include.am @@ -7,7 +7,8 @@ endif src_lib_libtor_math_a_SOURCES = \ src/lib/math/fp.c \ - src/lib/math/laplace.c + src/lib/math/laplace.c \ + src/lib/math/prob_distr.c src_lib_libtor_math_testing_a_SOURCES = \ @@ -17,4 +18,5 @@ src_lib_libtor_math_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) noinst_HEADERS += \ src/lib/math/fp.h \ - src/lib/math/laplace.h + src/lib/math/laplace.h \ + src/lib/math/prob_distr.h |