![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Command-line Tools ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] [ Search ] [ Sponsors: ] |
AcquireHMACInfo() allocate the HMACInfo structure. The format of the AcquireHMACInfo method is: HMACInfo *AcquireHMACInfo(const HashType hash) A description of each parameter follows: hashThe hash type. ConstructHMAC() constructs the HMAC digest. The format of the ConstructHMAC method is:
ConstructHMAC(HMACInfo *hmac_info,const StringInfo *key,
const StringInfo *message)
A description of each parameter follows: hmac_infoThe address of a structure of type HMACInfo. keyThe key. messageThe message. DestroyHMACInfo() zeros memory associated with the HMACInfo structure. The format of the DestroyHMACInfo method is: HMACInfo *DestroyHMACInfo(HMACInfo *hmac_info) A description of each parameter follows: hmac_infoThe cipher hmac_info. FinalizeHMAC() finalizes the HMAC message digest computation. The format of the FinalizeHMAC method is: FinalizeHMAC(HMACInfo *hmac_info) A description of each parameter follows: hmac_infoThe address of a structure of type HMACInfo. GetHMACDigest() returns the hmac digest. The format of the GetHMACDigest method is: const StringInfo *GetHMACDigest(const hmacInfo *hmac_info) A description of each parameter follows: hmac_infoThe hmac info. GetHMACDigestsize() returns the HMAC digest size. The format of the GetHMACDigestsize method is: unsigned int *GetHMACDigestsize(const HMACInfo *hmac_info) A description of each parameter follows: hmac_infoThe hmac info. IntializeHMAC() intializes the HMAC digest. The format of the DestroyHMACInfo method is: void InitializeHMACInfo(HMACInfo *hmac_info,const StringInfo *key) A description of each parameter follows: hmac_infoThe message authentication info. keyThe key. ResetHMAC() resets the HMAC message digest computation. The format of the ResetHMAC method is: ResetHMAC(HMACInfo *hmac_info) A description of each parameter follows: hmac_infoThe address of a structure of type HMACInfo. UpdateHMAC() updates the HMAC message digest. The format of the UpdateHMAC method is: UpdateHMAC(HMACInfo *hmac_info,const StringInfo *message) A description of each parameter follows: hmac_infoThe address of a structure of type HMACInfo. messageThe message |