![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <sha256.h>
Public Member Functions | |
CSHA256 () | |
CSHA256 & | Write (const unsigned char *data, size_t len) |
void | Finalize (unsigned char hash[OUTPUT_SIZE]) |
CSHA256 & | Reset () |
Static Public Attributes | |
static const size_t | OUTPUT_SIZE = 32 |
Private Attributes | |
uint32_t | s [8] |
unsigned char | buf [64] |
size_t | bytes |
CSHA256::CSHA256 | ( | ) |
Definition at line 136 of file sha256.cpp.
void CSHA256::Finalize | ( | unsigned char | hash[OUTPUT_SIZE] | ) |
Definition at line 167 of file sha256.cpp.
Referenced by CNode::CalculateKeyedNetGroup(), CMnemonic::Check(), CHMAC_SHA256::CHMAC_SHA256(), CHMAC_SHA256::Finalize(), CHash256::Finalize(), CHash160::Finalize(), and CMnemonic::FromData().
CSHA256 & CSHA256::Reset | ( | ) |
Definition at line 184 of file sha256.cpp.
Referenced by CHash256::Finalize(), CHash256::Reset(), and CHash160::Reset().
CSHA256 & CSHA256::Write | ( | const unsigned char * | data, |
size_t | len | ||
) |
Definition at line 141 of file sha256.cpp.
Referenced by CNode::CalculateKeyedNetGroup(), CMnemonic::Check(), CHMAC_SHA256::CHMAC_SHA256(), EvalScript(), Finalize(), CHMAC_SHA256::Finalize(), CHash256::Finalize(), CMnemonic::FromData(), CHMAC_SHA256::Write(), CHash256::Write(), and CHash160::Write().
|
private |
|
private |
Definition at line 17 of file sha256.h.
Referenced by Finalize(), Reset(), and Write().
|
static |
Definition at line 20 of file sha256.h.
Referenced by CHash256::Finalize(), and CHash160::Finalize().
|
private |