95aaa82003-12-03Martin Nilsson #pike __REAL_VERSION__
af10832003-12-03Martin Nilsson //! SERPENT is one of the AES finalists, designed by Ross Anderson, //! Eli Biham and Lars Knudsen. Thus, the interface and properties are //! similar to @[AES]'. One peculiarity is that it is quite pointless to //! use it with anything but the maximum key size, smaller keys are //! just padded to larger ones.
a164de2003-12-03Martin Nilsson #if constant(Nettle.Serpent_Info)
95aaa82003-12-03Martin Nilsson // NOTE: Depends on the order of INIT invocations. inherit Nettle.Serpent_Info; inherit .Cipher; .CipherState `()() { return Nettle.Serpent_State(); }
a164de2003-12-03Martin Nilsson  #endif