|
WizardsToolkit
1.0.7
|

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 * | |||
| ) |
Definition at line 473 of file aes.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _AESInfo::signature, WizardSignature, _AESInfo::decipher_key, RelinquishWizardMemory(), _AESInfo::encipher_key, _AESInfo::key, and DestroyStringInfo().
Referenced by DestroyCipherInfo().
| WizardExport void EncipherAESBlock | ( | AESInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport unsigned int GetAESBlocksize | ( | const AESInfo * | ) |
Definition at line 651 of file aes.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _AESInfo::signature, WizardSignature, and _AESInfo::blocksize.
Referenced by AcquireCipherInfo().
| WizardExport void SetAESKey | ( | AESInfo * | , |
| const StringInfo * | |||
| ) |
Definition at line 720 of file aes.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _AESInfo::signature, WizardSignature, _AESInfo::rounds, GetStringInfoLength(), GetStringInfoDatum(), _AESInfo::key, ResetWizardMemory(), CopyWizardMemory(), Min, _AESInfo::encipher_key, AESBlocksize, ByteSubTransform(), RotateRight(), SBox, XTime(), _AESInfo::decipher_key, and InverseAddRoundKey().
Referenced by SetCipherKey().