![]() |
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) | |
![]() | |
cRandomCombo () noexcept | |
virtual | ~cRandomCombo () |
HRESULT | AddRandomSource (IRandomNoise *pRandom, size_t nSizeMax) |
UNITTEST2_PREDEF (cRandomCombo) | |
Public Attributes | |
cHashSHA512Builder | m_hasher |
![]() | |
SOURCE_t | m_nSourceQty |
cRandomComboSource | m_source [k_nMaxSources] |
Additional Inherited Members | |
![]() | |
typedef BYTE | SOURCE_t |
![]() | |
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 |