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

Go to the source code of this file.
Typedefs | |
| typedef struct _HMACInfo | HMACInfo |
Functions | |
| WizardExport HMACInfo * | AcquireHMACInfo (const HashType) |
| WizardExport HMACInfo * | DestroyHMACInfo (HMACInfo *) |
| WizardExport const StringInfo * | GetHMACDigest (const HMACInfo *) |
| WizardExport size_t | GetHMACDigestsize (const HMACInfo *) |
| WizardExport void | ConstructHMAC (HMACInfo *, const StringInfo *, const StringInfo *) |
| WizardExport void | FinalizeHMAC (HMACInfo *) |
| WizardExport void | InitializeHMAC (HMACInfo *, const StringInfo *) |
| WizardExport void | ResetHMAC (HMACInfo *) |
| WizardExport void | UpdateHMAC (HMACInfo *, const StringInfo *) |
| WizardExport void ConstructHMAC | ( | HMACInfo * | , |
| const StringInfo * | , | ||
| const StringInfo * | |||
| ) |
Definition at line 174 of file hmac.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, _HMACInfo::signature, WizardSignature, _HMACInfo::final_nonce, DestroyStringInfo(), _HMACInfo::initial_nonce, _HMACInfo::digest, _HMACInfo::hash_info, DestroyHashInfo(), and RelinquishWizardMemory().
Referenced by GenerateSessionKey(), DestroyRandomInfo(), and DestroySecretInfo().
| WizardExport void FinalizeHMAC | ( | HMACInfo * | ) |
| WizardExport const StringInfo* GetHMACDigest | ( | const HMACInfo * | ) |
Definition at line 250 of file hmac.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, MACDomain, _HMACInfo::signature, WizardSignature, and _HMACInfo::digest.
Referenced by GenerateSessionKey(), AcquireRandomInfo(), SaveEntropyToReservoir(), SetRandomKey(), AuthenticateSecretKey(), and GenerateSecretKey().
| WizardExport size_t GetHMACDigestsize | ( | const HMACInfo * | ) |
Definition at line 280 of file hmac.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _HMACInfo::signature, WizardSignature, GetHashDigestsize(), and _HMACInfo::hash_info.
Referenced by AcquireRandomInfo(), and SetRandomKey().
| WizardExport void InitializeHMAC | ( | HMACInfo * | , |
| const StringInfo * | |||
| ) |
| WizardExport void ResetHMAC | ( | HMACInfo * | ) |
| WizardExport void UpdateHMAC | ( | HMACInfo * | , |
| const StringInfo * | |||
| ) |
Definition at line 399 of file hmac.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, _HMACInfo::signature, WizardSignature, UpdateHash(), and _HMACInfo::hash_info.
Referenced by ConstructHMAC(), and SetRandomKey().