![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include "serialize.h"#include "uint256.h"#include "version.h"#include <vector>#include <openssl/ripemd.h>#include <openssl/sha.h>
Include dependency graph for hash.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | CHashWriter |
| struct | HMAC_SHA512_CTX |
Functions | |
| template<typename T1 > | |
| uint256 | Hash (const T1 pbegin, const T1 pend) |
| template<typename T1 , typename T2 > | |
| uint256 | Hash (const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end) |
| template<typename T1 , typename T2 , typename T3 > | |
| uint256 | Hash (const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end, const T3 p3begin, const T3 p3end) |
| template<typename T > | |
| uint256 | SerializeHash (const T &obj, int nType=SER_GETHASH, int nVersion=PROTOCOL_VERSION) |
| template<typename T1 > | |
| uint160 | Hash160 (const T1 pbegin, const T1 pend) |
| uint160 | Hash160 (const std::vector< unsigned char > &vch) |
| unsigned int | MurmurHash3 (unsigned int nHashSeed, const std::vector< unsigned char > &vDataToHash) |
| int | HMAC_SHA512_Init (HMAC_SHA512_CTX *pctx, const void *pkey, size_t len) |
| int | HMAC_SHA512_Update (HMAC_SHA512_CTX *pctx, const void *pdata, size_t len) |
| int | HMAC_SHA512_Final (unsigned char *pmd, HMAC_SHA512_CTX *pctx) |
|
inline |
Definition at line 19 of file hash.h.
Referenced by CBlock::BuildMerkleTree(), CPartialMerkleTree::CalcHash(), CBlock::CheckMerkleBranch(), CAlert::CheckSignature(), DecodeBase58Check(), EncodeBase58Check(), CNode::EndMessage(), EvalScript(), CNetAddr::GetHash(), CAlert::GetHash(), CPubKey::GetHash(), CBlockHeader::GetHash(), CAddrInfo::GetNewBucket(), CAddrInfo::GetTriedBucket(), SignVerifyMessageDialog::on_signMessageButton_SM_clicked(), SignVerifyMessageDialog::on_verifyMessageButton_VM_clicked(), ProcessMessage(), ProcessMessages(), CAddrDB::Read(), ReadKeyValue(), SendMessages(), CPartialMerkleTree::TraverseAndExtract(), CAddrDB::Write(), and CWalletDB::WriteKey().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 112 of file hash.h.
Referenced by CWallet::AddCScript(), EvalScript(), CPubKey::GetID(), CScript::GetID(), and Hash160().
Here is the caller graph for this function:
|
inline |
| int HMAC_SHA512_Final | ( | unsigned char * | pmd, |
| HMAC_SHA512_CTX * | pctx | ||
| ) |
Definition at line 93 of file hash.cpp.
References HMAC_SHA512_CTX::ctxInner, and HMAC_SHA512_CTX::ctxOuter.
Referenced by BIP32Hash(), and CExtKey::SetMaster().
Here is the caller graph for this function:| int HMAC_SHA512_Init | ( | HMAC_SHA512_CTX * | pctx, |
| const void * | pkey, | ||
| size_t | len | ||
| ) |
Definition at line 60 of file hash.cpp.
References HMAC_SHA512_CTX::ctxInner, HMAC_SHA512_CTX::ctxOuter, and memcpy().
Referenced by BIP32Hash(), and CExtKey::SetMaster().
Here is the call graph for this function:
Here is the caller graph for this function:| int HMAC_SHA512_Update | ( | HMAC_SHA512_CTX * | pctx, |
| const void * | pdata, | ||
| size_t | len | ||
| ) |
Definition at line 88 of file hash.cpp.
References HMAC_SHA512_CTX::ctxInner.
Referenced by BIP32Hash(), and CExtKey::SetMaster().
Here is the caller graph for this function:| unsigned int MurmurHash3 | ( | unsigned int | nHashSeed, |
| const std::vector< unsigned char > & | vDataToHash | ||
| ) |
Definition at line 8 of file hash.cpp.
References ROTL32().
Referenced by CBloomFilter::Hash().
Here is the call graph for this function:
Here is the caller graph for this function:| uint256 SerializeHash | ( | const T & | obj, |
| int | nType = SER_GETHASH, |
||
| int | nVersion = PROTOCOL_VERSION |
||
| ) |
Definition at line 104 of file hash.h.
References CHashWriter::GetHash().
Referenced by CTxOut::GetHash(), and CTransaction::GetHash().
Here is the call graph for this function:
Here is the caller graph for this function:
1.8.8