aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_pow.c
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <beth@torproject.org>2023-03-08 19:35:44 -0800
committerMicah Elizabeth Scott <beth@torproject.org>2023-05-10 07:38:28 -0700
commit92f83347f7503a5494b88f9da8da8ed5c958b07e (patch)
tree4f84925ad6ea0b6d37eaacb90a4eb0dee7d6fc10 /src/feature/hs/hs_pow.c
parentdcb9c4df67d116dc16f5361c8e4cd6e21fbb9abf (diff)
downloadtor-92f83347f7503a5494b88f9da8da8ed5c958b07e.tar.gz
tor-92f83347f7503a5494b88f9da8da8ed5c958b07e.zip
test_crypto: add blake2b test vectors
I'm planning on swapping blake2b implementations, and this test is intended to prevent regressions. Right now blake2b is only used by hs_pow. Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_pow.c')
-rw-r--r--src/feature/hs/hs_pow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/hs/hs_pow.c b/src/feature/hs/hs_pow.c
index 8ca121762f..1cc8bcb6bd 100644
--- a/src/feature/hs/hs_pow.c
+++ b/src/feature/hs/hs_pow.c
@@ -9,7 +9,9 @@
typedef unsigned __int128 uint128_t;
+// TODO fixme
#include <blake2.h>
+
#include <stdio.h>
#include "ext/ht.h"