Branch: Tag:

2003-12-03

2003-12-03 08:30:43 by Martin Nilsson <mani@lysator.liu.se>

Fix for non-Nettle systems

Rev: lib/modules/Crypto.pmod/AES.pmod:1.3
Rev: lib/modules/Crypto.pmod/Arcfour.pmod:1.3
Rev: lib/modules/Crypto.pmod/Blowfish.pmod:1.3
Rev: lib/modules/Crypto.pmod/CAST.pmod:1.3
Rev: lib/modules/Crypto.pmod/DES.pmod:1.3
Rev: lib/modules/Crypto.pmod/DES3.pmod:1.3
Rev: lib/modules/Crypto.pmod/IDEA.pmod:1.2
Rev: lib/modules/Crypto.pmod/MD2.pmod:1.2
Rev: lib/modules/Crypto.pmod/MD4.pmod:1.2
Rev: lib/modules/Crypto.pmod/MD5.pmod:1.3
Rev: lib/modules/Crypto.pmod/PGP.pmod:1.3
Rev: lib/modules/Crypto.pmod/SHA.pmod:1.3
Rev: lib/modules/Crypto.pmod/SHA256.pmod:1.3
Rev: lib/modules/Crypto.pmod/Serpent.pmod:1.3
Rev: lib/modules/Crypto.pmod/Twofish.pmod:1.3

1:   #pike __REAL_VERSION__    + //! The IDEA(tm) block cipher is covered by patents held by ETH and a + //! Swiss company called Ascom-Tech AG. The Swiss patent number is + //! PCT/CH91/00117, the European patent number is EP 0 482 154 B1, and + //! the U.S. patent number is US005214703. IDEA(tm) is a trademark of + //! Ascom-Tech AG. There is no license fee required for noncommercial + //! use. +  + #if constant(Nettle.IDEA_Info) +    // NOTE: Depends on the order of INIT invocations.   inherit Nettle.IDEA_Info;   inherit .Cipher;      .CipherState `()() { return Nettle.IDEA_State(); } -  +  + #endif