mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Optimize performance of Twofish C implementation.
This commit is contained in:
@@ -35,11 +35,12 @@ extern "C"
|
||||
typedef struct
|
||||
{
|
||||
u4byte l_key[40];
|
||||
#ifdef TC_MINIMIZE_CODE_SIZE
|
||||
u4byte s_key[4];
|
||||
#endif
|
||||
#if !defined (TC_MINIMIZE_CODE_SIZE) || defined (TC_WINDOWS_BOOT_TWOFISH)
|
||||
u4byte mk_tab[4 * 256];
|
||||
#endif
|
||||
u4byte k_len;
|
||||
} TwofishInstance;
|
||||
|
||||
#define TWOFISH_KS sizeof(TwofishInstance)
|
||||
|
||||
Reference in New Issue
Block a user