diff options
author | Isis Lovecruft <isis@torproject.org> | 2018-04-18 19:16:32 +0000 |
---|---|---|
committer | Isis Lovecruft <isis@torproject.org> | 2018-04-18 19:16:35 +0000 |
commit | f17ace1460f0de50f32d28e8086fe11032d8cb3f (patch) | |
tree | cca7a3e1fb0eb0b4e593eccfa6c20458bc153d0b /src/common/crypto.h | |
parent | 809f6fae848f53d2096bef1b2e99bcc929872e2a (diff) | |
download | tor-f17ace1460f0de50f32d28e8086fe11032d8cb3f.tar.gz tor-f17ace1460f0de50f32d28e8086fe11032d8cb3f.zip |
crypto: Move declaration of crypto_init_siphash_key() into crypto.h.
On second thought, this is a global initialisation function and
doesn't conceptually have much to do with getting/using randomnesses.
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 dcec90314d..c773557310 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -38,6 +38,7 @@ typedef struct aes_cnt_cipher crypto_cipher_t; typedef struct crypto_dh_t crypto_dh_t; /* global state */ +int crypto_init_siphash_key(void); int crypto_early_init(void) ATTR_WUR; int crypto_global_init(int hardwareAccel, const char *accelName, |