|
OpenVPN
|
#include <stdlib.h>#include "syshead.h"#include "siphash.h"#include "buffer.h"#include "crypto.h"#include "list.h"
Go to the source code of this file.
Functions | |
| uint64_t | siphash_hash_func (const uint8_t *k, uint32_t length, const uint8_t hash_key[SIPHASH_KEY_SIZE]) |
| Wrapper of the siphash function to be able to use it in the hash map. | |
| uint64_t siphash_hash_func | ( | const uint8_t * | k, |
| uint32_t | length, | ||
| const uint8_t | hash_key[SIPHASH_KEY_SIZE] | ||
| ) |
Wrapper of the siphash function to be able to use it in the hash map.
| k | the data to hash |
| length | length of the data to hash |
| hash_key | the siphash key |
Definition at line 37 of file siphash.c.
References siphash().
Referenced by mroute_addr_hash_function(), and word_hash_function().