From fe3aca149191f2eac410caa7113fb6f7e0804d8c Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Fri, 6 Apr 2018 21:23:29 +0000 Subject: crypto: Refactor (P)RNG functionality into new crypto_rand module. * ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658 --- src/test/bench.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/bench.c') diff --git a/src/test/bench.c b/src/test/bench.c index 92d7a244f7..c99860acc9 100644 --- a/src/test/bench.c +++ b/src/test/bench.c @@ -23,6 +23,7 @@ #include "crypto_curve25519.h" #include "onion_ntor.h" #include "crypto_ed25519.h" +#include "crypto_rand.h" #include "consdiff.h" #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_PROCESS_CPUTIME_ID) -- cgit v1.2.3-54-g00ecf