aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/xtea/xtea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/xtea/xtea.h')
-rw-r--r--src/block/xtea/xtea.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/xtea/xtea.h b/src/block/xtea/xtea.h
index c870f588a..539725be8 100644
--- a/src/block/xtea/xtea.h
+++ b/src/block/xtea/xtea.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* XTEA
*/
-class BOTAN_DLL XTEA : public BlockCipher
+class BOTAN_DLL XTEA : public BlockCipher_Fixed_Block_Size<8>
{
public:
void encrypt_n(const byte in[], byte out[], size_t blocks) const;
@@ -25,7 +25,7 @@ class BOTAN_DLL XTEA : public BlockCipher
std::string name() const { return "XTEA"; }
BlockCipher* clone() const { return new XTEA; }
- XTEA() : BlockCipher(8, 16), EK(64) {}
+ XTEA() : BlockCipher_Fixed_Block_Size(16), EK(64) {}
protected:
/**
* @return const reference to the key schedule