Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-27 Thread Martin MOKREJ© via RT

Hi,
  so, once more. I've tested now openssl-0.9.7-beta4:

./Configure irix-mips3-cc --prefix=/usr/local/openssl --openssldir=/usr/local/openssl 
no-threads
Configuring for irix-mips3-cc
IsWindows=0
CC=cc
CFLAG =-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W
EX_LIBS   =
BN_ASM=asm/mips3.o
DES_ENC   =des_enc.o fcrypt_b.o
BF_ENC=bf_enc.o
CAST_ENC  =c_enc.o
RC4_ENC   =rc4_enc.o
RC5_ENC   =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB=/usr/local/bin/ranlib
ARFLAGS   =
PERL  =/usr/bin/perl5
SIXTY_FOUR_BIT mode
DES_PTR used
DES_RISC2 used
DES_UNROLL used
RC4 uses uchar
RC4_CHUNK is unsigned long long
BF_PTR used
[...]
make[1]: Entering directory `/software/scratch/openssl-0.9.7-beta4/test'
cc -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W -I/usr/local/include 
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c -o bntest.o bntest.c
if [ "irix-shared" = "hpux-shared" -o "irix-shared" = "darwin-shared" ] ; then \
  cc -o bntest -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W bntest.o  ../libcrypto.a  ; \
else \
  cc -o bntest -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W bntest.o  -L.. -lcrypto  ; \
fi
cc -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W -I/usr/local/include 
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c -o ectest.o ectest.c
"ectest.c": Warning: Olimit was exceeded on function main; will not optimize.
To optimize use -OPT:Olimit=0 (off) or -OPT:Olimit=2578
"ectest.c": Warning: To override Olimit for all functions in file, use -OPT:Olimit=2578
(Compiler may run out of memory or run very slowly for large Olimit values)
if [ "irix-shared" = "hpux-shared" -o "irix-shared" = "darwin-shared" ] ; then \
  cc -o ectest -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W ectest.o  ../libcrypto.a  ; \
else \
  cc -o ectest -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W ectest.o  -L.. -lcrypto  ; \
fi
cc -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W -I/usr/local/include 
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c -o ideatest.o ideatest.c
if [ "irix-shared" = "hpux-shared" -o "irix-shared" = "darwin-shared" ] ; then \
  cc -o ideatest -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W ideatest.o  ../libcrypto.a  ; \
else \
  cc -o ideatest -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W ideatest.o  -L.. -lcrypto  ; \
fi
cc -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W -I/usr/local/include 
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c -o md2test.o md2test.c
if [ "irix-shared" = "hpux-shared" -o "irix-shared" = "darwin-shared" ] ; then \
  cc -o md2test -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W md2test.o  ../libcrypto.a  ; \
else \
  cc -o md2test -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W md2test.o  -L.. -lcrypto  ; \
fi
cc -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W -I/usr/local/include 
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c -o md4test.o md4test.c
if [ "irix-shared" = "hpux-shared" -o "irix-shared" = "darwin-shared" ] ; then \
  cc -o md4test -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W md4test.o  ../libcrypto.a  ; \
else \
  cc -o md4test -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 
-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W md4test.o  -L.. -lcrypto  ; \
fi
cc -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W -I/usr/local/include 
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c -o md5test.o md5test.c
if [ "ir

Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-27 Thread Martin MOKREJ© via RT

On Wed, 27 Nov 2002, Martin MOKREJ© wrote:

> Yes, those were my environment variables, but as I see some of the setting
> were overriden by configure.
> >
> > Do post output from 'apps/openssl version -a'.
>
> OpenSSL 0.9.6h-dev xx XXX 
> built on: Wed Nov  6 16:09:53 CET 2002
> platform: irix-mips3-cc
> options:  bn(64,64) md2(int) rc4(ptr,char) des(ptr,risc2,16,long) idea(int) 
>blowfish(ptr)
> compiler: cc -DDSO_DLFCN -DHAVE_DLFCN_H -n32 -O2 -use_readonly_const -DTERMIOS 
>-DB_ENDIAN -DBN_DIV3W

Ooops, I've pasted the output from my last working version
(openssl-0.9.6-stable-SNAP-20021102). I'm now compiling
openssl-0.9.7-beta4 from scratch and will post the proper 'apps/openssl
version -a' output. Sorry for confusion. :(


-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-27 Thread Martin MOKREJ© via RT

On Wed, 27 Nov 2002, Andy Polyakov wrote:

> > > > No, I get exactly same error:
> > > >
> > > > NIST curve P-521 -- Generator:
> > > >  x =
> > > > 
>0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
> > > >  y =
> > > > 
>0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
> > > > verify group order ...ectest.c:525: ABORT
> > > > make[1]: *** [test_ec] Error 1
> > > > make[1]: Leaving directory 
>`/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'
> > >
> > > I can't reprodice this. I've tried MIPSpro cc versions 7.3.1.2m and
> > > 7.2.1.3m, all three ABIs (O32, N32, 64)... What's your compiler version?
> > > Run cc -version. A.
> >
> > MIPSpro Compilers: Version 7.3.1.3m
>
> No luck with 7.3.1.3m either. I mean I *failed* to reproduce it even
> with 7.3.1.3m. Can you post output from 'apps/openssl version -a'.
>
> > CC=cc
> > CFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
> ^ Well, this is just not fair! ./INSTALL file explicitely
> advises to *lower* the optimization level before submitting a bug report
> to openssl. Idea is that if test passes at lower optimization level,
> then it's most likely between you and your compiler vendor. Do note that
> ./Configure does suggest -O2. And what does this output mean anyway? Is
> it your environment variables? Is it something you've planted directly
> into OpenSSL Makefile?

Yes, those were my environment variables, but as I see some of the setting
were overriden by configure.
>
> Do post output from 'apps/openssl version -a'.

OpenSSL 0.9.6h-dev xx XXX 
built on: Wed Nov  6 16:09:53 CET 2002
platform: irix-mips3-cc
options:  bn(64,64) md2(int) rc4(ptr,char) des(ptr,risc2,16,long) idea(int) 
blowfish(ptr)
compiler: cc -DDSO_DLFCN -DHAVE_DLFCN_H -n32 -O2 -use_readonly_const -DTERMIOS 
-DB_ENDIAN -DBN_DIV3W

So, how can I recompile only the test program to see what cc options were
used? Could there be a clash with kerberos4 headers/libs from KTH-KRB4?
I have version 1.2.1, with support for openssl, that means no libdes.* is
built as a part of krb4.

-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-26 Thread Martin MOKREJ© via RT

On Wed, 27 Nov 2002, Andy Polyakov wrote:

> > No, I get exactly same error:
> >
> > NIST curve P-521 -- Generator:
> >  x =
> > 
>0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
> >  y =
> > 
>0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
> > verify group order ...ectest.c:525: ABORT
> > make[1]: *** [test_ec] Error 1
> > make[1]: Leaving directory 
>`/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'
>
> I can't reprodice this. I've tried MIPSpro cc versions 7.3.1.2m and
> 7.2.1.3m, all three ABIs (O32, N32, 64)... What's your compiler version?
> Run cc -version. A.

Hi,

I have

MIPSpro Compilers: Version 7.3.1.3m

CC=cc
CFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
CPPFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
CXX=CC
CXXFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/software/@sys/usr/include -I/usr/local/include/ncurses
-I/usr/local/BerkeleyDB.4.0/include -I/software/@sys/usr/include/ncurses
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib:/usr/local/lib32:/usr/lib32:/usr/lib32/internal:/lib32:/opt/lib32:/usr/local/lib:/usr/athena/lib:/var/arch/lib32:/usr/gfx/arch/IP22NG1:/software/msi/972/irix5r3/biosymso:/usr/local/BerkeleyDB.3.3/lib:/usr/local/BerkeleyDB.2.7/lib:/software/@sys/usr/lib32
LIBS='-L/usr/local/lib -L/software/@sys/usr/lib
-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/openssl/lib'



-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-20 Thread Martin MOKREJ© via RT

On Thu, 14 Nov 2002, Richard Levitte via RT wrote:

>
> There have been some changes lately, so could you try the latest
> 0.9.7 snapshot and see if that works better?
>
> [[EMAIL PROTECTED] - Wed Aug 28 21:40:37 2002]:
>
> > Hi,
> >   I have a problem with `make test' on Irix 6.5.15 (cc used):
> >
> > NIST curve P-384 -- Generator:
> >  x =
> >
> 
>0xAA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7
> >  y =
> >
> 
>0x3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F
> > verify group order  ok
> >
> > NIST curve P-521 -- Generator:
> >  x =
> >
> 
>0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
> >  y =
> >
> 
>0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
> > verify group order ...ectest.c:520: ABORT
> > make[2]: *** [test_ec] Error 1
> > make[2]: Leaving directory `/software/scratch/openssl-0.9.7-
> > beta3/test'

No, I get exactly same error:

NIST curve P-521 -- Generator:
 x =
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
 y =
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
verify group order ...ectest.c:525: ABORT
make[1]: *** [test_ec] Error 1
make[1]: Leaving directory `/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'


-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #285] Default RANDFILE

2002-09-13 Thread Martin MOKREJ© via RT


Hi,
  surprisngly I cannot find in FAQ at
http://www.openssl.org/support/faq.cgi what is the default randfile
compiled into openssl binary. I have Solaris 2.6 with kernel module from
http://www.cosy.sbg.ac.at/~andi/ and I want to make sure it uses the
/dev/urandom or /dev/random. How can I know it? I know about the RANDFILE
environment variable.

BTW: The page above might be mentioned in the INSTALL document.

Please Cc: me in replies.
-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585


__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-08-28 Thread Martin MOKREJ© via RT


Hi,
  I have a problem with `make test' on Irix 6.5.15 (cc used):

NIST curve P-384 -- Generator:
 x = 
0xAA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7
 y = 
0x3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F
verify group order  ok

NIST curve P-521 -- Generator:
 x = 
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
 y = 
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
verify group order ...ectest.c:520: ABORT
make[2]: *** [test_ec] Error 1
make[2]: Leaving directory `/software/scratch/openssl-0.9.7-beta3/test'

Do you know what does it mean?
-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]