This is my first message, so I hope all goes well.
As a contractor, I'm working for a company that uses openssl quite
extensively. They port it over to many different platforms.
I have been given the task to update their current version (0.9.7d +
OS400 mods) to 0.9.7i. We have gotten 0.9.7d+OS400 to work correctly or
at least to our satisfaction.
I have run into one interesting problem. For Solaris 5.8 with 64 bit
compilation, the bntest always fails in test_sqr routine. Closer
inspection shows that the BN_div is failing. If I comment out test_sqr,
then the failure occurs in test_mul at BN_mul.
The problem appears to be size based. The test runs through 5 - 9
iterations and then dies. Sometimes it just hangs.
I tried using the asm routines by changing BN_ASM= asm/bn86-sol.o in
Makefile.org. I looked in crypto/bn/asm to see if it was compiled but
found some mysterious perl files and no bn86-sol.o file.
Strangely, BN works on the other Solaris 5.8 and 5.9 systems using 32 or
64 bit compilation. BN also works on AIX, OS400, HP, and Linux in many
The following is some general information about the system and compiler.
$ uname -a
SunOS flare 5.8 Generic_117350-11 sun4u sparc SUNW,Ultra-60