X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fblowfish.c;h=fb3d8c8b65a8830cfeb728952225ad2f70bd27e1;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hp=cf6fe609400dec5ca0973db6d342cb1188b62abe;hpb=4a474e9a2bd781802b9adfc7cac1f32e5e1c4704;p=silc.git diff --git a/lib/silccrypt/blowfish.c b/lib/silccrypt/blowfish.c index cf6fe609..fb3d8c8b 100644 --- a/lib/silccrypt/blowfish.c +++ b/lib/silccrypt/blowfish.c @@ -34,6 +34,7 @@ */ #include "silcincludes.h" +#include "blowfish_internal.h" #include "blowfish.h" /* @@ -76,7 +77,7 @@ SILC_CIPHER_API_CONTEXT_LEN(blowfish) SILC_CIPHER_API_ENCRYPT_CBC(blowfish) { - uint32 tiv[4]; + SilcUInt32 tiv[4]; int i; SILC_CBC_GET_IV(tiv, iv); @@ -101,7 +102,7 @@ SILC_CIPHER_API_ENCRYPT_CBC(blowfish) SILC_CIPHER_API_DECRYPT_CBC(blowfish) { - uint32 tmp[4], tmp2[4], tiv[4]; + SilcUInt32 tmp[4], tmp2[4], tiv[4]; int i; SILC_CBC_GET_IV(tiv, iv); @@ -392,7 +393,7 @@ static u32 bf_sbox[256 * 4] = /* * Round loop unrolling macros, S is a pointer to a S-Box array - * organized in 4 uint32s at a row. + * organized in 4 SilcUInt32s at a row. */ #define GET32_3(x) (((x) & 0xff))