Perhaps ccgost is using the BIGNUM library in a way that other routines
don't
and that is triggering a problem.
If so, should it be considered bug or feature of ccgost engine?
It's too early to answer that kind of question.
crypto/bn/asm/x86-mont.pl was heavily modified recently... As
alternative to pulling down whole snapshots you can simply try to
replace this particular file with earlier versions from
http://cvs.openssl.org/rlog?f=openssl/crypto/bn/asm/x86-mont.pl. If it
Reverting this file to version 1.6 makes problem go away.
turns to be culprit, then note that there are two code pathes, sse2 and
integer-only, the latter has separate squaring procedure, and we have to
figure out which one fails... To switch off squaring procedure, comment
out '&jz (&label("bn_sqr_mont"));' line #273. To switch off integer-only
path altogether replace 'if (0)' around line #248 with 'if (1)'. You
Commenting out line #273 fixes problem with following configuration (output of
make report):
Then it's integer-only squaring code path... Could you please double
confirm that commenting out line #273 *alone* fixes the problem, i.e.
line #248 still reads as 'if(0)'. I'll have alook at the code, but there
might be need for test case, so could you provide sequence of commands
to reproduce the problem [or program if it was one].
same result is achieved without no-sse2 option - fail without commenting
line #273 and pass with it.
??? If you configure without no-sse2 and run on sse2 capable CPU, then
line #273 shouldn't affect result. What CPU and OS was the test executed on?
BTW, are core develpers interesting in access to logs of our nightly
builds and tests?
I for one *would* be interested *if* I had time. But otherwise you
should know that it's very much appreciated, that you perform nightly
builds on such variety of platforms and escalate problems as they pop up. A.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager [EMAIL PROTECTED]