4 #ifndef _INC_cRandomTest_H
5 #define _INC_cRandomTest_H
34 static HRESULT block_cipher_df(BYTE* output,
const BYTE*
data,
size_t data_len);
Using X files without the sources and the makefile How to use you just create a debug directory e the sample3 directory must contain Sample3 Final Sample3 exe Sample3 Final Debug Sample3 Final Gfx OpenGL bmp Sample3 Final Gfx tiny_skin bmp Sample3 Final Gfx tiny_4anim x The source files have the DevCpp project file plus the makefile The demos use standard FreeGlut functions Technical without warranty Neither Paul Coppens nor GameDev net make any or either express or with respect to the their or fitness for a specific purpose neither Paul Coppens nor GameDev net shall have any liability to you or any other person or entity with respect to any or damage caused or alleged to have been caused directly or indirectly by the programs provided by Paul Coppens and GameDev net This but is not limited interruption of loss of data
Definition: Readme.txt:39
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cCipherAES.h:53
Definition: cRandomDSA.h:21
Definition: cRandomTest.h:14
static const int k_CTR_DRBG_BLOCKSIZE
Block size used by the cipher.
Definition: cRandomTest.h:26
static const int k_CTR_DRBG_KEYSIZE
Key size used by the cipher.
Definition: cRandomTest.h:27
cCipherAES m_aes_ctx
AES context.
Definition: cRandomTest.h:21
HRESULT ctr_drbg_reseed(const BYTE *pAddData, size_t len)
Definition: cRandomTest.cpp:173
static const int k_CTR_DRBG_SEEDLEN
The seed length (counter + AES key)
Definition: cRandomTest.h:28
cRandomTest() noexcept
Definition: cRandomTest.h:37
~cRandomTest() noexcept
Definition: cRandomTest.h:42
BYTE counter[16]
counter (V)
Definition: cRandomTest.h:22
HRESULT InitRandomTest(IRandomNoise *pRand, const BYTE *pUserData, size_t len)
Definition: cRandomTest.cpp:39
virtual HRESULT GetNoise(void *pData, size_t nSize) override
Definition: cRandomTest.cpp:216
UNITTEST_FRIEND(cRandomTest)
static const int k_CTR_DRBG_MAX_SEED_INPUT
Maximum size of (re)seed buffer.
Definition: cRandomTest.h:24
void ctr_drbg_update(const BYTE *pAddData, size_t add_len)
CTR_DRBG update state.
Definition: cRandomTest.cpp:157
Definition: GraySSL.cpp:11
static void Zero(void *pData, size_t nSizeBlock) noexcept
Definition: cMem.h:100
static void ZeroSecure(void *pData, size_t nSizeBlock) noexcept
Definition: cMem.h:110