diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-06-13 21:13:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-06-13 21:13:37 +0000 |
commit | d21c0feb5ac510831d98bfbaa704c525bacea6bd (patch) | |
tree | 7f572176715e27a127f03052c2e30d80f06831f9 /src/common/crypto.h | |
parent | 33eeccd0a42ce5cd2ce492bc717d74e5e5ee916e (diff) | |
download | tor-d21c0feb5ac510831d98bfbaa704c525bacea6bd.tar.gz tor-d21c0feb5ac510831d98bfbaa704c525bacea6bd.zip |
Add RNG seeding
svn:r318
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 38b280d7f2..b71ed902fa 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -100,6 +100,7 @@ crypto_cipher_env_t *crypto_create_init_cipher(int cipher_type, char *key, char int crypto_SHA_digest(unsigned char *m, int len, unsigned char *digest); /* random numbers */ +int crypto_seed_rng(); int crypto_rand(unsigned int n, unsigned char *to); int crypto_pseudo_rand(unsigned int n, unsigned char *to); |