diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-10 08:46:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-17 15:57:46 -0400 |
commit | 3a45f6ffe95d4c51e4ad4e14f468feb3f4bd6b1e (patch) | |
tree | 955117d03238f618d9f472ef884edbca26c05cdd /src/test/test.c | |
parent | 860b9a991879c5be2b32cf98766adf5fdd349d41 (diff) | |
download | tor-3a45f6ffe95d4c51e4ad4e14f468feb3f4bd6b1e.tar.gz tor-3a45f6ffe95d4c51e4ad4e14f468feb3f4bd6b1e.zip |
Implementation for a simple order-preserving encryption scheme.
This is meant for use when encrypting the current time within the
period in order to get a monotonically increasing revision counter
without actually revealing our view of the time.
This scheme is far from the most state-of-the-art: don't use it for
anything else without careful analysis by somebody much smarter than
I am.
See ticket #25552 for some rationale for this logic.
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 1a3f4f8eb2..baf9e05bee 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -861,6 +861,7 @@ struct testgroup_t testgroups[] = { { "control/", controller_tests }, { "control/event/", controller_event_tests }, { "crypto/", crypto_tests }, + { "crypto/ope/", crypto_ope_tests }, { "crypto/openssl/", crypto_openssl_tests }, { "dir/", dir_tests }, { "dir_handle_get/", dir_handle_get_tests }, |