|
WizardsToolkit
1.0.7
|

Go to the source code of this file.
Typedefs | |
| typedef struct _SerpentInfo | SerpentInfo |
Functions | |
| WizardExport SerpentInfo * | AcquireSerpentInfo (void) |
| WizardExport SerpentInfo * | DestroySerpentInfo (SerpentInfo *) |
| WizardExport unsigned int | GetSerpentBlocksize (const SerpentInfo *) |
| WizardExport void | DecipherSerpentBlock (SerpentInfo *, const unsigned char *, unsigned char *) |
| WizardExport void | EncipherSerpentBlock (SerpentInfo *, const unsigned char *, unsigned char *) |
| WizardExport void | SetSerpentKey (SerpentInfo *, const StringInfo *) |
| typedef struct _SerpentInfo SerpentInfo |
| WizardExport SerpentInfo* AcquireSerpentInfo | ( | void | ) |
| WizardExport void DecipherSerpentBlock | ( | SerpentInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport SerpentInfo * DestroySerpentInfo | ( | SerpentInfo * | ) |
Definition at line 359 of file serpent.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _SerpentInfo::signature, WizardSignature, and RelinquishWizardMemory().
Referenced by DestroyCipherInfo().
| WizardExport void EncipherSerpentBlock | ( | SerpentInfo * | , |
| const unsigned char * | , | ||
| unsigned char * | |||
| ) |
| WizardExport unsigned int GetSerpentBlocksize | ( | const SerpentInfo * | ) |
Definition at line 603 of file serpent.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _SerpentInfo::signature, WizardSignature, and _SerpentInfo::blocksize.
Referenced by AcquireCipherInfo().
| WizardExport void SetSerpentKey | ( | SerpentInfo * | , |
| const StringInfo * | |||
| ) |
Definition at line 637 of file serpent.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, CipherDomain, _SerpentInfo::signature, WizardSignature, _SerpentInfo::crypt_key, GetStringInfoDatum(), Min, GetStringInfoLength(), MaximumSerpentKeyLength, Read32Bits, ChurnKey, EncipherSbox3, StoreKey, LoadKey, EncipherSbox4, EncipherSbox5, EncipherSbox6, EncipherSbox7, EncipherSbox0, EncipherSbox1, and EncipherSbox2.
Referenced by SetCipherKey().