aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/ctr/ctr.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 22:02:01 +0000
committerlloyd <[email protected]>2008-11-08 22:02:01 +0000
commit6d6279835ed48e33c3cfd3174fe7c7413a0bb435 (patch)
tree595b9121d0d30b3feb3f2aa90b30e1278dd93368 /src/modes/ctr/ctr.h
parentda5a5cbea7f611ebf41a8d3065700106a8d89f2d (diff)
Remove use of lookup.h in CTR mode
Diffstat (limited to 'src/modes/ctr/ctr.h')
-rw-r--r--src/modes/ctr/ctr.h10
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();