From ff26efb1c4b8530024dc9b42d75e39536ece6e11 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 12 Mar 2015 11:48:27 +0000 Subject: Externalize the state of a RFC 6979 nonce computation. This lets you amortize quite a few memory allocations (RNG, various BigInts, etc) over many nonce generations. Change generate_rfc6979_nonce to just instantiate one of these states, call the function once, and return. This doesn't have any additional overhead versus the previous implementation of this function. Fix HMAC_DRBG to correctly reset its state to its starting position when you call clear() on it. --- src/tests/tests.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tests/tests.h') diff --git a/src/tests/tests.h b/src/tests/tests.h index 43ed1dbd5..a51f6742f 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -34,7 +34,6 @@ size_t run_tests(const std::string& filename, bool clear_between_cb, std::function)> cb); -std::vector list_dir(const std::string& dir_path); size_t run_tests_in_dir(const std::string& dir, std::function fn); // Run a list of tests -- cgit v1.2.3