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/blowfish.h'
#
#
# patch "include/blowfish.h"
# from [ce356911dfbce9732c3ca883d89ca35e32fd239d]
# to [d910c2b54b87c511ac9f21f1254e72ed24e5fa82]
#
============================================================
--- include/blowfish.h ce356911dfbce9732c3ca883d89ca35e32fd239d
+++ include/blowfish.h d910c2b54b87c511ac9f21f1254e72ed24e5fa82
@@ -1,6 +1,6 @@
/*************************************************
* Blowfish Header File *
-* (C) 1999-2006 The Botan Project *
+* (C) 1999-2007 Jack Lloyd *
*************************************************/
#ifndef BOTAN_BLOWFISH_H__
@@ -13,7 +13,7 @@ namespace Botan {
/*************************************************
* Blowfish *
*************************************************/
-class Blowfish : public BlockCipher
+class BOTAN_DLL Blowfish : public BlockCipher
{
public:
void clear() throw();
@@ -26,8 +26,8 @@ class Blowfish : public BlockCipher
void key(const byte[], u32bit);
void generate_sbox(u32bit[], u32bit, u32bit&, u32bit&) const;
- static const u32bit PBOX[18], SBOX1[256], SBOX2[256],
- SBOX3[256], SBOX4[256];
+ static const u32bit PBOX[18];
+ static const u32bit SBOX[1024];
SecureBuffer<u32bit, 256> S1, S2, S3, S4;
SecureBuffer<u32bit, 18> P;