Added SILC Thread Queue API
[silc.git] / lib / silccrypt / cast5.c
index 995fc09bfd2e823bff82c9a0e07b70e2953b9675..9943e8d249094ea76fba99a72cf3cefe201964a5 100644 (file)
@@ -542,8 +542,7 @@ int cast5_setup(const unsigned char *key, int keylen, int num_rounds,
    return TRUE;
 }
 
-#define __ROL(x, y) ( (((unsigned long)(x)<<(unsigned long)((y)&31)) | (((unsigned long)(x)&0xFFFFFFFFUL)>>(unsigned long)(32-((y)&31)))) & 0xFFFFFFFFUL)
-
+#define __ROL(x, y) silc_rol(x, y)
 
 static inline SilcUInt32 FI(SilcUInt32 R, SilcUInt32 Km, SilcUInt32 Kr)
 {