MagickCore 7.0.10
hmac.h
Go to the documentation of this file.
1/*
2 Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 https://imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 Wizard's Toolkit secure hash algorithm methods.
17*/
18#ifndef _MAGICK_HMAC_H
19#define _MAGICK_HMAC_H
20
21#include "wizard/hash.h"
22
23#if defined(__cplusplus) || defined(c_plusplus)
24extern "C" {
25#endif
26
27typedef struct _HMACInfo
29
33
34extern WizardExport const StringInfo
35 *GetHMACDigest(const HMACInfo *);
36
37extern WizardExport size_t
39
40extern WizardExport void
46
47#if defined(__cplusplus) || defined(c_plusplus)
48}
49#endif
50
51#endif
HashType
Definition hash.h:28
WizardExport void ResetHMAC(HMACInfo *)
WizardExport void ConstructHMAC(HMACInfo *, const StringInfo *, const StringInfo *)
WizardExport size_t GetHMACDigestsize(const HMACInfo *)
Definition hmac.c:280
WizardExport HMACInfo * AcquireHMACInfo(const HashType)
WizardExport const StringInfo * GetHMACDigest(const HMACInfo *)
Definition hmac.c:250
WizardExport void UpdateHMAC(HMACInfo *, const StringInfo *)
Definition hmac.c:399
WizardExport void FinalizeHMAC(HMACInfo *)
WizardExport HMACInfo * DestroyHMACInfo(HMACInfo *)
Definition hmac.c:174
WizardExport void InitializeHMAC(HMACInfo *, const StringInfo *)
#define WizardExport