aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-10 08:46:36 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-17 15:57:46 -0400
commit3a45f6ffe95d4c51e4ad4e14f468feb3f4bd6b1e (patch)
tree955117d03238f618d9f472ef884edbca26c05cdd /src/test/test.h
parent860b9a991879c5be2b32cf98766adf5fdd349d41 (diff)
downloadtor-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.h')
-rw-r--r--src/test/test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.h b/src/test/test.h
index 9abd46008d..b24163ed3d 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -212,6 +212,7 @@ extern struct testcase_t container_tests[];
extern struct testcase_t controller_tests[];
extern struct testcase_t controller_event_tests[];
extern struct testcase_t crypto_tests[];
+extern struct testcase_t crypto_ope_tests[];
extern struct testcase_t crypto_openssl_tests[];
extern struct testcase_t dir_tests[];
extern struct testcase_t dir_handle_get_tests[];