tlx
siphash.hpp File Reference
#include <tlx/define/attribute_fallthrough.hpp>
#include <tlx/math/bswap_le.hpp>
#include <tlx/math/rol.hpp>
#include <cstdint>
#include <cstdlib>
#include <string>

Go to the source code of this file.

Namespaces

 tlx
 

Macros

#define TLX_SIPCOMPRESS()
 

Functions

static uint64_t siphash_plain (const uint8_t key[16], const uint8_t *m, size_t len)
 
static uint64_t siphash (const uint8_t key[16], const uint8_t *msg, size_t size)
 
static uint64_t siphash (const uint8_t *msg, size_t size)
 
static uint64_t siphash (const char *msg, size_t size)
 
static uint64_t siphash (const std::string &str)
 
template<typename Type >
static uint64_t siphash (const Type &value)
 

Macro Definition Documentation

#define TLX_SIPCOMPRESS ( )