|
cwist
Modern C web framework with libttak runtime
|
#include <stdint.h>#include <stddef.h>

Go to the source code of this file.
Functions | |
| uint64_t | siphash24 (const void *src, size_t len, const uint8_t key[16]) |
| Compute SipHash-2-4 over a byte range using a 16-byte secret key. | |
| void | cwist_generate_hash_seed (uint8_t key[16]) |
| Generates a random SipHash seed. | |
Generates a random SipHash seed.
Generates a random SipHash seed.
| key | Output buffer that receives the generated seed. |
Definition at line 223 of file siphash.c.
References cap.
Referenced by cwist_query_map_create_in_arena().
Compute SipHash-2-4 over a byte range using a 16-byte secret key.
siphash24: Computes a 64-bit hash using the SipHash-2-4 algorithm. @src: Pointer to the input data. @len: Length of the input data in bytes. @key: A 16-byte secret key (used as two 64-bit integers).
| src | Input bytes to hash. |
| len | Number of bytes in src. |
| key | 16-byte SipHash key. |
Definition at line 52 of file siphash.c.
References cap.
Referenced by cwist_flash_get(), cwist_query_map_delete(), cwist_query_map_get(), and cwist_query_map_set().