aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/skipjack/skipjack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/skipjack/skipjack.h')
-rw-r--r--src/block/skipjack/skipjack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/skipjack/skipjack.h b/src/block/skipjack/skipjack.h
index dff85df6c..73ae28de2 100644
--- a/src/block/skipjack/skipjack.h
+++ b/src/block/skipjack/skipjack.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* Skipjack, a NSA designed cipher used in Fortezza
*/
-class BOTAN_DLL Skipjack : public BlockCipher
+class BOTAN_DLL Skipjack : 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 Skipjack : public BlockCipher
std::string name() const { return "Skipjack"; }
BlockCipher* clone() const { return new Skipjack; }
- Skipjack() : BlockCipher(8, 10), FTAB(2560) {}
+ Skipjack() : BlockCipher_Fixed_Block_Size(10), FTAB(2560) {}
private:
void key_schedule(const byte[], size_t);