aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/seed/seed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/seed/seed.h')
-rw-r--r--src/block/seed/seed.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/block/seed/seed.h b/src/block/seed/seed.h
index 0c9c2c8af..5a5a512e7 100644
--- a/src/block/seed/seed.h
+++ b/src/block/seed/seed.h
@@ -18,13 +18,15 @@ namespace Botan {
class BOTAN_DLL SEED : 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() { K.clear(); }
std::string name() const { return "SEED"; }
BlockCipher* clone() const { return new SEED; }
+
SEED() : 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);
class G_FUNC