tlx
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>

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)
 
template<typename Type >
static uint64_t siphash (const Type &value)
 

Macro Definition Documentation

#define TLX_SIPCOMPRESS ( )