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 * | ) |
References CipherDomain, GetWizardModule, LogWizardEvent(), RelinquishWizardMemory(), _TwofishInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by DestroyCipherInfo().
| WizardExport void EncipherTwofishBlock | ( | TwofishInfo * | , | |
| const unsigned char * | , | |||
| unsigned char * | ||||
| ) |
| WizardExport unsigned int GetTwofishBlocksize | ( | const TwofishInfo * | ) |
References _TwofishInfo::blocksize, CipherDomain, GetWizardModule, LogWizardEvent(), _TwofishInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by AcquireCipherInfo().
| WizardExport void SetTwofishKey | ( | TwofishInfo * | , | |
| const StringInfo * | ||||
| ) |
References CipherDomain, GetStringInfoDatum(), GetStringInfoLength(), GetWizardModule, K128, K192, K256, LogWizardEvent(), MaximumTwofishKeyLength, Min, ResetWizardMemory(), _TwofishInfo::sbox, Sbox, _TwofishInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by SetCipherKey().
1.7.1