|
MagickCore 7.0.10
|
Go to the source code of this file.
Typedefs | |
| typedef struct _SHA1Info | SHA1Info |
Functions | |
| WizardExport SHA1Info * | AcquireSHA1Info (void) |
| WizardExport SHA1Info * | DestroySHA1Info (SHA1Info *) |
| WizardExport const StringInfo * | GetSHA1Digest (const SHA1Info *) |
| WizardExport unsigned int | GetSHA1Blocksize (const SHA1Info *) |
| WizardExport unsigned int | GetSHA1Digestsize (const SHA1Info *) |
| WizardExport WizardBooleanType | InitializeSHA1 (SHA1Info *) |
| WizardExport WizardBooleanType | FinalizeSHA1 (SHA1Info *) |
| WizardExport WizardBooleanType | UpdateSHA1 (SHA1Info *, const StringInfo *) |
| WizardExport SHA1Info * AcquireSHA1Info | ( | void | ) |
| WizardExport SHA1Info * DestroySHA1Info | ( | SHA1Info * | sha_info | ) |
Definition at line 160 of file sha1.c.
References _SHA1Info::accumulator, DestroyStringInfo(), _SHA1Info::digest, GetWizardModule, LogWizardEvent(), _SHA1Info::message, RelinquishWizardMemory(), _SHA1Info::signature, TraceEvent, and WizardSignature.
Referenced by DestroyHashInfo().
| WizardExport WizardBooleanType FinalizeSHA1 | ( | SHA1Info * | ) |
| WizardExport unsigned int GetSHA1Blocksize | ( | const SHA1Info * | ) |
| WizardExport const StringInfo * GetSHA1Digest | ( | const SHA1Info * | sha1_info | ) |
Definition at line 322 of file sha1.c.
References _SHA1Info::digest, GetWizardModule, HashDomain, LogWizardEvent(), _SHA1Info::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by FinalizeHash().
| WizardExport unsigned int GetSHA1Digestsize | ( | const SHA1Info * | sha1_info | ) |
Definition at line 352 of file sha1.c.
References CipherDomain, _SHA1Info::digestsize, GetWizardModule, LogWizardEvent(), _SHA1Info::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by AcquireHashInfo(), and GetHashDigestsize().
| WizardExport WizardBooleanType InitializeSHA1 | ( | SHA1Info * | ) |
| WizardExport WizardBooleanType UpdateSHA1 | ( | SHA1Info * | sha_info, |
| const StringInfo * | message | ||
| ) |
Definition at line 592 of file sha1.c.
References CopyWizardMemory(), GetStringInfoDatum(), GetStringInfoLength(), _SHA1Info::high_order, _SHA1Info::low_order, _SHA1Info::message, _SHA1Info::offset, SetStringInfoDatum(), _SHA1Info::signature, TransformSHA1(), Trunc32, WizardSignature, and WizardTrue.
Referenced by UpdateHash().