pike.git / lib / modules / Crypto.pmod / Serpent.pmod

version» Context lines:

pike.git/lib/modules/Crypto.pmod/Serpent.pmod:1:   #pike __REAL_VERSION__   #pragma strict_types      //! 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.    - #if constant(Nettle) && constant(Nettle.SERPENT_Info) + #if constant(Nettle) && constant(Nettle.SERPENT)    - // NOTE: Depends on the order of INIT invocations. - inherit Nettle.SERPENT_Info; - inherit .Cipher; + inherit Nettle.SERPENT;    - .CipherState `()() { return Nettle.SERPENT_State(); } -  +    #else   constant this_program_does_not_exist=1;   #endif