Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
BN_DEBUG (was Re: On head of 1.0.1 branch, ecdsatest crashes if openssl is built to be FIPS capable)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andy Polyakov  
View profile  
 More options Nov 9 2012, 10:16 am
Newsgroups: mailing.openssl.dev
From: ap...@openssl.org (Andy Polyakov)
Date: Fri, 09 Nov 2012 16:19:52 +0100
Local: Fri, Nov 9 2012 10:19 am
Subject: Re: BN_DEBUG (was Re: On head of 1.0.1 branch, ecdsatest crashes if openssl is built to be FIPS capable)

>> When I build with "./Configure debug-linux-x86_64" then the tests all
>> pass. When I build with "./Configure debug-linux-x86_64 fips
>> --with-fipsdir=..." then all tests pass up to ecdsatest:

>> prime239v2: ........ ok
>> prime239v3: ........ ok
>> prime256v1: ........ ok
>> sect163k1: ........ ok
>> sect163r1: ........ ok
>> sect163r2: ........ ok
>> ecdsatest: bn_lib.c:243: BN_clear_free: Assertion `(_bnum2->top == 0) || (_bnum2->d[_bnum2->top - 1] != 0)' failed.
>> sect193r1: make[1]: *** [test_ecdsa] Aborted

> Is it just that BN_DEBUG has significant false positives, and I
> shouldn't really be defining it?

As FIPS module is compiled without BN_DEBUG it can and certainly will
confuse code compiled with BN_DEBUG that will call it. This surely is
the explanation for the phenomena and the answer to specific question is
no, you shouldn't define it.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-...@openssl.org
Automated List Manager                           majord...@openssl.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »