diff options
Diffstat (limited to 'src/ltc/ciphers/twofish/twofish.c')
-rw-r--r-- | src/ltc/ciphers/twofish/twofish.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ltc/ciphers/twofish/twofish.c b/src/ltc/ciphers/twofish/twofish.c index d444bb26..cbc85fad 100644 --- a/src/ltc/ciphers/twofish/twofish.c +++ b/src/ltc/ciphers/twofish/twofish.c @@ -11,7 +11,7 @@ @file twofish.c Implementation of Twofish by Tom St Denis */ -#include "tomcrypt.h" +#include "tomcrypt_private.h" #ifdef LTC_TWOFISH @@ -473,7 +473,7 @@ int twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmet const ulong32 *k; int r; #if !defined(LTC_TWOFISH_SMALL) && !defined(__GNUC__) - ulong32 *S1, *S2, *S3, *S4; + const ulong32 *S1, *S2, *S3, *S4; #endif LTC_ARGCHK(pt != NULL); @@ -547,7 +547,7 @@ int twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmet const ulong32 *k; int r; #if !defined(LTC_TWOFISH_SMALL) && !defined(__GNUC__) - ulong32 *S1, *S2, *S3, *S4; + const ulong32 *S1, *S2, *S3, *S4; #endif LTC_ARGCHK(pt != NULL); |