The unified diff between revisions [92f17752..] and [439c12c5..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/arc4.h'
#
#
# patch "include/arc4.h"
# from [7c4390562e4ef982824e249298873a59d25c266e]
# to [01b224e18d457df1b42a24b30fee9a937dd84f13]
#
============================================================
--- include/arc4.h 7c4390562e4ef982824e249298873a59d25c266e
+++ include/arc4.h 01b224e18d457df1b42a24b30fee9a937dd84f13
@@ -1,6 +1,6 @@
/*************************************************
* ARC4 Header File *
-* (C) 1999-2006 The Botan Project *
+* (C) 1999-2008 Jack Lloyd *
*************************************************/
#ifndef BOTAN_ARC4_H__
@@ -13,7 +13,7 @@ namespace Botan {
/*************************************************
* ARC4 *
*************************************************/
-class ARC4 : public StreamCipher
+class BOTAN_DLL ARC4 : public StreamCipher
{
public:
void clear() throw();
@@ -25,8 +25,10 @@ class ARC4 : public StreamCipher
void cipher(const byte[], byte[], u32bit);
void key(const byte[], u32bit);
void generate();
+
const u32bit SKIP;
- SecureBuffer<byte, 1024> buffer;
+
+ SecureBuffer<byte, DEFAULT_BUFFERSIZE> buffer;
SecureBuffer<u32bit, 256> state;
u32bit X, Y, position;
};