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

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

#
#
# patch "include/cast256.h"
#  from [8b24141344cfad4ece191f27477163d4e24ae29a]
#    to [2a0689608d851aa9bd85a97dd38043fa89017a04]
#
============================================================
--- include/cast256.h	8b24141344cfad4ece191f27477163d4e24ae29a
+++ include/cast256.h	2a0689608d851aa9bd85a97dd38043fa89017a04
@@ -1,6 +1,6 @@
 /*************************************************
 * CAST-256 Header File                           *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #ifndef BOTAN_CAST256_H__
@@ -13,7 +13,7 @@ namespace Botan {
 /*************************************************
 * CAST-256                                       *
 *************************************************/
-class CAST_256 : public BlockCipher
+class BOTAN_DLL CAST_256 : public BlockCipher
    {
    public:
       void clear() throw() { MK.clear(); RK.clear(); }
@@ -24,11 +24,10 @@ class CAST_256 : public BlockCipher
       void enc(const byte[], byte[]) const;
       void dec(const byte[], byte[]) const;
       void key(const byte[], u32bit);
-      void round1(u32bit&, u32bit, u32bit, u32bit) const;
-      void round2(u32bit&, u32bit, u32bit, u32bit) const;
-      void round3(u32bit&, u32bit, u32bit, u32bit) const;
+
       static const u32bit KEY_MASK[192];
       static const byte   KEY_ROT[32];
+
       SecureBuffer<u32bit, 48> MK;
       SecureBuffer<byte, 48> RK;
    };