diff options
author | lloyd <[email protected]> | 2015-02-05 08:04:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-02-05 08:04:08 +0000 |
commit | cb8606277d4b2f5ef1cf33e3d24b982ce1286373 (patch) | |
tree | 69acbc7a789268d498a06b655c77742228a30e83 /src/lib/stream | |
parent | cb0f83ae63c4555cbdd0607e3a5f6e9260c0d19c (diff) |
Move Cipher_Mode enum out of types.h, move stream cipher mode to new header
Diffstat (limited to 'src/lib/stream')
-rw-r--r-- | src/lib/stream/rc4/rc4.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/stream/rc4/rc4.cpp b/src/lib/stream/rc4/rc4.cpp index dcf4af241..096772314 100644 --- a/src/lib/stream/rc4/rc4.cpp +++ b/src/lib/stream/rc4/rc4.cpp @@ -7,7 +7,6 @@ #include <botan/internal/stream_utils.h> #include <botan/rc4.h> -#include <botan/internal/rounding.h> namespace Botan { @@ -73,7 +72,7 @@ void RC4::generate() void RC4::key_schedule(const byte key[], size_t length) { state.resize(256); - buffer.resize(round_up<size_t>(DEFAULT_BUFFERSIZE, 4)); + buffer.resize(256); position = X = Y = 0; |