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

9:   //! and you want to use Arcfour, always hash the key before feeding it   //! to Arcfour.    + #if constant(Nettle.ARCFOUR_Info) +    // NOTE: Depends on the order of INIT invocations.   inherit Nettle.ARCFOUR_Info;   inherit .Cipher;      .CipherState `()() { return Nettle.ARCFOUR_State(); } -  +  + #endif