The unified diff between revisions [92f17752..] and [965528e6..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'include/cast128.h'

#
#
# patch "include/cast128.h"
#  from [0b02abd692a5d7e7c1cd7d6b0fb948d7d4ad4988]
#    to [3ab5011603389f700aa77e2b3b7d2529b8c3648e]
#
============================================================
--- include/cast128.h	0b02abd692a5d7e7c1cd7d6b0fb948d7d4ad4988
+++ include/cast128.h	3ab5011603389f700aa77e2b3b7d2529b8c3648e
@@ -1,6 +1,6 @@
 /*************************************************
 * CAST-128 Header File                           *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #ifndef BOTAN_CAST128_H__
@@ -13,7 +13,7 @@ namespace Botan {
 /*************************************************
 * CAST-128                                       *
 *************************************************/
-class CAST_128 : public BlockCipher
+class BOTAN_DLL CAST_128 : public BlockCipher
    {
    public:
       void clear() throw() { MK.clear(); RK.clear(); }
@@ -27,7 +27,10 @@ class CAST_128 : public BlockCipher

       static void key_schedule(u32bit[16], u32bit[4]);

-      static const u32bit S5[256], S6[256], S7[256], S8[256];
+      static const u32bit S5[256];
+      static const u32bit S6[256];
+      static const u32bit S7[256];
+      static const u32bit S8[256];

       SecureBuffer<u32bit, 16> MK, RK;
    };