I believe this was discussed recently on this list but
I can't put my hands on the message thread. Appologies if this
is redundant.
It turns out Mixmaster uses the DES routines in OpenSSL.
I tried compiling the current Mixmaster (mixmaster-2.9b33)
with a recent OpenSSL snapshot (openssl-SNAP-20020309) and
I found a problem. des.h and old_des.h have mixed
definitions for the cfb64 variant of the encrypt function,
so Mixmaster doesn't compile.
Here's the fix:
In des_old.h, it has these definitions:
#define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv),(e))
#define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
_ossl_old_des_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv),(e))
these should be (note the 'n' as the next-to-last argument)
#define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv), (n), (e))
#define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\
_ossl_old_des_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k3),(iv),(n),(e))
Also, 'const_des_cblock' seems to have gone missing. What's the deal with that?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]