aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/tea/tea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/tea/tea.h')
-rw-r--r--src/block/tea/tea.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/tea/tea.h b/src/block/tea/tea.h
index eeab13cbc..a7318ba5c 100644
--- a/src/block/tea/tea.h
+++ b/src/block/tea/tea.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* TEA
*/
-class BOTAN_DLL TEA : public BlockCipher
+class BOTAN_DLL TEA : 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 TEA : public BlockCipher
std::string name() const { return "TEA"; }
BlockCipher* clone() const { return new TEA; }
- TEA() : BlockCipher(8, 16), K(4) {}
+ TEA() : BlockCipher_Fixed_Block_Size(16), K(4) {}
private:
void key_schedule(const byte[], size_t);
SecureVector<u32bit> K;