[ I think this belongs in -dev mailing list rather then -users ]
Something changed between 0.9.7 and 0.9.7a in des code.
(end of crypto/des/cbc_cksm.c and crypto/des/destest.c)
In test/destest.c I see this:
#if 0
static DES_LONG cbc_cksum_ret=0xB462FEF7L;
#else
static DES_LONG cbc_cksum_ret=0xF7FE62B4L;
#endif
I'm not realy great C programmer and I don't know if it is OK just to
remove preprocessor directives and let cbc_cksum_ret always be
0xF7FE62B4L.
Have I found some serious bug or it's just a small typo?
BTW, error while making test was:
(gccuser){hijena}[test]# ./destest
Doing cbcm
Doing ecb
Doing ede ecb
Doing cbc
Doing desx cbc
Doing ede cbc
Doing pcbc
Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done
Doing ofb
Doing ofb64
Doing ede_ofb64
Doing cbc_cksum
bad return value (B462FEF7), should be F7FE62B4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test
Platform is GNU/Linux (Red Hat 8.0), kernel is 2.4.20, glibc 2.2.93,
gcc 3.2, MIT krb5 1.2.7, machine hardware is i686.
Can somebody help me? I must compile 0.9.7a for production machine and
I don't konw if this can be some hidden showstopper. :-(
Thanks ...
--
The Network is the Filesystem.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]