|
MagickCore 7.0.10
|
Go to the source code of this file.
Typedefs | |
| typedef struct _AESInfo | AESInfo |
Functions | |
| WizardExport AESInfo * | AcquireAESInfo (void) |
| WizardExport AESInfo * | DestroyAESInfo (AESInfo *) |
| WizardExport unsigned int | GetAESBlocksize (const AESInfo *) |
| WizardExport void | DecipherAESBlock (AESInfo *, const unsigned char *, unsigned char *) |
| WizardExport void | EncipherAESBlock (AESInfo *, const unsigned char *, unsigned char *) |
| WizardExport void | SetAESKey (AESInfo *, const StringInfo *) |
| WizardExport AESInfo * AcquireAESInfo | ( | void | ) |
| WizardExport void DecipherAESBlock | ( | AESInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport AESInfo * DestroyAESInfo | ( | AESInfo * | aes_info | ) |
Definition at line 475 of file aes.c.
References CipherDomain, _AESInfo::decipher_key, DestroyStringInfo(), _AESInfo::encipher_key, GetWizardModule, _AESInfo::key, LogWizardEvent(), RelinquishWizardMemory(), _AESInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by DestroyCipherInfo().
| WizardExport void EncipherAESBlock | ( | AESInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport unsigned int GetAESBlocksize | ( | const AESInfo * | aes_info | ) |
Definition at line 653 of file aes.c.
References _AESInfo::blocksize, CipherDomain, GetWizardModule, LogWizardEvent(), _AESInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by AcquireCipherInfo().
| WizardExport void SetAESKey | ( | AESInfo * | aes_info, |
| const StringInfo * | key | ||
| ) |
Definition at line 722 of file aes.c.
References AESBlocksize, ByteSubTransform(), CipherDomain, CopyWizardMemory(), _AESInfo::decipher_key, _AESInfo::encipher_key, GetStringInfoDatum(), GetStringInfoLength(), GetWizardModule, InverseAddRoundKey(), _AESInfo::key, LogWizardEvent(), Min, ResetWizardMemory(), RotateRight, _AESInfo::rounds, SBox, _AESInfo::signature, TraceEvent, WizardAssert, WizardSignature, and XTime().
Referenced by SetCipherKey().