PIVX Core  5.6.99
P2P Digital Currency
Functions
hash.cpp File Reference
#include "hash.h"
#include "crypto/common.h"
#include "crypto/hmac_sha512.h"
#include "crypto/scrypt.h"
Include dependency graph for hash.cpp:

Go to the source code of this file.

Functions

uint32_t ROTL32 (uint32_t x, int8_t r)
 
unsigned int MurmurHash3 (unsigned int nHashSeed, const std::vector< unsigned char > &vDataToHash)
 
void BIP32Hash (const ChainCode chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64])
 
void scrypt_hash (const char *pass, unsigned int pLen, const char *salt, unsigned int sLen, char *output, unsigned int N, unsigned int r, unsigned int p, unsigned int dkLen)
 

Function Documentation

◆ BIP32Hash()

void BIP32Hash ( const ChainCode  chainCode,
unsigned int  nChild,
unsigned char  header,
const unsigned char  data[32],
unsigned char  output[64] 
)

Definition at line 72 of file hash.cpp.

Here is the caller graph for this function:

◆ MurmurHash3()

unsigned int MurmurHash3 ( unsigned int  nHashSeed,
const std::vector< unsigned char > &  vDataToHash 
)

Definition at line 16 of file hash.cpp.

Here is the caller graph for this function:

◆ ROTL32()

uint32_t ROTL32 ( uint32_t  x,
int8_t  r 
)
inline

Definition at line 11 of file hash.cpp.

◆ scrypt_hash()

void scrypt_hash ( const char *  pass,
unsigned int  pLen,
const char *  salt,
unsigned int  sLen,
char *  output,
unsigned int  N,
unsigned int  r,
unsigned int  p,
unsigned int  dkLen 
)

Definition at line 82 of file hash.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: