|
WizardsToolkit
1.0.7
|
#include "wizard/hmac.h"

Go to the source code of this file.
Typedefs | |
| typedef struct _RandomInfo | RandomInfo |
Functions | |
| WizardExport double | GetPseudoRandomValue (RandomInfo *) |
| WizardExport double | GetRandomValue (RandomInfo *) |
| WizardExport RandomInfo * | AcquireRandomInfo (const HashType) |
| WizardExport RandomInfo * | DestroyRandomInfo (RandomInfo *) |
| WizardExport StringInfo * | GetRandomKey (RandomInfo *, const size_t) |
| WizardExport void | RandomComponentTerminus (void) |
| WizardExport void | SeedPseudoRandomGenerator (const unsigned long) |
| WizardExport void | SetRandomKey (RandomInfo *, const size_t, unsigned char *) |
| WizardExport void | SetRandomTrueRandom (const WizardBooleanType) |
| WizardExport WizardBooleanType | RandomComponentGenesis (void) |
| typedef struct _RandomInfo RandomInfo |
| WizardExport RandomInfo* AcquireRandomInfo | ( | const HashType | ) |
| WizardExport RandomInfo * DestroyRandomInfo | ( | RandomInfo * | ) |
Definition at line 289 of file random.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _RandomInfo::signature, WizardSignature, LockSemaphoreInfo(), _RandomInfo::semaphore, _RandomInfo::reservoir, DestroyStringInfo(), _RandomInfo::nonce, _RandomInfo::hmac_info, DestroyHMACInfo(), ResetWizardMemory(), _RandomInfo::seed, UnlockSemaphoreInfo(), DestroySemaphoreInfo(), and RelinquishWizardMemory().
Referenced by DestroyCipherInfo(), DestroyKeyInfo(), AcquireRandomInfo(), AsynchronousResourceComponentTerminus(), and DestroySecretInfo().
| WizardExport double GetPseudoRandomValue | ( | RandomInfo * | ) |
| WizardExport StringInfo* GetRandomKey | ( | RandomInfo * | , |
| const size_t | |||
| ) |
Definition at line 820 of file random.c.
References WizardAssert, CipherDomain, AcquireStringInfo(), SetRandomKey(), and GetStringInfoDatum().
Referenced by GenerateCipherNonce(), GenerateSessionKey(), AcquireRandomInfo(), AcquireUniqueFileResource(), and GenerateSecretKey().
| WizardExport double GetRandomValue | ( | RandomInfo * | ) |
Definition at line 852 of file random.c.
References SetRandomKey().
| WizardExport WizardBooleanType RandomComponentGenesis | ( | void | ) |
Definition at line 884 of file random.c.
References AcquireSemaphoreInfo(), random_semaphore, and WizardTrue.
Referenced by WizardsToolkitGenesis().
| WizardExport void RandomComponentTerminus | ( | void | ) |
| WizardExport void SeedPseudoRandomGenerator | ( | const unsigned long | ) |
| WizardExport void SetRandomKey | ( | RandomInfo * | , |
| const size_t | , | ||
| unsigned char * | |||
| ) |
| WizardExport void SetRandomTrueRandom | ( | const WizardBooleanType | ) |
Definition at line 1148 of file random.c.
References gather_true_random.