diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-12 11:27:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-12 11:27:41 -0500 |
commit | f05820531a1e4bc5935609900f0067b2643f0529 (patch) | |
tree | facedda3318793bd1b5ec3c73fc60080dba5fe29 /src/ext/siphash.h | |
parent | f51df9bb93f889533e7480e6364899ce249fe45b (diff) | |
download | tor-f05820531a1e4bc5935609900f0067b2643f0529.tar.gz tor-f05820531a1e4bc5935609900f0067b2643f0529.zip |
csiphash: Add functions to take a global key.
Diffstat (limited to 'src/ext/siphash.h')
-rw-r--r-- | src/ext/siphash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ext/siphash.h b/src/ext/siphash.h index ff372bc5d4..964fe7df99 100644 --- a/src/ext/siphash.h +++ b/src/ext/siphash.h @@ -6,4 +6,7 @@ struct sipkey { }; uint64_t siphash24(const void *src, unsigned long src_sz, const struct sipkey *key); +void siphash_set_global_key(const struct sipkey *key); +uint64_t siphash24g(const void *src, unsigned long src_sz); + #endif |