diff options
Diffstat (limited to 'src/block/serpent_ia32/serp_ia32.h')
-rw-r--r-- | src/block/serpent_ia32/serp_ia32.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/block/serpent_ia32/serp_ia32.h b/src/block/serpent_ia32/serp_ia32.h new file mode 100644 index 000000000..83079e9c2 --- /dev/null +++ b/src/block/serpent_ia32/serp_ia32.h @@ -0,0 +1,28 @@ +/************************************************* +* Serpent (IA-32) Header File * +* (C) 1999-2007 Jack Lloyd * +*************************************************/ + +#ifndef BOTAN_SERPENT_IA32_H__ +#define BOTAN_SERPENT_IA32_H__ + +#include <botan/serpent.h> + +namespace Botan { + +/************************************************* +* Serpent * +*************************************************/ +class BOTAN_DLL Serpent_IA32 : public Serpent + { + public: + BlockCipher* clone() const { return new Serpent_IA32; } + private: + void enc(const byte[], byte[]) const; + void dec(const byte[], byte[]) const; + void key(const byte[], u32bit); + }; + +} + +#endif |