|
WizardsToolkit
1.0.7
|

Go to the source code of this file.
Typedefs | |
| typedef struct _TwofishInfo | TwofishInfo |
Functions | |
| WizardExport TwofishInfo * | AcquireTwofishInfo (void) |
| WizardExport TwofishInfo * | DestroyTwofishInfo (TwofishInfo *) |
| WizardExport unsigned int | GetTwofishBlocksize (const TwofishInfo *) |
| WizardExport void | DecipherTwofishBlock (TwofishInfo *, const unsigned char *, unsigned char *) |
| WizardExport void | EncipherTwofishBlock (TwofishInfo *, const unsigned char *, unsigned char *) |
| WizardExport void | SetTwofishKey (TwofishInfo *, const StringInfo *) |
| typedef struct _TwofishInfo TwofishInfo |
| WizardExport TwofishInfo* AcquireTwofishInfo | ( | void | ) |
| WizardExport void DecipherTwofishBlock | ( | TwofishInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport TwofishInfo * DestroyTwofishInfo | ( | TwofishInfo * | ) |
Definition at line 245 of file twofish.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _TwofishInfo::signature, WizardSignature, and RelinquishWizardMemory().
Referenced by DestroyCipherInfo().
| WizardExport void EncipherTwofishBlock | ( | TwofishInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport unsigned int GetTwofishBlocksize | ( | const TwofishInfo * | ) |
Definition at line 374 of file twofish.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _TwofishInfo::signature, WizardSignature, and _TwofishInfo::blocksize.
Referenced by AcquireCipherInfo().
| WizardExport void SetTwofishKey | ( | TwofishInfo * | , |
| const StringInfo * | |||
| ) |
Definition at line 408 of file twofish.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _TwofishInfo::signature, WizardSignature, GetStringInfoDatum(), Min, GetStringInfoLength(), MaximumTwofishKeyLength, Sbox, _TwofishInfo::sbox, K256, K192, K128, and ResetWizardMemory().
Referenced by SetCipherKey().