Integer type name change.
[silc.git] / lib / silccrypt / twofish.c
index b9036b4ef7e742baad81a0b9c2d17ffa6bc61bc8..cf929540a14352922cf751895928f1a3464bb4ba 100644 (file)
@@ -40,6 +40,7 @@ Mean:          378 cycles =    67.8 mbits/sec
 */
 
 #include "silcincludes.h"
+#include "twofish_internal.h"
 #include "twofish.h"
 
 /* 
@@ -50,7 +51,7 @@ Mean:          378 cycles =    67.8 mbits/sec
 
 SILC_CIPHER_API_SET_KEY(twofish)
 {
-  uint32 k[8];
+  SilcUInt32 k[8];
 
   SILC_GET_WORD_KEY(key, k, keylen);
   twofish_set_key((TwofishContext *)context, k, keylen);
@@ -78,7 +79,7 @@ SILC_CIPHER_API_CONTEXT_LEN(twofish)
 
 SILC_CIPHER_API_ENCRYPT_CBC(twofish)
 {
-  uint32 tiv[4];
+  SilcUInt32 tiv[4];
   int i;
 
   SILC_CBC_GET_IV(tiv, iv);
@@ -103,7 +104,7 @@ SILC_CIPHER_API_ENCRYPT_CBC(twofish)
 
 SILC_CIPHER_API_DECRYPT_CBC(twofish)
 {
-  uint32 tmp[4], tmp2[4], tiv[4];
+  SilcUInt32 tmp[4], tmp2[4], tiv[4];
   int i;
 
   SILC_CBC_GET_IV(tiv, iv);