aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/ctr/ctr.h
diff options
context:
space:
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();