From: Rodney Thayer <[EMAIL PROTECTED]>
rodney> I believe this was discussed recently on this list but
rodney> I can't put my hands on the message thread. Appologies if this
rodney> is redundant.
rodney>
rodney> It turns out Mixmaster uses the DES routines in OpenSSL.
rodney> I tried compiling the current Mixmaster (mixmaster-2.9b33)
rodney> with a recent OpenSSL snapshot (openssl-SNAP-20020309) and
rodney> I found a problem. des.h and old_des.h have mixed
rodney> definitions for the cfb64 variant of the encrypt function,
rodney> so Mixmaster doesn't compile.
rodney>
rodney> Here's the fix:
rodney>
rodney> In des_old.h, it has these definitions:
rodney>
rodney> #define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
rodney> DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv),(e))
rodney>
rodney> #define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
rodney> _ossl_old_des_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv),(e))
rodney>
rodney> these should be (note the 'n' as the next-to-last argument)
rodney>
rodney> #define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
rodney> DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv), (n), (e))
rodney>
rodney> #define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
rodney>
_ossl_old_des_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv),(n),(e))
rodney>
rodney> Also, 'const_des_cblock' seems to have gone missing. What's the deal with
that?
Thanks for the bug report. I've changed accordingly. To be commited soon.
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]