MagickCore 7.0.10
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"
Include dependency graph for hmac.c:

Go to the source code of this file.

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

◆ AcquireHMACInfo()

◆ ConstructHMAC()

WizardExport void ConstructHMAC ( HMACInfo hmac_info,
const StringInfo key,
const StringInfo message 
)

◆ DestroyHMACInfo()

◆ FinalizeHMAC()

◆ GetHMACDigest()

◆ GetHMACDigestsize()

WizardExport size_t GetHMACDigestsize ( const HMACInfo hmac_info)

◆ InitializeHMAC()

◆ ResetHMAC()

◆ UpdateHMAC()

WizardExport void UpdateHMAC ( HMACInfo hmac_info,
const StringInfo message 
)