Data Structures | Functions

hmac.c File Reference

#include "wizard/studio.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/hash.h"
#include "wizard/hmac.h"
#include "wizard/memory_.h"

Data Structures

struct  _HMACInfo

Functions

WizardExport HMACInfoAcquireHMACInfo (const HashType hash)
WizardExport void ConstructHMAC (HMACInfo *hmac_info, const StringInfo *key, const StringInfo *message)
WizardExport HMACInfoDestroyHMACInfo (HMACInfo *hmac_info)
WizardExport void FinalizeHMAC (HMACInfo *hmac_info)
WizardExport const StringInfoGetHMACDigest (const HMACInfo *hmac_info)
WizardExport size_t GetHMACDigestsize (const HMACInfo *hmac_info)
WizardExport void InitializeHMAC (HMACInfo *hmac_info, const StringInfo *key)
WizardExport void ResetHMAC (HMACInfo *hmac_info)
WizardExport void UpdateHMAC (HMACInfo *hmac_info, const StringInfo *message)

Function Documentation

WizardExport HMACInfo* AcquireHMACInfo ( const HashType  hash  ) 
WizardExport void ConstructHMAC ( HMACInfo hmac_info,
const StringInfo key,
const StringInfo message 
)
WizardExport HMACInfo* DestroyHMACInfo ( HMACInfo hmac_info  ) 
WizardExport void FinalizeHMAC ( HMACInfo hmac_info  ) 
WizardExport const StringInfo* GetHMACDigest ( const HMACInfo hmac_info  ) 
WizardExport size_t GetHMACDigestsize ( const HMACInfo hmac_info  ) 
WizardExport void InitializeHMAC ( HMACInfo hmac_info,
const StringInfo key 
)
WizardExport void ResetHMAC ( HMACInfo hmac_info  ) 
WizardExport void UpdateHMAC ( HMACInfo hmac_info,
const StringInfo message 
)