![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRandomTestHash.h>
Public Member Functions | |
| cRandomTestHash () | |
| ~cRandomTestHash () | |
| virtual HRESULT | GetNoise (void *pData, size_t nSize) override |
| fill array with random bytes. return # bytes filled. More... | |
| HRESULT | UnitTestData (const BYTE *data, size_t len) |
| UNITTEST_FRIEND (cRandomTestHash) | |
Public Member Functions inherited from GrayLib::cRandomCombo | |
| cRandomCombo () noexcept | |
| virtual | ~cRandomCombo () |
| HRESULT | AddRandomSource (IRandomNoise *pRandom, size_t nSizeMax) |
| UNITTEST2_PREDEF (cRandomCombo) | |
Public Attributes | |
| cHashSHA512Builder | m_hasher |
Public Attributes inherited from GrayLib::cRandomCombo | |
| SOURCE_t | m_nSourceQty |
| cRandomComboSource | m_source [k_nMaxSources] |
Additional Inherited Members | |
Public Types inherited from GrayLib::cRandomCombo | |
| typedef BYTE | SOURCE_t |
Static Public Attributes inherited from GrayLib::cRandomCombo | |
| static const SOURCE_t | k_nMaxSources = 8 |
Combine low level random generators. For testing.
| GraySSL::cRandomTestHash::cRandomTestHash | ( | ) |
| GraySSL::cRandomTestHash::~cRandomTestHash | ( | ) |
|
overridevirtual |
fill array with random bytes. return # bytes filled.
< Maximum amount to loop before error
Implements Gray::IRandomNoise.
| GraySSL::cRandomTestHash::UNITTEST_FRIEND | ( | cRandomTestHash | ) |
| HRESULT GraySSL::cRandomTestHash::UnitTestData | ( | const BYTE * | data, |
| size_t | len | ||
| ) |
Add data to the accumulator manually for testing.
| cHashSHA512Builder GraySSL::cRandomTestHash::m_hasher |