Hum... I remove support for IDEA (and no fPIC) and now the test is segfaulting.. =========== ../util/shlib_wrap.sh ./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 Doing quad_cksum input word alignment test 0 1 2 3 output word alignment test 0 1 2 3 fast crypt test ../util/shlib_wrap.sh ./ideatest No IDEA support ../util/shlib_wrap.sh ./shatest test 1 ok test 2 ok test 3 ok ../util/shlib_wrap.sh ./sha1test test 1 ok test 2 ok make[1]: *** [test_sha] Segmentation fault make[1]: Leaving directory `/opt3/temp/openssl-0.9.8a/test' make: *** [tests] Error 2 ===========
Let me try without assembly code. -- Loic. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kyle Hamilton Sent: Thursday, February 23, 2006 10:09 PM To: openssl-users@openssl.org Subject: Re: Trying to build OpenSSL 0.9.8a from source Try also using 'no-asm' and see how it does. (This will generate slower code, but it may generate code that will pass the IDEA tests.) Also note that IDEA is covered by patent worldwide, so removing its support may not be a bad idea in any case, unless you have a license to use it. -Kyle H On 2/23/06, Fabro, Loic <[EMAIL PROTECTED]> wrote: > I am not 100% sure.... I read that this is what I needed to include.... > I also tried to build it without -fPIC and I get the same result. > I will try removing the idea support and see what I get. > > -- Loic. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Kyle Hamilton > Sent: Wednesday, February 22, 2006 11:11 PM > To: openssl-users@openssl.org > Subject: Re: Trying to build OpenSSL 0.9.8a from source > > > Why are you using -fPIC? > > -Kyle H > > On 2/22/06, Fabro, Loic wrote: > > Hi All, > > > > [Feel free to point me to an FAQ if I missed one; google did not yield any > > useful result neither] > > > > I tried to build OpenSSL from source but after the compilation, the make > > test returns errors. > > Where should I start to find what my problem could be? Could the fact that > > I have a previous version of openSSL on that machine make a difference? > > > > cat /proc/version => > > Linux version 2.4.20-27.7 ([EMAIL PROTECTED]) (gcc version 2.96 20000731 > > (Red Hat Linux 7.3 2.96-126)) #1 Thu Dec 11 14:48:31 EST 2003 > > > > cat /proc/cpuinfo => > > processor : 0 > > vendor_id : CyrixInstead > > cpu family : 5 > > model : 2 > > model name : 6x86 2x Core/Bus Clock > > stepping : 7 > > fdiv_bug : no > > hlt_bug : no > > f00f_bug : no > > coma_bug : yes > > fpu : yes > > fpu_exception : yes > > cpuid level : 1 > > wp : yes > > flags : fpu cyrix_arr > > bogomips : 133.12 > > > > OpenSSL built from source using a > > ./config --prefix=/usr/local/openssl -fPIC && make && make test > > > > extract of the log: > > ========== > > input word alignment test 0 1 2 3 > > output word alignment test 0 1 2 3 > > fast crypt test > > ../util/shlib_wrap.sh ./ideatest > > ecb idea error encrypting > > got :EB 56 DB 71 48 13 B9 73 > > expected:11 FB ED 2B 01 98 6D E5 > > ecb idea error decrypting > > got :47 8E 86 68 49 DF 7E 0A > > expected:00 00 00 01 00 02 00 03 > > cbc idea ok > > cfb64 idea idea_cfb64_encrypt encrypt error > > B5EF5B886EBAC9A9 > > 9728211447C9E191 > > 19ACC3AEFEE5CB2F > > bad > > make[1]: *** [test_idea] Error 5 > > make[1]: Leaving directory `/opt3/temp/openssl-0.9.8a/test' > > make: *** [tests] Error 2 > > ========== > > > > Thanks, > > Loic. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]