diff options
author | lloyd <[email protected]> | 2008-11-08 22:02:01 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 22:02:01 +0000 |
commit | 6d6279835ed48e33c3cfd3174fe7c7413a0bb435 (patch) | |
tree | 595b9121d0d30b3feb3f2aa90b30e1278dd93368 /src/modes/ctr/ctr.h | |
parent | da5a5cbea7f611ebf41a8d3065700106a8d89f2d (diff) |
Remove use of lookup.h in CTR mode
Diffstat (limited to 'src/modes/ctr/ctr.h')
-rw-r--r-- | src/modes/ctr/ctr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modes/ctr/ctr.h b/src/modes/ctr/ctr.h index c3217a5d1..86fe3b661 100644 --- a/src/modes/ctr/ctr.h +++ b/src/modes/ctr/ctr.h @@ -3,10 +3,11 @@ * (C) 1999-2007 Jack Lloyd * *************************************************/ -#ifndef BOTAN_CTR_H__ -#define BOTAN_CTR_H__ +#ifndef BOTAN_COUNTER_MODE_H_ +#define BOTAN_COUNTER_MODE_H_ #include <botan/modebase.h> +#include <botan/modebase.h> namespace Botan { @@ -16,9 +17,8 @@ namespace Botan { class BOTAN_DLL CTR_BE : public BlockCipherMode { public: - CTR_BE(const std::string&); - CTR_BE(const std::string&, - const SymmetricKey&, const InitializationVector&); + CTR_BE(BlockCipher*); + CTR_BE(BlockCipher*, const SymmetricKey&, const InitializationVector&); private: void write(const byte[], u32bit); void increment_counter(); |