diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-03 13:33:33 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-16 08:25:59 -0400 |
commit | 7a5f15b6e00c4669fad63ccd23655d2176818c45 (patch) | |
tree | c8a78479597923965f17ee21809b21787ce85062 /src/common/crypto.h | |
parent | 148f0004e1c2092c856d8872b68dd76b048aa3b1 (diff) | |
download | tor-7a5f15b6e00c4669fad63ccd23655d2176818c45.tar.gz tor-7a5f15b6e00c4669fad63ccd23655d2176818c45.zip |
Improve test coverage of our strongest-rng code.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 682c4e3253..017c849097 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -317,6 +317,7 @@ void crypto_add_spaces_to_fp(char *out, size_t outlen, const char *in); #ifdef CRYPTO_PRIVATE STATIC int crypto_force_rand_ssleay(void); +STATIC int crypto_strongest_rand_raw(uint8_t *out, size_t out_len); #endif #endif |