aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/square/square.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/square/square.h')
-rw-r--r--src/block/square/square.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/block/square/square.h b/src/block/square/square.h
index 0de4c20bd..5d9cfc78c 100644
--- a/src/block/square/square.h
+++ b/src/block/square/square.h
@@ -18,13 +18,15 @@ namespace Botan {
class BOTAN_DLL Square : public BlockCipher
{
public:
+ void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
+ void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
+
void clear() throw();
std::string name() const { return "Square"; }
BlockCipher* clone() const { return new Square; }
+
Square() : BlockCipher(16, 16) {}
private:
- void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
- void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
void key_schedule(const byte[], u32bit);
static void transform(u32bit[4]);