Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Member Functions | Private Attributes | List of all members
picosha2::hash256_one_by_one Class Reference

#include <picosha2.h>

Public Member Functions

 hash256_one_by_one ()
 
void init ()
 
template<typename RaIter >
void process (RaIter first, RaIter last)
 
void finish ()
 
template<typename OutIter >
void get_hash_bytes (OutIter first, OutIter last) const
 

Private Member Functions

void add_to_data_length (uint32_t n)
 
void write_data_bit_length (uint8_t *begin)
 

Private Attributes

std::vector< uint8_t > buffer_
 
uint32_t data_length_digits_ [4]
 
uint32_t h_ [8]
 

Detailed Description

Definition at line 196 of file picosha2.h.

Constructor & Destructor Documentation

picosha2::hash256_one_by_one::hash256_one_by_one ( )
inline

Definition at line 198 of file picosha2.h.

Member Function Documentation

void picosha2::hash256_one_by_one::add_to_data_length ( uint32_t  n)
inlineprivate

Definition at line 249 of file picosha2.h.

void picosha2::hash256_one_by_one::finish ( )
inline

Definition at line 219 of file picosha2.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename OutIter >
void picosha2::hash256_one_by_one::get_hash_bytes ( OutIter  first,
OutIter  last 
) const
inline

Definition at line 240 of file picosha2.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void picosha2::hash256_one_by_one::init ( )
inline

Definition at line 202 of file picosha2.h.

template<typename RaIter >
void picosha2::hash256_one_by_one::process ( RaIter  first,
RaIter  last 
)
inline

Definition at line 209 of file picosha2.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void picosha2::hash256_one_by_one::write_data_bit_length ( uint8_t *  begin)
inlineprivate

Definition at line 263 of file picosha2.h.

Member Data Documentation

std::vector<uint8_t> picosha2::hash256_one_by_one::buffer_
private

Definition at line 286 of file picosha2.h.

uint32_t picosha2::hash256_one_by_one::data_length_digits_[4]
private

Definition at line 287 of file picosha2.h.

uint32_t picosha2::hash256_one_by_one::h_[8]
private

Definition at line 288 of file picosha2.h.


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