bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/23899] New: BouncyCastle crypto library errors


From: gnu at frogcircus dot org
Subject: [Bug classpath/23899] New: BouncyCastle crypto library errors
Date: 15 Sep 2005 18:30:18 -0000

Hi,

When packaging BouncyCastle ( http://www.bouncycastle.org/ ) for Debian, I
discovered the following errors which the debian-java mailing list seemed to
think could be traced back to Classpath. The errors can be reproduced by
downloading from:

   http://www.bouncycastle.org/latest_releases.html

the files:

   http://www.bouncycastle.org/download/bctest-jdk14-129.jar
   http://www.bouncycastle.org/download/bcprov-jdk14-129.jar

and then executing:

   java -cp bctest-jdk14-129.jar:/usr/share/java/bcprov-jdk14-129.jar \
      org.bouncycastle.crypto.test.RegressionTest

Here are the errors that I get when executing these tests in free VMs:

Kaffe version 1.1.5-cvs20050808 fails on the following tests:

DSA: r component wrong.
 expecting: 68076202252361894315274692543577577550894681403
 got      : 1137732941571826249249398976378824797040860375930
ECDSA 192 bit prime: r component wrong.
 expecting: 3342403536405981729393488334694600415596881826869351677613
 got      : 6020253806703445751503784390414341273542964561292019630894
GOST3410-TEST1-512: r component wrong.
 expecting: 3e5f895e276d81d2d52c0763270a458157b784c57abdbd807bc44fd43a32ac06
 got      : 5f4febd4f2255d5e36f05d412c77823b23a5eaaacc6817e2710b797a507f854d
ECGOST3410 - TEST: r component wrong.
 expecting: 29700980915817952874371204983938256990422752107994319651632687982059
210933395
 got      : 31752501702729634380064493757762454873898673640730592594350714238601
777990180


SableVM version 1.11.3 fails on the following tests:

DSA: r component wrong.
 expecting: 68076202252361894315274692543577577550894681403
 got      : 746231301394742731982047691450321420276689060848
ECDSA 192 bit prime: r component wrong.
 expecting: 3342403536405981729393488334694600415596881826869351677613
 got      : 6249833018739160226694907120521802919631748840289650662347
GOST3410-TEST1-512: r component wrong.
 expecting: 3e5f895e276d81d2d52c0763270a458157b784c57abdbd807bc44fd43a32ac06
 got      : 24287d8a0d17fedec7c6dfd5a018a27ddcca4528a84ae7a51344715a83de2456
ECGOST3410 - TEST: r component wrong.
 expecting:
29700980915817952874371204983938256990422752107994319651632687982059210933395 
 got      :
13628253036095457453781547057345293906187223953521072753797672813397452752475


gij version 4.0.2 20050913 failed on the following tests:

DSA: r component wrong.
 expecting: 68076202252361894315274692543577577550894681403
 got      : 746231301394742731982047691450321420276689060848
ECDSA 192 bit prime: r component wrong.
 expecting: 3342403536405981729393488334694600415596881826869351677613
 got      : 6249833018739160226694907120521802919631748840289650662347
GOST3410-TEST1-512: r component wrong.
 expecting: 3e5f895e276d81d2d52c0763270a458157b784c57abdbd807bc44fd43a32ac06
 got      : 24287d8a0d17fedec7c6dfd5a018a27ddcca4528a84ae7a51344715a83de2456
ECGOST3410 - TEST: r component wrong.
 expecting:
29700980915817952874371204983938256990422752107994319651632687982059210933395 
 got      :
13628253036095457453781547057345293906187223953521072753797672813397452752475


I don't have the time to dig any deeper into these at the time, but I would love
to see them resolved. :-)

thanks,
Charles

-- 
           Summary: BouncyCastle crypto library errors
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gnu at frogcircus dot org
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23899




reply via email to

[Prev in Thread] Current Thread [Next in Thread]