On Thu, Nov 30, 2000 at 03:03:33PM -0500, Jeffrey Altman wrote:

> Using recent snapshots I have been having problems with the BN
> library.  dsatest
> test generation of DSA parameters
> .++++++++++++++++++++++++++++++++++++++++++++++++++*
> ...+........+..+...+............+.+..+..........................................
> ................................++++++++++++++++++++++++++++++++++++++++++++++++
> +++*
> seed
> D5014E4B 60EF2BA8 B6211B40 62BA3224 E0427DD3
> counter=105 h=2
> P:
>     00:8d:f2:a4:94:49:22:76:aa:3d:25:75:9b:b0:68:
>     69:cb:ea:c0:d8:3a:fb:8d:0c:f7:cb:b8:32:4f:0d:
>     78:82:e5:d0:76:2f:c5:b7:21:0e:af:c2:e9:ad:ac:
>     32:ab:7a:ac:49:69:3d:fb:f8:37:24:c2:ec:07:36:
>     ee:31:c8:02:91
> Q:
>     00:c7:73:21:8c:73:7e:c8:ee:99:3b:4f:2d:ed:30:
>     f4:8e:da:ce:91:5f
> G:
>     62:6d:02:78:39:ea:0a:13:41:31:63:a5:5b:4c:b5:
>     00:29:9d:55:22:95:6c:ef:cb:3b:ff:10:f3:99:ce:
>     2c:2e:71:cb:9d:e5:fa:24:ba:bf:58:e5:b7:95:21:
>     92:5c:9c:c4:2e:9f:6f:46:4b:08:8c:c5:72:af:53:
>     e6:d7:88:02
> 2220:error:0A071003:dsa routines:DSA_do_verify:BN
> lib:.\crypto\dsa\dsa_ossl.c:289:
> problems.....
> 
> This is on Windows.  I have different problems reported on Linux

The same problem should have happened on Linux too, because this was a
simple algorithmic bug (I changed BN_mod_exp2_mont to always set the
returned BIGNUM to zero if one of the inputs is congruent to zero --
but at first I used the BN_is_zero test on the wrong BIGNUM, which
usually was freshly coming from a BN_CTX so that BN_is_zero was true).

The other problems (in bntest) should be resolved by now too
(BN_rshift did naughty things when asked to do a shift by
zero bits).


-- 
Bodo M�ller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to