diff options
Diffstat (limited to 'old/botan/src/block/serpent_ia32/serp_ia32.h')
-rw-r--r-- | old/botan/src/block/serpent_ia32/serp_ia32.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/old/botan/src/block/serpent_ia32/serp_ia32.h b/old/botan/src/block/serpent_ia32/serp_ia32.h new file mode 100644 index 0000000..565e988 --- /dev/null +++ b/old/botan/src/block/serpent_ia32/serp_ia32.h @@ -0,0 +1,30 @@ +/* +* Serpent (IA-32) +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#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_schedule(const byte[], u32bit); + }; + +} + +#endif |