mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Optimize code space and solve the Serpent issue (https://sourceforge.net/p/veracrypt/discussion/technical/thread/fb09633a/#6406) by removing key length parameter from serpent_set_key and twofish_set_key
This commit is contained in:
@@ -8,7 +8,8 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void serpent_set_key(const unsigned __int8 userKey[], int keylen, unsigned __int8 *ks);
|
||||
/* userKey is always 32-bytes long */
|
||||
void serpent_set_key(const unsigned __int8 userKey[], unsigned __int8 *ks);
|
||||
void serpent_encrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks);
|
||||
void serpent_decrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user