Bitcoin Core 30.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | Static Private Attributes | List of all members
SipHashState Class Reference

Shared SipHash internal state v[0..3], initialized from (k0, k1). More...

#include <siphash.h>

Public Member Functions

 SipHashState (uint64_t k0, uint64_t k1) noexcept
 

Public Attributes

std::array< uint64_t, 4 > v {}
 

Static Private Attributes

static constexpr uint64_t C0 {0x736f6d6570736575ULL}
 
static constexpr uint64_t C1 {0x646f72616e646f6dULL}
 
static constexpr uint64_t C2 {0x6c7967656e657261ULL}
 
static constexpr uint64_t C3 {0x7465646279746573ULL}
 

Detailed Description

Shared SipHash internal state v[0..3], initialized from (k0, k1).

Definition at line 15 of file siphash.h.

Constructor & Destructor Documentation

◆ SipHashState()

SipHashState::SipHashState ( uint64_t  k0,
uint64_t  k1 
)
inlineexplicitnoexcept

Definition at line 20 of file siphash.h.

Member Data Documentation

◆ C0

constexpr uint64_t SipHashState::C0 {0x736f6d6570736575ULL}
staticconstexprprivate

Definition at line 17 of file siphash.h.

◆ C1

constexpr uint64_t SipHashState::C1 {0x646f72616e646f6dULL}
staticprivate

Definition at line 17 of file siphash.h.

◆ C2

constexpr uint64_t SipHashState::C2 {0x6c7967656e657261ULL}
staticprivate

Definition at line 17 of file siphash.h.

◆ C3

constexpr uint64_t SipHashState::C3 {0x7465646279746573ULL}
staticprivate

Definition at line 17 of file siphash.h.

◆ v

std::array<uint64_t, 4> SipHashState::v {}

Definition at line 22 of file siphash.h.


The documentation for this class was generated from the following file: