aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThai Duong <thaidn@google.com>2018-04-06 15:22:59 -0700
committerThai Duong <thaidn@google.com>2018-04-06 15:22:59 -0700
commit334816efc101ada5bbf8a588e861fc241d8d3fd7 (patch)
tree135ca74dddea89f552ee8eae54aad9b4b941bf54
parent8d292c8a25f3b3b7894212f73e74e371f158a64e (diff)
downloadwycheproof-334816efc101ada5bbf8a588e861fc241d8d3fd7.zip
wycheproof-334816efc101ada5bbf8a588e861fc241d8d3fd7.tar.gz
wycheproof-334816efc101ada5bbf8a588e861fc241d8d3fd7.tar.bz2
Testlogs auto-pushed to gh-pages
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_49.txt460
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_50.txt673
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_51.txt846
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_52.txt848
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_53.txt848
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_54.txt907
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_55.txt864
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_56.txt1381
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_57.txt645
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_58.txt643
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_59.txt643
-rwxr-xr-xtestlogs/ConscryptAllTests_1_0_1.txt113
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_50.txt673
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_51.txt846
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_52.txt848
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_53.txt848
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_54.txt872
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_56.txt1381
-rwxr-xr-xtestlogs/SpongyCastleAllTests_1_58.txt643
-rw-r--r--testlogs/index.html38
20 files changed, 4599 insertions, 10421 deletions
diff --git a/testlogs/BouncyCastleAllTests_1_49.txt b/testlogs/BouncyCastleAllTests_1_49.txt
index 1fb1cf1..5ea4ab4 100755
--- a/testlogs/BouncyCastleAllTests_1_49.txt
+++ b/testlogs/BouncyCastleAllTests_1_49.txt
@@ -480,38 +480,39 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-.........E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:9e07f2df88cf45951136c683d8275def9274677f7a946cfa7b14f7623ee95c66956a4a8f73d3c25ef9461e670f870753b7b5e9b8c3da33c50ed19eae75aabc592a519fb42328d51da654abda0e0b2a829e1f5674818519967644c274e3337aad012881643465fd2f458ae7e5335a8cd798b1e9699d11fdc0bf4fc4bc1578f4d98e3e084ab14a74e2ed3d546a306c0ddd906ca7933e340f28c5c0bde55aeb40fd709ff96d8a0cd184d6a71afd8c5f64243c948dad659740bdb671a68769ec8a080a1661b8c805b11cf5da2bb2449c1a741445ad579122242530130b156287e4d2ebfe80b51125910047349088ccca9d2cca137e28136f6ca5d1c61ad44b0d417dd21221321bb35b70756bc6d2d2920965046430f263885c64fd4248749564e6845199fcec
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E.E...testTiming: SHA1WITHDSA
-count:50000 cutoff:4533826 relative average:1.0034068576287216 sigmas:1.3194702858938159
-count:25001 cutoff:538782 relative average:0.8566464376781028 sigmas:39.25977506315906
-count:12500 cutoff:532250 relative average:0.6623414476415698 sigmas:65.38729749943526
-count:6251 cutoff:527920 relative average:0.47119706468303874 sigmas:72.4151165512429
-count:3125 cutoff:524379 relative average:0.304366611458607 sigmas:67.3544132221662
-count:1564 cutoff:521080 relative average:0.1708618594454848 sigmas:56.79444958202656
-count:782 cutoff:517852 relative average:0.08916830876915612 sigmas:44.11661038015649
-count:391 cutoff:514550 relative average:0.04683382268921739 sigmas:32.645071884140954
-count:196 cutoff:510790 relative average:0.024183952547268774 sigmas:23.662281622408422
-count:98 cutoff:507972 relative average:0.011851438483197745 sigmas:16.943218360469515
-count:49 cutoff:504751 relative average:0.0038549124171928352 sigmas:12.077617323824999
-count:25 cutoff:502195 relative average:0.0025931344900251402 sigmas:8.637796834406473
-count:13 cutoff:498051 relative average:8.27909177634351E-4 sigmas:6.239827707241217
+count:50000 cutoff:1149462 relative average:0.9980610923534885 sigmas:0.7509357024773065
+count:25000 cutoff:533621 relative average:0.9318082831111347 sigmas:18.67507078751875
+count:12502 cutoff:521414 relative average:0.750489442799128 sigmas:48.321376883422815
+count:6250 cutoff:515333 relative average:0.6591142496050585 sigmas:46.67770375584626
+count:3125 cutoff:507685 relative average:0.771034135094988 sigmas:22.16952454067722
+count:1563 cutoff:496873 relative average:0.7904889482403864 sigmas:14.34653603192659
+count:782 cutoff:491211 relative average:0.5923667615102783 sigmas:19.743929568536164
+count:391 cutoff:487785 relative average:0.4020246453397776 sigmas:20.480110291893816
+count:196 cutoff:484726 relative average:0.23501629410136177 sigmas:18.549869038102763
+count:98 cutoff:481260 relative average:0.12442459278981116 sigmas:15.012990852961934
+count:49 cutoff:478506 relative average:0.06135062020989121 sigmas:11.380518914026386
+count:25 cutoff:475862 relative average:0.02332070810123115 sigmas:8.45829078134531
+count:13 cutoff:472290 relative average:0.012255141856176975 sigmas:6.168464662036484
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420a68281d2404d594f1d18bd6f5de34e7ff17add9df7861868368f04a8cbf589c7a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200047f2ff4214b61922e159f300333eee12929073f4977220a85da8597bc8678dd9262852b76e84860d95dc5c195d4a34b1f9e832b48d5e01397e0edaafe00de92d9
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420136b1b6a3f19725d849d1ccedc3be56dc3a08a8228e1542ff680a204a7dc7beea081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200046f3948ddaf740b8a3f12788e4c229580db3066cd69174b2140066c6a09a7368481a95197d1c01019242b9b497fed61d86ebbad2d90ad78a2a3bd15ba110a199f
...Generated shared secret with a modified order:ECDHC
-expected:0e650f35efbdb67c56667175b5de8d88ff7ec7f3424458392e9c5d130103a0be computed:0e650f35efbdb67c56667175b5de8d88ff7ec7f3424458392e9c5d130103a0be
+expected:354fa027dbdffd40c28542373d1c1ad6429f2d4708318b210881a2005c860023 computed:354fa027dbdffd40c28542373d1c1ad6429f2d4708318b210881a2005c860023
Generated shared secret with a modified order:ECDHC
-expected:44a50e52c0d26a219748426a5d501301432fc344a86ad9f2ed470d264049e554 computed:44a50e52c0d26a219748426a5d501301432fc344a86ad9f2ed470d264049e554
+expected:5c0acf71e0721a23ce407da896a79debd82133bf400108dd2b46f9b324693e2a computed:5c0acf71e0721a23ce407da896a79debd82133bf400108dd2b46f9b324693e2a
..E.Generated shared secret with a modified order:ECDH
-expected:bd7d02620a87278f49899bc764170b698069662c77bf68f30e3f1a21e3e335c3 computed:bd7d02620a87278f49899bc764170b698069662c77bf68f30e3f1a21e3e335c3
+expected:6f355de1c8adc731d0bea352f2101debe668d9cfcc9a56cf69f18cadb773344d computed:6f355de1c8adc731d0bea352f2101debe668d9cfcc9a56cf69f18cadb773344d
Generated shared secret with a modified order:ECDH
-expected:a42af4e8572ceebd0d33f1213a56c0fcc26b2d82a6539a9ccd6380aba6ac04be computed:a42af4e8572ceebd0d33f1213a56c0fcc26b2d82a6539a9ccd6380aba6ac04be
+expected:9ab5a77f5bebd50ec4c7c99655270dce78b6d5091720dc5f7174c460afaf674f computed:9ab5a77f5bebd50ec4c7c99655270dce78b6d5091720dc5f7174c460afaf674f
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -521,36 +522,39 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:109363843162566772709903385971919794496197136118608845437759532204084481268381
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420f1c9bddd36cd66c54dab5450c855ce6fd0d957d4139e92be9f24a1d2c9209a9da00a06082a8648ce3d030107a144034200041e74553424ca20a936b4d53335d47f4c0323400abfbef33c5f85cf341400ecbc3f9e85ffb7882209a40e48b6e5baa0552c3cd87b3572cf57c5363479f35fb80d
+S:91465329900786918879623180860271810874729957580055634876723046656790218391033
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420ca378aca6d310a15a139842078927f66ed6c24cab5133d3e00b7dad39c3fbdf9a00a06082a8648ce3d030107a14403420004ca1a3dcd390a2a6f362f3627f4fa1be3e19f5063ff77d99a6e495e93c47eb74dcfbf534470eb08a36c4bbf7fe3c5d7ae072c57b2601cfa7cdeb346046303ffd0
Public key:
-X:13774927771243381087588374276764660657532178830881271163998774657075187346620
-Y:28775796123359441686695402593552812389293707732947876452143603572596927346701
-encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200041e74553424ca20a936b4d53335d47f4c0323400abfbef33c5f85cf341400ecbc3f9e85ffb7882209a40e48b6e5baa0552c3cd87b3572cf57c5363479f35fb80d
-Signature:304502210091a49e3885524a08c8c57b507b054e3c6271e295b712dfc7b89ece1374d5d27c02202f05180bd746e02ad81e6160b7227c98c3dd2e91039967387643301292a81cd2
-r:65876217962917474217596087533042936402386451190013048345568921213239811232380
-s:21267704079880447748934405789502737385286006774461771499125586525087863413970
-.BC curve:secp256r1 countLsb:534 countMsb:499
-BC curve:secp224r1 countLsb:517 countMsb:509
-BC curve:secp384r1 countLsb:529 countMsb:484
-BC curve:secp521r1 countLsb:503 countMsb:526
-BC curve:brainpoolP256r1 countLsb:516 countMsb:503
+X:91413559976827252010238649797837853662971926779710889938883971388954023737165
+Y:93966802136223634724214744325158007332939064437978433783880269011557929975760
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004ca1a3dcd390a2a6f362f3627f4fa1be3e19f5063ff77d99a6e495e93c47eb74dcfbf534470eb08a36c4bbf7fe3c5d7ae072c57b2601cfa7cdeb346046303ffd0
+Signature:3045022100fcc2aea7b7512e7c5f6fea1a52777e5c00127c56a6607a4120c1429ce1ad98a102204b3d01d833285ee6a430431023672ea557a341e9e9698ed48cf3e90fe98ff03c
+r:114326811599031116944755190627751403506804551242399215172731412122203985909921
+s:34031254045178821887810955187795235781991052573368107515637074843002716811324
+.BC curve:secp256r1 countLsb:518 countMsb:526
+BC curve:secp224r1 countLsb:510 countMsb:497
+BC curve:secp384r1 countLsb:511 countMsb:508
+BC curve:secp521r1 countLsb:532 countMsb:520
+BC curve:brainpoolP256r1 countLsb:516 countMsb:516
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:318629706 relative average:0.9932375778677283 sigmas:2.6190748298312823
-count:25000 cutoff:7374122 relative average:0.8805133630771804 sigmas:32.72276318152897
-count:12500 cutoff:7275837 relative average:0.8055405140733846 sigmas:37.65691752529186
-count:6250 cutoff:7163819 relative average:0.852483014348498 sigmas:20.19959516412338
-count:3125 cutoff:7064980 relative average:0.7680110560701651 sigmas:22.462232908612425
-count:1563 cutoff:7010690 relative average:0.6134106930221456 sigmas:26.47219502520026
-count:782 cutoff:6968123 relative average:0.49047476435196724 sigmas:24.67912185792035
-count:391 cutoff:6935849 relative average:0.36955633596637816 sigmas:21.59212026316828
-count:196 cutoff:6908799 relative average:0.26427639745417125 sigmas:17.840349239117806
-count:98 cutoff:6880502 relative average:0.146687466128227 sigmas:14.63126209375062
-count:49 cutoff:6849070 relative average:0.06866973208309873 sigmas:11.291779398611652
-count:25 cutoff:6823164 relative average:0.05653233166453651 sigmas:8.170669684277827
-count:13 cutoff:6794930 relative average:0.0175554100059861 sigmas:6.1353644980499515
+count:50000 cutoff:19021033 relative average:0.9985915812413887 sigmas:0.5454782396587574
+count:25001 cutoff:7091222 relative average:0.8921156994553108 sigmas:29.54592340523772
+count:12500 cutoff:7005624 relative average:0.7968665496574968 sigmas:39.336623511708304
+count:6250 cutoff:6938432 relative average:0.7476255341150609 sigmas:34.55779697587477
+count:3125 cutoff:6874763 relative average:0.749356611128184 sigmas:24.268441773438326
+count:1563 cutoff:6812810 relative average:0.7170810872165294 sigmas:19.373232783054416
+count:782 cutoff:6762073 relative average:0.6355929877234159 sigmas:17.650244644735917
+count:391 cutoff:6720040 relative average:0.5515623713918457 sigmas:15.358579615958952
+count:196 cutoff:6682754 relative average:0.47444825411093805 sigmas:12.743952562409362
+count:98 cutoff:6653020 relative average:0.43517693421595455 sigmas:9.684698142877574
+count:49 cutoff:6617923 relative average:0.26321628454230633 sigmas:8.933027805534673
+count:25 cutoff:6595172 relative average:0.29208257874199833 sigmas:6.130744705909995
+count:13 cutoff:6567581 relative average:0.0786571805257205 sigmas:5.753784063455612
E..E.Skipping because of:java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC
-E.E.E.E.E.E..E.E.No implementation for:ECIESWithAES-CBC
+Skipping because of:java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC/NONE/PKCS7PADDING
+.04104ec10c5d16881b603e3bff7abbe5fb7a4d7914702219ed56e56dcafd8a0028bea6c85f8c553dc8829c6865089bdbc8e426895a222caa3e092803aad4593e725c2711c0954fb65a5f6fd9e6a8791929723697baf26847ff6f3359e868100130d8cfa5573caa59ab1c82ec2cb7872aab196579829b2d8355a5ac2baf
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.E.E.E.E...E.No implementation for:ECIESWithAES-CBC
..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
@@ -560,17 +564,17 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:19805791156985947679597598896432416744212759597960841371631825966187254346287547067024687613285657012249152603587490197696070349614140201590001620120749569050489843709633420895101715053870553815287959325804790579245203318687530247495163007465472178257862861443743545814299885448416544207519966892353756527760455909472181411355011451512870541452690731757549174087495761453152643768969023481058605835612073169669640757976579956825993596861575349323705834904599490987721911493979251406501485146568534120494609955855508671232843214946777054899912609461458529230472414932088012586575719954016691107084194664143991504896423
+Modulus:17050406386031949092606392367713564367918158119207164038410041617214976057699897016504057248384701476736661422700794458083191378554051483907371103647448255379543656860011210933763912291218877732533024999353942026258623461682300806980350889809725082805709300992832741029046077783720005308631652990303537062056476404262640890253743331311253961166238423448122330678142022490901644255561768999132066041741866961812269885480024472408375511913949128415057643177832800759008617944067185201011589755522251538953163661882845925197486283388245882361491175286021603507721273854636964916936003494791670598831516031432673360124639
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a02820101009ce45fd47a885a28de3f1ca16de446b47759c5437f62baf646461fba5635beb4cf8bb180c9af7a700d580beab89d947ce2489b71c30d79a40958d510c09eb8c4d4be31a6337adfb9476d39a225436b712b396718f1659271ec1938eb309c03765896f5bd04ab6cc2fcbeec14e00673d99ce08df45be358f62461108f702fbd5f8e6459407a45280d43839278f6703bfa2ff4b826965db48a5a097eb090cb0db2d0c5ecc8c71ad499002fc29d40fe60f3aad02bd43c920fba57adf7c82b1dcfb45f7de10302cd7b14b06fe027de8485f371caa64c9a33ac960da49965df61659017b0a3e62486433d473db34af176b094ecab513433703a08d9a159936ea401a70203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a02820101008710b345a1c1c9c02fe5e311292ab44985492c0a234efbf73217c4e1e776129efc5663ba1a29b53af16875e7256762d03c8c9eb340ab59c6a94533d5e2e3f8ef5a3d729999e7611f8bc5262e180d4d114a413a9c70c19246c421c40c273f7815721164912259b544dcf9610d55dfceeae1523b0eeb05c8f2bda029c236cec8f861d93d7b6f524b7f735bdd763902ae8f147b485c56d7dde03f7052b5cc73d637d1e36688546f240ccf95ab38ffa3d31e84fd5f9245ddaf547014e5ef531f333507997f2e1c52889df4f637e50da7b10ef3aef0e716f0161b6043fa6a9dee2277652ecba07187b62f33bd9cc342d2026e297a5db3a453caa0e84f9309a6e89adf0203010001
Private key:
-D:6251167891149340490905539362081031178632542415487739807623240613860618523169475427337315764847548946371877284666787230714607247536025299752646344998973172952826379253456327131470451437955847928181507219651068757063750715581298551496672823129274944035642359109569178405615043875986026472565886677271426122293043442505839465154103889408469921579058720804326457391051659257985088374897463612994004336643275302450059383955864245201398221692160909176042498192862073000072083259147138331568567564841185417290196846144952721751551359862872920151408521864537899517421131399219969492426474556113637012791783749050918692198513
-encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a202010002820101009ce45fd47a885a28de3f1ca16de446b47759c5437f62baf646461fba5635beb4cf8bb180c9af7a700d580beab89d947ce2489b71c30d79a40958d510c09eb8c4d4be31a6337adfb9476d39a225436b712b396718f1659271ec1938eb309c03765896f5bd04ab6cc2fcbeec14e00673d99ce08df45be358f62461108f702fbd5f8e6459407a45280d43839278f6703bfa2ff4b826965db48a5a097eb090cb0db2d0c5ecc8c71ad499002fc29d40fe60f3aad02bd43c920fba57adf7c82b1dcfb45f7de10302cd7b14b06fe027de8485f371caa64c9a33ac960da49965df61659017b0a3e62486433d473db34af176b094ecab513433703a08d9a159936ea401a70203010001028201003184cf4e5422673a90f320893f1316d1ecfdb38a5b51812b2c0104109f17358b021ad83a8aedccda430bf02ef478201ece99161ef0ee76df34680a4fd04c088b6f8e5c4355ea4964c44b902e424ea641c0dfcc4f8e197e00610190fa828c2b7795fc87b15220fd2209fe04ab8e0ddb50eaf7e136282e78acafccc71a4ed17296907a69cdbcfc2bd98d8ef3dc16da3d4e651bd487efe6476cf736b041969cd6c751aada737ee05a0f79f9c2fd6ccd5082f880fe0b199517449ae62672c0961916952f540c3b64c7b9795ccbbf7cb3812255826010fa79ba6baa5ad22604057ec218cdf361ebac2a80eb565892c75844591e6498d2fb5f99f423569d267690187102818100d9d88fad9e592b9c81ac31e3d0bf4272d148c12c1d09eaa739bf5d8c744ab595bf07282883c8a02d2337f13f215af445c840088ea809542bd1745ed7b2a71a2ffaa4df26f7fff4dcc4a7a69bfb2ea2e25bac2200fa4be6a60efd30eb5bb719abde2613f1dc907d7addda7d20a0fec3ba2ca331d0207a97342d682ffcf6305e4f02818100b85edbcd43bbdb7fa72a1e6b5b4cf2efd4dc62749bc79cd8f519e8026cd7811d19d647fe83f37a8f15cbd56339a1a69ee5b82af1a010f88677243b60892f89bc0242b89f847c135a405519cc5658cc22c38fccf6ae3d93feb67540fd07df7ab724dc348bba1a9a056afe3f91d11af27e443fd328c3e7f1ab7b3ddf282741e92902818072163a58c0bf0e59ee8751b16f975aa36afb613f4b0df078178422e7f5d75275d40f5976ae5d99954a06782f89b66a8b492e4fccf62fbc871e3085a30d0afa69fa27f23e244f45db809a1465480cca7d2569667d8097d379500c455c5d31ed1dd73fb5de4a96d9404983ad5833387924bd4fd23c9f65d45e1d119d602b46757d0281807481cd184b433d13cfc8f7ec1387eec4cb9870c70b61faa5c74d15a5e2add433558e69745661d802ef5d1d7d547fe850e50d9a659226e745e1a80db5953b6b2859ad5c09c1a8be79fbc94b422b1675f949e7673843273a8c6d346f5af64cacb96b1b9440efdbbb94cce5d9ba058fa7c94ecb9e5e565e0e03b51f861353ab7cf10281802fbe402be854ed34deccbb0c81cba05895a745b4b6839c24091fabfabbafc22011cb8b534e9150474541d1a549f38db6713c45c1a9efe6adb9e1e167e652c819b611a4f2a74902dab97299b1f08d0a313d13e8ffc12f50fdcf626dc12341f3d6345e0a0ef5c3db7d1c272581689fcc34897d0041558a29d812000f522bc804d3
-Signature:005c0c5667645c198f4a68602db669f18648fa32debd1653154eaac00022b9c7a50a7299c61aef0d5122e83273f46cccaf586d02c739b6963eaaf8698faa93a8979d9c90caf5ab979932845f457d843030effe0c9a69b360bced809372744bf1d67b3b337c4c180ab7e8613fc920f76ad7552fe29cee7e5c4272fe376488c2e8dfe2030fe8af9c46d2dc40ba02199777396a3be778024d91057d63db911c103a83791a1a0744b5d0032950740e4aa45e88ddfa27b697f604f61236de865eb1984cfcfc0608391a481b2fccf0ee5429743316239476a707d178680422f614b19aa3523b3f39d4da7017c02fbed062c9b95e1c85faf7c5723e95dd61e55a0f896c
+D:12380972420233981191816006322949186180399731857346990698748729275396241750612331951697691081272862025671315141750585279547751568030406580521962913338700505443598319824085226927184503746384716609144668304839323543763395210613836658733050315015258662521032392769701349052157922938942144630246604729474266830129437542736564811296069529692860714895697400299481510347424159178454809071327959134291399423821485375099928767041445532813890223201887422609341505391224460499001979595824408921548183409894835519722244165735159703321922968192422766928777066609121111658777416825085453723407798845121584009573150894009841434106505
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101008710b345a1c1c9c02fe5e311292ab44985492c0a234efbf73217c4e1e776129efc5663ba1a29b53af16875e7256762d03c8c9eb340ab59c6a94533d5e2e3f8ef5a3d729999e7611f8bc5262e180d4d114a413a9c70c19246c421c40c273f7815721164912259b544dcf9610d55dfceeae1523b0eeb05c8f2bda029c236cec8f861d93d7b6f524b7f735bdd763902ae8f147b485c56d7dde03f7052b5cc73d637d1e36688546f240ccf95ab38ffa3d31e84fd5f9245ddaf547014e5ef531f333507997f2e1c52889df4f637e50da7b10ef3aef0e716f0161b6043fa6a9dee2277652ecba07187b62f33bd9cc342d2026e297a5db3a453caa0e84f9309a6e89adf0203010001028201006213816a2dc48f60cc272d94578557f70f1f0c28ac6cfd500a02f2876bd0f442984f8f09235867ee4e4021656066cb7d148ab3eecc25e101fe066f567ff434de7173af54d44a0cdfa059df9897048992e58daa26d145ee970e72ca6e5ccd9cc04ddd4d5e8a4803f5e653fbe2781a15a1bf4e3bee60410a2322093c6977ecfe47327f431285222a8f3d6d224dcd0a26828ce8edea32b98802fad9134efb5436dea69646a2e4f619fd855321a135947d3a4e65f809d7a9f351c4a834f65cdf7dd35324e1f7929c06cfa77336e6ed37138c387e15094745326f0b53ccfd1df1aaa0e5ed53a5a57e91586def7c41b8e676876867640cad30ba1b839c42c45a1a1a8902818100e5c4d42e134702ba391c5230a8f0e5ccac50385260091c559a6c70356e5478e8a42670ffb2a8913e06a6cd8709a7a97bab1fb46c80734ea7439a646dcfcbf66515af9f1fc8110565f044345b914f942a7ebe7d0af11e5209df9cfe5fa446acdacb87b3bc626b616f0c9c4dd9ada924b7e141c4d2ead29c5819a5ec1c817d890302818100967c15d8f16636bc8b9689218e7fbb0f48153a87b2d88824046b1eb0f0aedd38a45528390bc41282dfe389885f249de16d19333024ec23b53a11286a2973cfb81a89a323238ef3bb06d64a6206f89e7f1e9a8e93d4b4d22a9d668dc8287a40d79a9245a06991c4fc7df438f6a078b468e4fe6d66b539cf8eae870479e1f129f5028180649163418b8480481c292e3c4825b09f8628528e93a449379ab0ade865132a1cc18465df35469cd3e63b6a2819ecbdbcf86897230a91edb23e5fbc67681561125b8c93fc68283311ac395e255a13d7c945d2808ea27cdff19c636ddf54daee5b91cc22ba68e5912ef6f90f062101b0a59f3d9735ae3c62dc18d5cbe3aa35d51b02818100828e60fdf8612f77e0bad77a2f810daf326088891656d9b635c721b76cf8a8a0eda19be5f21947de1793f6cc438f27125e6e90846264248ea434229608249bc023f5e97d20ea72f67df6084e87b1c7008e7294e418945009fcc8ee950ad915cc782413181abf06e1effca43703fdf4b7548490319d64ec77e35eec393a16dac90281805385483f542987d49af2d798311eccb3921e8eaa13dd9f64f79ac3782a21eb3fde78a07138beee011edb276cf32276679060e34e63f3795afbf98e3598c5b3e115c376321606017eb46b0c2a7327d1117ab0e98544d8adbd1a274f24efeb250c64418614d9b9dba36d8ef11c55c6c40106960eeba4ac95cdc1adbb16855e8bd4
+Signature:448a73b09b464fee673ca1a34ba21fcb3801fff0ae735edfa3c7797effacae6ee04261b615d3c0f1628cb7709cb3576b174c6d87cabe542e6b0cfd26662b4951a730904b544a170968d89bdb00ba5b7b911d94d51b0120d7103aaf0d1189d9b014badb282ec16cf8b54892b3735af99e69ece82d2fdbc99e3f49737e3e5e636446e8d641815239522ee2b318fcda11a30136a5e67041647ef9a5ebcd65899095cdcf632f9bc843a9ff71c153308d28446cf056df5723614239ef49d5f20345a29113882a7933bb01e9762de8f8e67c1b2136cd7ed1573bad1278863813f958697e705b371195412724123a8a811c3ca7b9f4ba549e4972d1005904429a8e4931
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 1,321.724
-There were 44 failures:
+Time: 488.472
+There were 38 failures:
1) testEax(com.google.security.wycheproof.AesEaxTest)
java.security.InvalidAlgorithmParameterException: unknown parameter type.
at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineInit(Unknown Source)
@@ -1288,135 +1292,11 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
19) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+java.lang.AssertionError: Ciphertext repeats at 256:d1cd96731d4fb56935a4c3357308adac90a5f32066010ea1f24baa5517a95f5dcea13db23194997031672f59d298435b3051ac7b6db189eb58bb115e7f8899f7279c79e28085beb882866b5cda9e21d0de67a849f3517c4261160dd39afd780eb70cc36e9bd8ce873924d64710660f29875de8f23205adf4d7ae4974051d5c3cb9a3c153e20d312ebbcbd0bff5be75962874c639119c4b4874fba68a4d08e2149f7ae46d625345f1664d01bd34c49605d36ff3283d7a799eacd1eb7c478748cba905ba3b925491626f2a4b33c0fc31162c300cb4a160f8dc2b1e1db3c9846294e2bcdf50fbaa493d10f8add64aaa1ebfbf3c7ccab78b84466a88b0ae4cab45767cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4147cdb4e14c720dcadf87b8a58d2fcc4140b045a80ae49e8a09c1ebde1643cb23103e74f3e6c47f809bdb87e4aca8d9f2971f2844e
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1449,15 +1329,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+20) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:4c33fe76db0075ac21736bd7fc60829dcf1ab13a53c914099f9c454aae855093e10f64886540c7a7a2199aab32c686f308222dc36ad68a7d99783ea3152f59991ce6be930658f70a7a7415ebda449eb88a9ecf5b8a1c99342c03847d31596a6a96e89350e6196cb90156be468ae99f68a6dc055794674f31f28bea486749a6668609a93bf3415583e02860b79fe17fcc288c897ce54f8e88a7a3ebc1a9beaab078cdfadbdfe9c098fa34f6fb0a9cd84405ce5089ab5f726321f4913fee83cf4da499d3aceb1548a7eba5af292ea22a360c1b1f5ffb6d4e40b541ac146540f323ac4bb70ef42fc5da0d24e17f17325c20c197714f2b0524a71abb274447be5c5cc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fc97305740654793fa79e8962033e4e2029fd6d8a5be8360ea93c7718b1d183090dc8c962
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1490,7 +1367,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+21) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1531,7 +1408,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+22) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.security.InvalidParameterException: strength must be from 512 - 1024 and a multiple of 64
at org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi.initialize(Unknown Source)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
@@ -1569,7 +1446,7 @@ java.security.InvalidParameterException: strength must be from 512 - 1024 and a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+23) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1605,7 +1482,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testBiasSha1WithDSA(com.google.security.wycheproof.DsaTest)
+24) testBiasSha1WithDSA(com.google.security.wycheproof.DsaTest)
java.security.InvalidParameterException: strength must be from 512 - 1024 and a multiple of 64
at org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi.initialize(Unknown Source)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
@@ -1642,7 +1519,7 @@ java.security.InvalidParameterException: strength must be from 512 - 1024 and a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testTiming(com.google.security.wycheproof.DsaTest)
+25) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1678,8 +1555,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[524bd9f5c1fc36a714b92659ecc08a97de8c066a8ffb6b2a1f91407c5b8327d]a> but was:<[dfa54b54213a37a4f81d555d46557dc3f613976d72a3d7d56acc8707f5b20ff]a>
+26) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[7215a1f990203f7c291c2f11b485a9f1ef2925917a994fa2d8f642ff338907b]0> but was:<[15c55114fe143a93bafaf8cf0832092ea07a0639127b4c4b60e96f77366ac6e]0>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1715,8 +1592,8 @@ org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expec
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[082a0b5dbd5038755f91f542437ba2864bab92a219c510bd2942c478ebc6ed1a]> but was:<[a8bd911b67537f87f4c3bc2a70c7d949c2f384d49f1aebbd76f295f4670622e7]>
+27) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<1[1ec6d86b63f6a582f053694bba6ef5359a007c09a72b052e6495a4127442c85]> but was:<1[a6b347d1dadce71e1a9a5f5ad2d1fe40e8801240ef93df8c2bed5b640b525b6]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublicSpec(EcdhTest.java:2000)
at com.google.security.wycheproof.EcdhTest.testModifiedPublicSpec(EcdhTest.java:2016)
@@ -1752,7 +1629,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expec
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testEncode(com.google.security.wycheproof.EcdhTest)
+28) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1789,7 +1666,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+29) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1830,7 +1707,7 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testTimingAll(com.google.security.wycheproof.EcdsaTest)
+30) testTimingAll(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.EcdsaTest.testTiming(EcdsaTest.java:905)
@@ -1867,10 +1744,10 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testModifyPoint(com.google.security.wycheproof.EciesTest)
+31) testModifyPoint(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:226)
+ at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1903,89 +1780,7 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:333)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testEciesBasic(com.google.security.wycheproof.EciesTest)
+32) testEciesBasic(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:88)
@@ -2021,10 +1816,10 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-38) testValidNames(com.google.security.wycheproof.EciesTest)
+33) testValidNames(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC/NONE/NOPADDING
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testValidNames(EciesTest.java:136)
+ at com.google.security.wycheproof.EciesTest.testValidNames(EciesTest.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2057,10 +1852,10 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-39) testByteBuffer(com.google.security.wycheproof.EciesTest)
+34) testByteBuffer(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:358)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2093,56 +1888,12 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-40) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-41) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+35) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0414511501b2885da9b2108f4ed426f759133ea232db5064fc00c8ce2f6c1cef7fabc9493aaf91f4f9b927850bc7ef6fe5a944b94c7398bda083880fd0359739113b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c678693b4c08c437c67869e3242e72bfb150a30e027850e59f56ba26f4e1d48d6485d099c6db33
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2175,15 +1926,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-42) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+36) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04a02f4a2bb8dd7482cf9ae7fe95a46c99b6bb8167cb53a468c27285069a00e646ec4bca575b1ca3e5acdc283d4a0a6745bfbbbb20f1dc581edd9eb4a7ec9ea0f69fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91a9fc30ea1a796ca138600416648d5b91afb9da01f80164c36ae867aed21e30ca9027ae80a4c7dd0db8364dc29e2ec831fa04e2f67
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2216,10 +1964,10 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-43) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+37) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:386)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2252,7 +2000,7 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-44) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+38) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2291,12 +2039,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 44
+Tests run: 96, Failures: 38
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 21:06:53 --
+-- JVM shutdown starting at 2018-04-06 22:13:39 --
diff --git a/testlogs/BouncyCastleAllTests_1_50.txt b/testlogs/BouncyCastleAllTests_1_50.txt
index c6d0892..62f2d7d 100755
--- a/testlogs/BouncyCastleAllTests_1_50.txt
+++ b/testlogs/BouncyCastleAllTests_1_50.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
+...testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
@@ -607,36 +607,37 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+..E.E......E..E..testDhiesBasic:bd3dc718da9a74954a3a69ee1212f0f7f7be11e1d373a6d25afd09802e02afed17049f4efefde0b9ce9a4275a27d6a8e63e23531164fa59482b11c644088c9e2cf690520cfc4be9755720ab6a6ae7bad27480489f04653afd7715aaf711dd60f6b857fb640639d149444075f4f06e6cd7eb46de0f11b650a6c6e9c88d0f372268d78c0cd1d317ad0f027988b9fa72aac5ac3d036500b310585979e8980b0bc5057c7437cbc90a270eb639ed1adfc83314aeac42948adbb9556f30d29fd29a47f077cc62d425d12264a25c721b386cac99a4685b41a284f2311f240471068e594cdf10248206070474e1938d3d9f779d97c512d00d64eb826ab58f7d87f0df82184cf5dfe813f5f049837c22164a6c5a9d67b3e57db01207a0c06d213f48b56967ee291ea
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E.E...testTiming: SHA1WITHDSA
-count:50000 cutoff:1893885 relative average:1.0014898703107291 sigmas:0.5770242901462669
-count:25002 cutoff:537777 relative average:0.8425833114239029 sigmas:43.11206000938543
-count:12500 cutoff:531308 relative average:0.6487002050967372 sigmas:68.0289127593209
-count:6250 cutoff:527148 relative average:0.45922628281817973 sigmas:74.0484908516005
-count:3125 cutoff:523587 relative average:0.28373019094277524 sigmas:69.35252604674496
-count:1563 cutoff:520352 relative average:0.1567945674983742 sigmas:57.73956561289486
-count:782 cutoff:516950 relative average:0.08158928487838292 sigmas:44.48370437487608
-count:391 cutoff:513660 relative average:0.042581323406774056 sigmas:32.79071610449537
-count:196 cutoff:510526 relative average:0.02012701166984481 sigmas:23.760657210530443
-count:98 cutoff:507226 relative average:0.00838174452572343 sigmas:17.002711218785528
-count:49 cutoff:504162 relative average:0.0037662764201567343 sigmas:12.07869197817672
-count:25 cutoff:500596 relative average:0.0015154486922341413 sigmas:8.64712986718832
-count:13 cutoff:496987 relative average:5.295505592851453E-4 sigmas:6.241690956215612
+count:50000 cutoff:3987358 relative average:1.001265246002957 sigmas:0.490027669830773
+count:25000 cutoff:522620 relative average:0.9209507824014453 sigmas:21.64851981593136
+count:12501 cutoff:508172 relative average:0.8318619183675237 sigmas:32.56110186722547
+count:6251 cutoff:501481 relative average:0.6594981895292513 sigmas:46.6288604778053
+count:3126 cutoff:496819 relative average:0.5434209410593911 sigmas:44.21515001419397
+count:1564 cutoff:491991 relative average:0.540172193412156 sigmas:31.497365638253473
+count:782 cutoff:486166 relative average:0.6624936512977135 sigmas:16.34729690444459
+count:391 cutoff:478515 relative average:0.7150658522717716 sigmas:9.758734579816728
+count:196 cutoff:474080 relative average:0.577951953350209 sigmas:10.234121240456929
+count:98 cutoff:470236 relative average:0.3834077690469085 sigmas:10.57235441639576
+count:49 cutoff:466615 relative average:0.21333629190686956 sigmas:9.537790576214839
+count:25 cutoff:464358 relative average:0.13508507696084035 sigmas:7.490382954641749
+count:13 cutoff:461208 relative average:0.05936649800356475 sigmas:5.874254337194214
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420f827f152fa38e56c95ae9b3032776f84eb26f0c67701fb013719e6271440052ea081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200047f7564a10e43f68c4c97ee276edac7398b43adba8635f0d77348e42fa210f0bc5f3b13b90171bee053bbc6ea8edd4f7d6ea94ec1431253d91d2ba3b36c3ffa2b
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104205694609d9145ae00c004592fb2ca89733dcb508f56485214b3d0069c75bf9683a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200048be4cb90cee7b98d7f14737811d4717baee75a4a96d77e97ef5315c62575ab1fedb7f84c2818a4baeab80519a3a40048570dc7e30d617bf642203403d3c8a408
...Generated shared secret with a modified order:ECDHC
-expected:6f517a2f9dc7abbb8e9a73617720766e7b9bc05c9bcff71036bfd293e3d61ecf computed:e54e416fea3ef4dba061e5669f2dbca7d57ac6fb721d00f07279db4d2266407d
+expected:507d637103db94042c36a20231a0b4240f1bffa7c93d18a5d82d3afcf94b16c4 computed:b7f6caf28a539a04bb6629cdad7d32e84236b189e74ad11dbc91eec2c768d35e
E..E.Generated shared secret with a modified order:ECDH
-expected:11e9ae58ec59d529507aea9d8674dbce450745b6f038b8137af05d17018573a6 computed:11e9ae58ec59d529507aea9d8674dbce450745b6f038b8137af05d17018573a6
+expected:fd6da375b549a8e514189a0618896211d3b22b8646561d4875733f9f7b19d176 computed:fd6da375b549a8e514189a0618896211d3b22b8646561d4875733f9f7b19d176
Generated shared secret with a modified order:ECDH
-expected:80bb3a8d14792a6e743f2c846beb279498cf3fe5f2bfbeb0de91df3c7a052139 computed:80bb3a8d14792a6e743f2c846beb279498cf3fe5f2bfbeb0de91df3c7a052139
+expected:4cf378f899e0717eb848465a71c5acb476cf66f492a8aaebb43d3583ac51b406 computed:4cf378f899e0717eb848465a71c5acb476cf66f492a8aaebb43d3583ac51b406
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -646,36 +647,39 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:106006938859217654580232976033191835000562105484619479095033448506724857492867
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420ea5dcd185251754d4ae76d51b9941855f4ffe651126e58a28fec5b13d6c53583a00a06082a8648ce3d030107a1440342000454367d2dd61641c8b8d8c30d9343cd606503faccd3407604cddee42257b2af258a37d8759a6586ae31aba5e9c7532b08fc140d1c33e1cfe7cfd0ddc1e28e5e16
+S:18322295782722324478107508763422658770924510277074049035833954220308931384254
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d03010704793077020101042028820d4a1eb05b18336b84127a71a80dfb3feebc8505d13643517d2bf49593bea00a06082a8648ce3d030107a144034200047e8ae7c8426afbf65569cb37fc358e46e0bb0a9df6aafdc37496df4ab9457dddadfaa95575e1a59e6209baa0d92f49d9e07ad9f7b1557e5008b5d723e830a7ed
Public key:
-X:38090552976529344622471104663917530984406887198021395403857621677478939635493
-Y:62517843640838097882210474343745714911508273452643672502153110264643616398870
-encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000454367d2dd61641c8b8d8c30d9343cd606503faccd3407604cddee42257b2af258a37d8759a6586ae31aba5e9c7532b08fc140d1c33e1cfe7cfd0ddc1e28e5e16
-Signature:3046022100b9869db4a4ae07c3d91c9de4defb66aa441837f6f477c68653066d5920b7007b022100d35e5406113fc912c8007ee30ceff7da0236641dfc2cc8c8e60252277ab76f6f
-r:83915722938894239314670486551896305306894521847237586562216219837214238376059
-s:95604674585427735251596252720530416727091048800793162014840982887209018814319
-.BC curve:secp256r1 countLsb:518 countMsb:485
-BC curve:secp224r1 countLsb:489 countMsb:516
-BC curve:secp384r1 countLsb:501 countMsb:522
-BC curve:secp521r1 countLsb:505 countMsb:533
-BC curve:brainpoolP256r1 countLsb:524 countMsb:494
+X:57236843518821046031488444765639711361439616594366288081763283167443228655069
+Y:78693003270242119479599133579305344916438976518065210447238791155499098220525
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200047e8ae7c8426afbf65569cb37fc358e46e0bb0a9df6aafdc37496df4ab9457dddadfaa95575e1a59e6209baa0d92f49d9e07ad9f7b1557e5008b5d723e830a7ed
+Signature:30440220029d3db830e0f7c5a3ad0d78897967a4ac5e2926e8ce22cfc2d2decd9e6029a7022056d787728c93559d85765486a79ed88f4cf842ea51af1374bed1a3dfa6f8ea9b
+r:1182446658641616506200011627126635577785541345295742840715116424487541680551
+s:39279711921083329516841306243242838654684102321764412301914034997607681026715
+.BC curve:secp256r1 countLsb:503 countMsb:524
+BC curve:secp224r1 countLsb:499 countMsb:522
+BC curve:secp384r1 countLsb:520 countMsb:515
+BC curve:secp521r1 countLsb:536 countMsb:519
+BC curve:brainpoolP256r1 countLsb:513 countMsb:496
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:4878144 relative average:0.9997812732253085 sigmas:0.08471251557496366
-count:25000 cutoff:2045945 relative average:0.933364499818912 sigmas:18.248883289910733
-count:12501 cutoff:2016302 relative average:0.7995085515384199 sigmas:38.82655501645825
-count:6250 cutoff:2001676 relative average:0.6512502206024186 sigmas:47.75453027525146
-count:3125 cutoff:1991227 relative average:0.5015251185666884 sigmas:48.264622857348314
-count:1563 cutoff:1982060 relative average:0.3685322162535233 sigmas:43.24056051665522
-count:782 cutoff:1973495 relative average:0.24895802383862578 sigmas:36.377111776468354
-count:391 cutoff:1965800 relative average:0.16075324494053017 sigmas:28.743435614496708
-count:196 cutoff:1957320 relative average:0.1077920631310215 sigmas:21.634892686025864
-count:98 cutoff:1949254 relative average:0.07183742718192142 sigmas:15.914672912271898
-count:49 cutoff:1942098 relative average:0.02002925886759426 sigmas:11.88151379500578
-count:25 cutoff:1934833 relative average:0.011626332326725431 sigmas:8.559567046366544
-count:13 cutoff:1929313 relative average:0.004563522295591069 sigmas:6.216498810796786
+count:50000 cutoff:6561660 relative average:1.0010835010288741 sigmas:0.41963814404281524
+count:25000 cutoff:2142724 relative average:0.8892989169061571 sigmas:30.31674017537576
+count:12500 cutoff:2109894 relative average:0.8506928447052942 sigmas:28.91320629630001
+count:6250 cutoff:2086078 relative average:0.7711027200971299 sigmas:31.34305088859398
+count:3125 cutoff:2068116 relative average:0.6985247314423328 sigmas:29.19021736043134
+count:1563 cutoff:2048515 relative average:0.7102824206735325 sigmas:19.83878013107723
+count:782 cutoff:2026717 relative average:0.7986723714413981 sigmas:9.75140921576657
+count:391 cutoff:2007434 relative average:0.7741634971358998 sigmas:7.734694165147395
+count:196 cutoff:1990391 relative average:0.7023870740593093 sigmas:7.216729922059135
+count:98 cutoff:1975039 relative average:0.5934976305926392 sigmas:6.970063689962723
+count:49 cutoff:1963242 relative average:0.47773007280562857 sigmas:6.332186344161648
+count:25 cutoff:1954268 relative average:0.423517377819761 sigmas:4.992485956483535
+count:13 cutoff:1945272 relative average:0.36338911316695244 sigmas:3.975633714031011
E..E.Skipping because of:java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC
-E.E.E.E.E.E..E.E.No implementation for:ECIESWithAES-CBC
+Skipping because of:java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC/NONE/PKCS7PADDING
+.04b728b5ea6b1eb9bc36b40bf02afbe97dc6779ea7cc09f80d33c8645ac7a8ed61a09c8d610d7dbef5e6d30c58f9af39052e621d2b4cdfa3087257707769a01ec7952d4c260fe7081029a7321567b7efbd25c484cae8f22e4019cb89be005e60a7f53ed9811f749ba9d4074969f00ed3eededd5ac82b906db60e650830
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.E.E.E.E...E.No implementation for:ECIESWithAES-CBC
..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
@@ -685,98 +689,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:19093420442875980374795044383143639832346511946294343735674514612906629803514750745544382290647464894084377220160213693644987941666766310466874107921857100953478851703294897096418303375048235111214996960337601649057743171379181531086606985478091814293419459937466392187172569636695984222589051894883922142299064456834386922695819921612103971182558896964642731400692414461855810899595628143875014261772946192936072563003132193803922189570476722894267181456292467384860844678815269851128052569361532385746366937626208465384139059870011924367874025899435022499051541548409238991428038206087636270174732982730163358426951
+Modulus:17357467685833207925955556557491699485573862829072896446835349381285853836166432676618850566948494204646549200572772598559130608105181949830380722209854491143308379471117215985580762805191101776474662065165553638243531308546269243754663798036921882078974703644618084216867488992204916977391688156858906759980706360703659730034303194990772809746027110211769267592401888688770348456921592733186228521703692736609146637077071643046987735551570863028597946417143280399586768204520744788925171994987301527388943991298781122849632926167209357533093139597269242950369225066314252856780388870661609505991837564668506310359199
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100973fc00cce3bb0c18701c419a8ba12412edcc03139c75751d9104094b108d3abbcac39d2c392d5ed2e0bdc65b4e87e3e60554460120a29ca65408719f1d4ca963bb82d09a9e98e93b5355e10392a1d3a4c04061da8c2cbddbc57c4ec9a48f6e1ee43186b13fa7269025de1004686be18d10162a6a22a8578dd70681d6a7331f9bd83ce53696b36e82c0f6ee1112ab8b7981f0713776d9db7899a75e16330d494ec63ef1a118cb76594a89377eb7b0557646639e5c1a576854abec5c80d8bf7fa03e5c07c637b8f131acc58157d5ad306920f894b8a3726bb785d06f5e092071f9b54267e530bae4df4662c4d9c9fa8e3ee56eb26e5a4417b36ba4f0859ba67470203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100897f64a5bab735bfe61d7386f004293af9268d0b0ab0acd9865ca0d63f9108f177fa97157acc1f1cb4b97d2a3d12c57b71e3e4f4978480a9082fbd37e74b7084e7895210ed7e203fb163f3a1df8fcccd665d2fbce6043b7f74118a89fb5470f27e429844634ccc9c8136bfe8e2e32baa602945e893cc213f53bacf55a16ed38b1c969ad4745e09eebd7372add56a424c4488bbb2ea9d5f6cec883350afa36b386224d116be350367e8810356cf44b9b7d8d7f22a1c4eb797f95cdf9b3e10aab86440e27c59a0983846764d883f44e4ac2f0bae887c8a575bf49ddb551c497dbd3c22d60bb1b9b9ceff11bc25df49f14c548fe0906b8591ae040eab189eceb89f0203010001
Private key:
-D:2088019657813023961215131652257357930305437403590209523682488460422384543109849681757123272000097363258964120067873896308247685703125168181578142598470327334690067140050880075225139696491610861682376111429262722108073993458269283508517513235599493920089983816345295524748856471706060987278876587738728809586270552394640221663652745886191363546691735334237503287824982775225309556788132019166593069869254660143162544111353664546376431681063821667301858140889842728012942504174309581810555085135989721043130712256734208212853931980085095824738966335659746071622250032306529241518886825801477709569292357773686851120873
-encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100973fc00cce3bb0c18701c419a8ba12412edcc03139c75751d9104094b108d3abbcac39d2c392d5ed2e0bdc65b4e87e3e60554460120a29ca65408719f1d4ca963bb82d09a9e98e93b5355e10392a1d3a4c04061da8c2cbddbc57c4ec9a48f6e1ee43186b13fa7269025de1004686be18d10162a6a22a8578dd70681d6a7331f9bd83ce53696b36e82c0f6ee1112ab8b7981f0713776d9db7899a75e16330d494ec63ef1a118cb76594a89377eb7b0557646639e5c1a576854abec5c80d8bf7fa03e5c07c637b8f131acc58157d5ad306920f894b8a3726bb785d06f5e092071f9b54267e530bae4df4662c4d9c9fa8e3ee56eb26e5a4417b36ba4f0859ba6747020301000102820100108a5137554a63cf1633943d761d3b27d3b722717faf1416885565aa9d1da9004bf6cdb005e145f1d52a48e4fa7ebe6795e35d41e0572a30cf17da6e74eadf68c48924abbce024ce746faca4bb8ba67c9c99880db049f53f7f7c5db5be3da27a1cb34bb5520efe7a0b5f36deefd7866c7256e371f3a410caa1f4cbfe03892b7ac835eee7d50c4ddf3450944bea6e478161519791c75b47dc0c2f69c65916e5a2f727350e56f6c79ea3f122ce7ce4400174b47ec18c3cd77c766d1ee92e621a0cbd59f7274a2b3229a8a74ecd75147e420b55c4299f0c432431cb5fbc36668c9f48bc6cb0d7e54832386ecf05b322fbac127c70c8bbe9ac414565cc23f76e2ee902818100cb7b299c333ee1477c0252af681d80ab8bb3dbf668781fc6401de5fa5f34ccd231e810dc73813d757137af97b1112996c81ac2797bd0c2afe8935d9ce8681b5099fa1cee1944fd2d612507623ef8f47cd2c3d611f36fb130915f2cc0b480a66337d956b155fa3e662c230907129d78c349be0daf220ff68271b3c3a19597eae302818100be4965f71d7358e54c393cc0953871080de254f69767892eafd76ef12a28de27124691482761931ae8f9fd5b6f499265403f7bec0a73977628b64e9e544787b0f8cedde9783cea85a59dc30bc29de6bbfbab045d83da223176ab8023735619d6cedcbd1c283f8c2432621713bd993744f6bbae86c6e2f9f6638b94601a1b0b4d0281801852bea497539ae64aa29473b7445f8f2201fbf73681b57aa34b6fa4402135a2a2a894eb653b3bb7803321e0462041126f1513ce25c8cc9cee763f2874778d5c532b9cadb18397a80706c01d345dda0bd9bde326fe2c89c7be78dc06a50d03d6b4645c82923e799b09079f1aa355038c84921d5ca3fbb881db499bc702f4c7f502818100ab376de90975d58214b0d7ca4d3a48f23f53ecb129107f2e24088b89b22ead9da86318ac3ccb1e4b33606528d59cf47de86e76f9af79ccca03ddee25a69dea2941e71963cecdb913e22e6ee6f1099528864d9e12eae5e6a86d27e9977c5af7cb01bd3ae7d00b45f4f7e4acf115437ca8affdb60f0d7c04004017c2bd2a20356d02818002bba4944e5d62224417bede8263d79e8688eb61ed7fa783092e2636a0850efbd6ac15b32bdf7d591d9d32ea1d575b058e66e711449896c9b34821d26e050690945447c559b589325ae8aa3d32f2008e05d7fb5ba156811188644a624a9ce212e3b0b2eeaa2be93702b1bcdb2907baeb615528f558b8dbc48ebd2299912af215
-Signature:914f780e81b3f870da519cebbd8532bb25920408b5b65da205049fcf03440b5284c225be6701382a9f1cb88eac5f99a882c2928c0d2ffbe1fa0a396cd782709bd56cd0327180e8be91ec0701bd6f2c797dc991039afcfb48c073677fc0947cd5795c07b77e4b195eab6060400c90df28b1f642630e79eb271d7cbaf6ffd1a15db1969ff2434e8d7d2734c26f15fea7b0a371733c84c6bdbbea31fe7410b700f1ce6ca9c2929fee3e6a23e35d054bdab0c3cc7f68123b595e5489bb2072b5ed3df753ae5c17e136bb4532d6604d6031ba8d17acc629c294f1541b8cf16dfda83c274417fc811b63688ec293cd9c872d7610de2c057bbc731d3075aeafb193cb5a
+D:1110780467131307109593933262159088570463963573327001963746089312985227749040725371099370726120847531841366363233016590297953732554024949228506290323758025784748086477895930601698669746936409674695740310073764926053883612433328550411325815477773629757834809452454769751522685640680950025225151290566645634547781348204259947101206002469286427480867053720164304537672737515125296340176900889874694481264409609324570207271941553479476914605518946369481577313689222052343150509843791385158790878927317325033312052671069168930787376406713869912071982182617489264238069402743524917067158618374937677036492751538324162967905
+encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100897f64a5bab735bfe61d7386f004293af9268d0b0ab0acd9865ca0d63f9108f177fa97157acc1f1cb4b97d2a3d12c57b71e3e4f4978480a9082fbd37e74b7084e7895210ed7e203fb163f3a1df8fcccd665d2fbce6043b7f74118a89fb5470f27e429844634ccc9c8136bfe8e2e32baa602945e893cc213f53bacf55a16ed38b1c969ad4745e09eebd7372add56a424c4488bbb2ea9d5f6cec883350afa36b386224d116be350367e8810356cf44b9b7d8d7f22a1c4eb797f95cdf9b3e10aab86440e27c59a0983846764d883f44e4ac2f0bae887c8a575bf49ddb551c497dbd3c22d60bb1b9b9ceff11bc25df49f14c548fe0906b8591ae040eab189eceb89f02030100010282010008cc904252da9aa3f733f74ab15d72ce0557c43aeaaa37c58be5ad9d48601db4663b3123fcc1c753ecf4d9dfb41cd96a76f560978e82ba4116f70722e6b85b310628318a47c88483cef4588909678871b4954e12c69d8ab93352540d547a28e83bd043324d3082ff98fd49f6bb5e52530ae85942f30263364c436e354aa96efc255d8eaf8f34fd98ca39ad697312a3a333cf278234d9fc4a5c068c54bc78a314ec56ec3c5551908c91d8caaf3a77471f2532755dd231f508844ae50114f03486d5a9c452f7bdb9a3e10ceb1919c2d3fc19abb6254e1d071a24ec8a98f42b2ab8e543b5d494e8f9dd36afc06efc2af0ace4fc563b25d33000fe123e4e2e83796102818100edc55d2fc5b1aa28d03b4af44cfdff9af3cb2ed05218b70d793f3f09cebb82f7c16ad65f580f052f48a7ff88e5fcf5561cb3085b27eb95643f326c9b16873e74276269101fe8cdde8e0b3ff3ef617756f096ef8e1f918a4c687638fbf3757e0af7f95720dbca642570e7d283c5ddd36b5238d8c63d8f62368e6619ac9157832702818100940a01255c3c802334baae10aaf743ec503af79f106361e980a8853a7fe4266ae70db0c826ac690841c37f1a62795b3eec447f569c80f7cfc9186ca76809c2c1d87bb68a218103c07808a5eed7a50f65bee511ee0471b50fca4052c8922cd16cae940109302dab78ef28611a8e0333023c409d9cc33e777b7bcf1f408adca9c9028180456a523b492f062b662779497b54c813b7cb00bec6c8fa600f9ebc4ba3b430971e3b8f9c443c165a688ecb566f367b758969672e1da87473d0d36acb983721af8d73f892418e98d3b98a65405509926aaa50965d5ab005bd2ade20e2c57feead4b19db2af79fcdbef488697819031adf0121218036a6ae9898d80bf4ca75cf0f0281803998b2dd704771ab40e6a8b67f6df8954699caa1ae649c4196f6f9eecab75f63144635538a08664cfa192fa87a4bb0fe883a1639026703036abffff619fa4235dd1e34e5052806e7a94be4134aff434058c712f4c1f1e37a233c6778f5b64e3cb4a78cc7a0610467e6d4950319e190c4fbe03ff22fdc6bec353d5e7164157a5102818030f908ead73983410df49a942e9be3da53c22c9ad189864a5325ade2e73fd20217858e884f508f1dccdca6d064f930fdc2172b2130080f8954609bf9d7ad4f4a926837e8cd1659cf0a19c7de3ed6837af857b99426149dd30ab9ba5ddc216877216955389998904550a6382e95b176d671e34bfbb1e9cb20789c3275bc2cb2bb
+Signature:2f610909b6a699855c6e5a621550e1ca33e8e9ef9545547a4bd8e06d09d67031484458d93ec5703e22d6f7c6baeb3c2255b397fc27e5744bd839c8d3742c74b7f61c2f084c425ed8856f3819ae6930b4223182017695cf57990549060420fd798d4fc8f75f3b937b8aae28f7b903487a70a74dbaca30e597d5ffe057a9135503f5703908690f58d743032738e07bbfe29ec5c0bb17da5942abe683352be5ec766f6fd0b4b7a363ccae57dd4d66820c5c6d4c836a78e025e9ac51984a4e7bbefd1ff8ed08d6edb27dddef00829e408f9141823728d464c145b3774e32d04d940109f6117e1d7eb1e798773078f99bcdddf7fcc4fa3c38126f29f78e7a8c9b8561
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 702.217
-There were 38 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 170.33
+There were 27 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -818,7 +742,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -860,7 +784,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+3) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -896,8 +820,8 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:f8ec9ac0156a81b68efb678f72b42c87 pt: f8ec9ac0156a81b68efb678f72b42c87
+4) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:0ec88cba47d5b4c07915d22a0638c735 pt: 0ec88cba47d5b4c07915d22a0638c735
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
@@ -933,8 +857,8 @@ java.lang.AssertionError: this should fail; decrypted:f8ec9ac0156a81b68efb678f72
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:e4cc068980d548a9a46f7bf60bf8744e pt: e4cc068980d548a9a46f7bf60bf8744e
+5) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:4dfdb17a37447e6ff8d0ca7955865594 pt: 4dfdb17a37447e6ff8d0ca7955865594
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
@@ -970,118 +894,7 @@ java.lang.AssertionError: this should fail; decrypted:e4cc068980d548a9a46f7bf60b
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:9110bfa2694b6d50df1e4ae639ceec30ec9a4a00bc646541dc2f1fd670413c42a2d07013ea42cdb3b5da86e763574466 pt: 9110bfa2694b6d50df1e4ae639ceec30ec9a4a00bc646541dc2f1fd670413c42a2d07013ea42cdb3b5da86e763574466d489012406ec8bfa03ad74bddb25dcf024
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:8e57452b21c05acbcd96d2ccc103a752 pt: 8e57452b21c05acbcd96d2ccc103a752
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+6) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1117,136 +930,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+7) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:7002aca81d3fbb6d1854e364629ded0c6e9c82e86129804afb9fc85aa59409619c77047fb2659969ca97b6bcea8ae5f9de82a1f7b6a429091c3aefbf47a410e6af7a742f3e9e5653d4a0e7cf83a74a43a950a2f4f8c60da61e55f85a7811c07b5255d8c103a78871ad95316baae08d46dd384c7f1ddb94af4a1042becf05f12da505522e275c12a19bec934af643e9438eb0d7cee24b7bf319856cde598dc0fdfcb2bb1803ede77c436d529fb5b2a70bfb667238ff152b32fa746b11ee4fda8cac69e9d45b04dd100dc989b5caba6e8dd3208cea16f6e5ece3b498d248c32d776ab892136b03a0c43af3c2a2f1ff08a8b606e350a960ac79ed9b7a917832968762ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d5562ebfb0fd41c73660ebfb08326d16d55d590c5e8ad45a440dce2862f9c1d63f0d1c538e57988c25a1441c5aee04460c0f8500968
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1279,15 +968,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+8) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:689fb03426f8c90246fbfe77475316261320e4d6cf1f2d3eaf8bf5db430f67b0e21bb37e6b9205a09db1e6e70f69b8b7ee921eb1acc15229ebecb790c887fa9c8a204b34914a593b97d10a2057e769dd10a8d1ac0f897e0d4efbad49f15e5aed73ebacf5d28fe93620b1007d3f3fb9bcc8adba52338c3be17b5ae7bc442301494bf3cab39c9aefc8299faef397edac5f892e5ae06324676fbb4cdcf534298766a85d23d9d027aa466e8aa939de2e15097799b989d2286877c9247ddf03f4d43e2c8c7f0003b2f49be109aa644fb84042dee5a4e84cab7d54cc00590a69eb042f33bbaf1b01f54000b8c9e38bbcc1be9f2837007d79c878f970b9ca2bec651cc21156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071f1156d3298b9d071feaab09a81f1a871300f19ab662f036f0ae6a47bf668049da8c7a8320
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1320,7 +1006,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+9) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1361,7 +1047,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+10) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.security.InvalidParameterException: strength must be from 512 - 1024 and a multiple of 64
at org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi.initialize(Unknown Source)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
@@ -1399,7 +1085,7 @@ java.security.InvalidParameterException: strength must be from 512 - 1024 and a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+11) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1435,7 +1121,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testBiasSha1WithDSA(com.google.security.wycheproof.DsaTest)
+12) testBiasSha1WithDSA(com.google.security.wycheproof.DsaTest)
java.security.InvalidParameterException: strength must be from 512 - 1024 and a multiple of 64
at org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi.initialize(Unknown Source)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
@@ -1472,7 +1158,7 @@ java.security.InvalidParameterException: strength must be from 512 - 1024 and a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+13) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1508,8 +1194,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[6f517a2f9dc7abbb8e9a73617720766e7b9bc05c9bcff71036bfd293e3d61ecf]> but was:<[e54e416fea3ef4dba061e5669f2dbca7d57ac6fb721d00f07279db4d2266407d]>
+14) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[507d637103db94042c36a20231a0b4240f1bffa7c93d18a5d82d3afcf94b16c4]> but was:<[b7f6caf28a539a04bb6629cdad7d32e84236b189e74ad11dbc91eec2c768d35e]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1545,8 +1231,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[6f517a2f9dc7abbb8e9a7361
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[20c72fcf69910dd68be1aed49fcd28767c44cb9c7e36bdb70d1a064f1cd8669d]> but was:<[3388bca3bdb09e04e18f2d67d8c76639829b3a7f33a19f9dd9a5cbb06905804a]>
+15) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[f31b9b2e8a39ff7af57dc168e518c11df2fd3ee547d4d8a399b559151f55b24c]> but was:<[7e4776c0c644865eac46d784e71ae05cd730a0c92d2a88562b1eb6d86d27866e]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1582,8 +1268,8 @@ org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expec
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[76d7136735476af1c9c57bf30c5045b886b6155a526e4202b37d6c3d92e8af32]> but was:<[4e82a122ea41af36db6667a4e7dfdeb816d665ba02d5b5ce4f92bb59df07908a]>
+16) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[3d2d4327dc4d1ccaec48251b04779e2932e394742e6d7f414a3302b77d0dc4a0]> but was:<[6281d48cc145fe2c727a45011c3660aa850d95fcea7e9a2b780903bbee5a7aca]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublicSpec(EcdhTest.java:2000)
at com.google.security.wycheproof.EcdhTest.testModifiedPublicSpec(EcdhTest.java:2016)
@@ -1619,7 +1305,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expec
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+17) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1656,7 +1342,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+18) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1697,7 +1383,7 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testTimingAll(com.google.security.wycheproof.EcdsaTest)
+19) testTimingAll(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.EcdsaTest.testTiming(EcdsaTest.java:905)
@@ -1734,10 +1420,10 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testModifyPoint(com.google.security.wycheproof.EciesTest)
+20) testModifyPoint(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:226)
+ at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1770,89 +1456,7 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:333)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testEciesBasic(com.google.security.wycheproof.EciesTest)
+21) testEciesBasic(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:88)
@@ -1888,10 +1492,10 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testValidNames(com.google.security.wycheproof.EciesTest)
+22) testValidNames(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC/NONE/NOPADDING
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testValidNames(EciesTest.java:136)
+ at com.google.security.wycheproof.EciesTest.testValidNames(EciesTest.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1924,51 +1528,10 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testByteBuffer(com.google.security.wycheproof.EciesTest)
+23) testByteBuffer(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:358)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2001,15 +1564,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+24) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0465f4c76f165708345006eec6685e815c4d50240baf68c61897d6f5218d159dfeb80288d4f78d344682d2cfae0debc66607480bb35f05bd42aaa7e8dc467250c0843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca843f342c76da6dca454c6c6d106347ab20a730c768916807bafa4add7a421dba5f169d3f
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2042,15 +1602,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+25) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04dea1127f9a6166176dfe04d87d5327797049e62fa99d08ffecdfd877b1a38c81c5839506b3b6152a91e3071dbf8a497829e8449b372581cb1b10979488a2d1ea8bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae157748bd9eca2a84ede3d4628f9ee4ae15774d0bc8451f9302db9d37d5054ab41aa201129f88e6becb35f1563fd0b2fa9ea761246f709
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2083,10 +1640,10 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+26) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:386)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2119,7 +1676,7 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-38) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+27) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2158,12 +1715,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 38
+Tests run: 96, Failures: 27
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 20:43:57 --
+-- JVM shutdown starting at 2018-04-06 22:19:26 --
diff --git a/testlogs/BouncyCastleAllTests_1_51.txt b/testlogs/BouncyCastleAllTests_1_51.txt
index 63d182f..5627e5a 100755
--- a/testlogs/BouncyCastleAllTests_1_51.txt
+++ b/testlogs/BouncyCastleAllTests_1_51.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
+...testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
@@ -625,40 +625,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:db4fba388cbdf1a3d9e943ef874c3b2a5eb019c7d286b2ccd0e5daa0fe63cab1abf930de27e05da5133b953f5000d1e1db032bbdbd24c4406291f93cffb99588ecadf4cfcb2811917f89b9b591352c205819b329564b2f128d931b7a8ec0007c6358ef800419c7ed06e27c89f3b940e06aeb03fe3cae71e68e458ced56ff89d0734b9433270668ae8624892badf99db0eccac36243b91e5c2e48e018521fee92996f54f2ddff7b3db556a8bdabbedea65815dc2d1cc90f3df8277b28bfe90e210f78bdb04d37a1c5226335d5536af0670c7df65740b7f6b799805cc6abad26a5e1d3af370c25307f32ed106339c1de18ee8c62308e989e32afbd12da3e1a30354d2b95af665e7af0e54b8097f56eefac5cde10bea2dd1d73589c3d526a0950c18bebbf72
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:1975154 relative average:0.9990794119040571 sigmas:0.35654223643036587
-count:25000 cutoff:502606 relative average:0.8456735270758098 sigmas:42.26404522039462
-count:12500 cutoff:496691 relative average:0.6428180347747148 sigmas:69.16799014415832
-count:6250 cutoff:492797 relative average:0.4550464621518256 sigmas:74.6208363679226
-count:3128 cutoff:489577 relative average:0.2897973959515475 sigmas:68.7980707641788
-count:1564 cutoff:486452 relative average:0.1572786204053777 sigmas:57.72487666901118
-count:782 cutoff:483607 relative average:0.08184158620599283 sigmas:44.47148402782874
-count:391 cutoff:480370 relative average:0.044981863664881265 sigmas:32.70849979095833
-count:196 cutoff:477663 relative average:0.021207772179244213 sigmas:23.73445016094713
-count:98 cutoff:475161 relative average:0.010160415740973466 sigmas:16.972213360502757
-count:49 cutoff:472188 relative average:0.006145239798659978 sigmas:12.049848580090329
-count:25 cutoff:468324 relative average:0.0030200545706156002 sigmas:8.634099598054704
-count:13 cutoff:464966 relative average:0.0015686253356537714 sigmas:6.2352019363170035
+count:50000 cutoff:2643456 relative average:1.0038704477993619 sigmas:1.4990179869293343
+count:25000 cutoff:535674 relative average:0.878189045394991 sigmas:33.35930379420063
+count:12501 cutoff:525443 relative average:0.7955803723177616 sigmas:39.587274078521524
+count:6250 cutoff:516968 relative average:0.7318633221341402 sigmas:36.71612674040689
+count:3125 cutoff:511175 relative average:0.6468279915491907 sigmas:34.19573267691524
+count:1563 cutoff:504708 relative average:0.7061354286608044 sigmas:20.122750689360615
+count:782 cutoff:496629 relative average:0.7504724967308626 sigmas:12.085995411492311
+count:391 cutoff:490552 relative average:0.6467519010195533 sigmas:12.09842507912746
+count:196 cutoff:486098 relative average:0.5277504727110631 sigmas:11.45144245160753
+count:98 cutoff:482444 relative average:0.39320700692976873 sigmas:10.404332487627649
+count:49 cutoff:479738 relative average:0.18648968343340028 sigmas:9.863288405423544
+count:25 cutoff:475928 relative average:0.0712134832797174 sigmas:8.04352718172225
+count:13 cutoff:473317 relative average:0.020694857046896848 sigmas:6.115758657563386
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420fc853220ba6010278f0ab112ffecc22852a25b8a4121b8d1ae670b500f09e84aa081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004049a5574e14f426c984c64275dec49d57c538dc5e4565eac8794ebee003bb7cffc5cbeed1350a488b64ccb86ebb8aeac238462059f3a8ea14c51e6cb6843daa0
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201010482015530820151020101042091434609b8329bad5ba5c9e7630abf42221c82dc724f0d485e619997be528a31a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200042405e2ba16493d7dd9e19fbca356c70d1114329fccbf91a5745264127b49629fec615c26e874dd46d221a74d5f6655bf6af20e8a658b61966ef62d7ae23efa9c
...Generated shared secret with a modified order:ECDHC
-expected:0351b3704063db6b7b32935c97ccd81bf5085d101a5d0c4164328e34f578550d computed:6d54b2a2ff018d972eb038293b6cdacada35d9943f81853f10244636cacc4bfa
+expected:3935dab777ef93c2302e8e456cdb51bf79889b1671a63f3e439aeb86c4038c91 computed:c60b01018328c1048115e3d14d667ffcf05a28f5b2784ca989ca0007509eeb32
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:2568a2a173b8224fac528ca396ff624998de4ae97c83a838c66050ca5f0b2ab2 computed:2568a2a173b8224fac528ca396ff624998de4ae97c83a838c66050ca5f0b2ab2
+expected:aab4bf31b8920ac104571387a055b8d37dc1d466a822152fb153a9760626f42b computed:aab4bf31b8920ac104571387a055b8d37dc1d466a822152fb153a9760626f42b
Generated shared secret with a modified order:ECDH
-expected:82e87cec0ff9767b2a2f954096ca0b36ba2447fc7f8e245bfb014661cb6fa288 computed:82e87cec0ff9767b2a2f954096ca0b36ba2447fc7f8e245bfb014661cb6fa288
+expected:1602fd9b44548b13610c2984dfebba1064f2421cc2e8af032cc080c2eb856400 computed:1602fd9b44548b13610c2984dfebba1064f2421cc2e8af032cc080c2eb856400
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -668,35 +669,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:5128686423797377313724977134565897854837804550075044828433616056848971511143
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104200b56bbd047ed321da6a2f1f9fbbdde3c863346cff1371b3033a83bf7fe08b567a00a06082a8648ce3d030107a14403420004fc398d113c067cc1a7973e692d3bb9ed80ae8724265508007a279e92bc8da8a912a27b97428c82d870085c61f0e04c14ee0c260ccd8ee08ac7ce048c81676af6
+S:45872973051586321151304663644233095202246773818019952578023751161965061987164
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420656b2ec1eec06397ea76bd386eb579921671f311e26cae66404f76feef89db5ca00a06082a8648ce3d030107a1440342000462c1cf0439b0b3c5f8e6d2eec367aeb3625a53f02fd6e86330842aa86a40f963fa923976d4f56008750fb96923d45b007598cd7f38d523c5b9950c6d96c858c6
Public key:
-X:114084521736550894820775691553277684943503031845945927503212578328109768353961
-Y:8428713491753909401382570415460425523414696443436576510373538166162365836022
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004fc398d113c067cc1a7973e692d3bb9ed80ae8724265508007a279e92bc8da8a912a27b97428c82d870085c61f0e04c14ee0c260ccd8ee08ac7ce048c81676af6
-Signature:30460221008035d6311c657791e1feb1f6d68c776c9f0eb171c31c9885ca25647daf6765fe022100e73c40e0ae8c5e3dc004d11d904abf3506c42b01054c7493e2c1f15728b8eb65
-r:57991165810837437250425627277484109081663053268648651589917010864296759354878
-s:104590726615797569661461435249167097824669210254283185138465119894994689780581
-.BC curve:secp256r1 countLsb:524 countMsb:504
-BC curve:secp224r1 countLsb:499 countMsb:523
-BC curve:secp384r1 countLsb:479 countMsb:504
-BC curve:secp521r1 countLsb:507 countMsb:506
-BC curve:brainpoolP256r1 countLsb:494 countMsb:529
+X:44669089420071398261733810076321625531894309899565739959039025678649095420259
+Y:113336568420516862298371028968097965032747745619988429721734570330505626540230
+encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000462c1cf0439b0b3c5f8e6d2eec367aeb3625a53f02fd6e86330842aa86a40f963fa923976d4f56008750fb96923d45b007598cd7f38d523c5b9950c6d96c858c6
+Signature:3044022028b7e8ece716cc1fff665dcc527a0189fbafac05e94817dee1a02e65d334eab402200b5fa6dd652aa717143e18f127e5398bd673c180004ed5e988ce72725308409d
+r:18417454548221486392311932206327299703018173687658745615707528829681469287092
+s:5144443464265745217196313825961785701010573504462926557989783014698358685853
+.BC curve:secp256r1 countLsb:563 countMsb:508
+BC curve:secp224r1 countLsb:515 countMsb:488
+BC curve:secp384r1 countLsb:489 countMsb:534
+BC curve:secp521r1 countLsb:508 countMsb:521
+BC curve:brainpoolP256r1 countLsb:509 countMsb:528
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1073765 relative average:0.9962340132087707 sigmas:1.4585604124468134
-count:25001 cutoff:137239 relative average:0.9872226141909695 sigmas:3.4993012007007183
-count:12503 cutoff:135575 relative average:0.9718200536834778 sigmas:5.457677942536303
-count:6254 cutoff:134514 relative average:0.955026137020696 sigmas:6.160270153713877
-count:3132 cutoff:133670 relative average:0.942613190045944 sigmas:5.562673728449369
-count:1563 cutoff:132941 relative average:0.9166062803721152 sigmas:5.710491133663715
-count:782 cutoff:132285 relative average:0.9078090447144159 sigmas:4.46531724144604
-count:392 cutoff:131692 relative average:0.8988197674034872 sigmas:3.4697591868460402
-count:196 cutoff:131145 relative average:0.8983048119843566 sigmas:2.465977255397095
-count:98 cutoff:130592 relative average:0.8997524046592225 sigmas:1.7188881956813942
-count:49 cutoff:130182 relative average:0.903961810487994 sigmas:1.16440116591206
-count:25 cutoff:129611 relative average:0.9051027514734802 sigmas:0.8218342797321155
-count:13 cutoff:129239 relative average:0.9473691754885262 sigmas:0.3286793937282113
-..E.E.E.E..E.E..E.E.E..E........Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:2234075 relative average:0.9972085740756091 sigmas:1.0811146117337447
+count:25001 cutoff:151967 relative average:0.9861887531553474 sigmas:3.782441368602137
+count:12500 cutoff:148857 relative average:0.9872184760291784 sigmas:2.4751314739071337
+count:6250 cutoff:146823 relative average:0.973046992096516 sigmas:3.690692605338294
+count:3126 cutoff:145315 relative average:0.9690170192336217 sigmas:3.0003941609825326
+count:1563 cutoff:143709 relative average:0.9797042470962013 sigmas:1.3897775219204707
+count:783 cutoff:141257 relative average:0.998724224156312 sigmas:0.061832368576990586
+count:391 cutoff:139225 relative average:1.0173792707375002 sigmas:0.5952241655493202
+count:196 cutoff:138136 relative average:0.9696922255039706 sigmas:0.7349244740804839
+count:98 cutoff:137110 relative average:0.9041156593373235 sigmas:1.6440739626272785
+count:49 cutoff:136301 relative average:0.9413953619728087 sigmas:0.7105434743559487
+count:25 cutoff:135622 relative average:0.9464606529437251 sigmas:0.46366434652765726
+count:13 cutoff:134751 relative average:1.0342155168522367 sigmas:0.21367583425638406
+....04a766f069d84b63d6c01d8400cbbf107fd3b4bf677c3f63d7902ffa370722fba3d6335190d949c8d040ad05a3aeff954be46bbdb47dd955aae57e10428be8630e75f4993f2fe03fcc02b83b7ca6a0ffd8e0d7f172cef3e6cbeaacc45b580722868bbf29d8470fb3093d0860b83ed238b54333f0ba15162cfc086354d1
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:04f3f32c00cd567557a7ce697e027db3601143adc81427e9b373a692834323c5408bd7118514f6be19b772cf5e0b27aa82c1ca0f8e763c8f68f17befd7542f957b19521bc5934e6002d9c7bd7afb1931b5a26542517d69c098a3b9fe10b3a9044c42a22c6d
+..E.E...E.0479d1c6058d2f76a9302166feb3d1fa45eb518cfc6b12312152fccb3fb1bc9e1d1ad64d3cc2bffe5fe69d9a6e38690f317c6337a6472797dd551aa5f0a79305f1e6b547a8cdd0992184128f97da108ec3aefdfe3a13d35cbad98b399afb08ff7d17e5bf0bd231f77c5e4a0a8b17422d564029473aae8ebd693f3d9371905d3db181efcfa7
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -705,98 +712,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:19690946630028132508978680276162550425054201200447573262902299730827690265949421945059184360182979868216866027987969953973751736983974173001862842036076489329375651036818137697654307372957042145542024771165743236960762553335695125427525484208909245551144660806346308362681445591528983696491310173462545696576413097767631664612673177734073755065613166634879502807149839056307367038217416161597172877570677208700743183681256191356142478752866754796358174582249620557818384545104874858732043080783144892308687861113428910578424501272276141246748188978760921205531462310150835584982540093484082813394152557580096414882989
+Modulus:19741788372325581435793080496375483586782633897848772249832778596480493637064595466789107772734946464178390979999286932783752139353196572543586909729784594053456859391544360169865344992952203953354296193490831037408520232771176694247483384849337092304775839236678092806897530656655108424365032450856962788959437536849825479212925116067304093014909641054038788592328300442102944392929789905695862035334934492348755783967528749831354035308795516339844207877376286653950025170428888530704670850353346581164915506713732804046101625624129765508579838399146184000516643330726226476434155797343339652577851923063911851017791
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a02820101009bfb7adaaffc59d139ab1c21ad6050bea4c7cebcc64de34a423ef9ba460d6b2baeb0edcc3f0a5edac946ceff274c4823ad7e990de29d45716290c10540adc3fc05eb6fe14d1d38fee86eab939526fa96ad3a23f7d388961fe509e104b0c77f1f78b092562f6a632be945792a3ece80421fba6a803d8f53340e3958df13dc70b4a7df64fed2d32bcf8b6a97895cc6fcb43da468193fce7a29bb529d0dc3885a9380d1482bbed55512bae0cbf2ff5943df11b90918a2c49b17f80db335a9e62586cf987975b6613f2f0cd299dc65af7e82d4238898cd1df9f7c16c76cb32b648515cddea85905526d89b045828362fbd95d8b741079291d99d732bf1c65f431cad0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a02820101009c629518bed441f09a14a8f9092914f3e769b9c8a6f484c652c7ef7c509e924566fbf9ebd76b16ff8825e06c178bf5c576fbd7de702fe22b7b2cd8cae8f82f376be53f23fd1fc12d296adf94e373d15d463dceca653f35e6482ca16f0550fb192596e69bea8666e2114b9222daf01c4a2e5c603f58ffcef3ddc42bdabcd46c80324f085fca1ef6f96f10e7aa390aa0106db6d8c6b264c67357c13b5f6e0429c5a6f608196b192b34c187de9076c244e14a8eae54509ab464be18a9fe95b7f67d9e5377a0ecc31d073b7e323a1149a252a1b30c3551a6afd4a2486a751c6b849cab5387d79e1a11023ae8718e2ec21a3ef8f1cb39f1e7a20e5b3f7877f6e8c63f0203010001
Private key:
-D:17590162357980942333920637758334017648577112307249388538941592348464335056838257896661274522283787118494231069602754183978413650941098432311428049605598334800010642689633609587090825413884828912076503963072744217890166527076892001741832544562775100794845112942422518929660882130034398134047694494794768417932612449518623145543584598925468787468825622398809632071613055793153990260304106440844740796930996108453581795093539649978575176297398090654770545719361281242063355195687315091712012944716713354956361306255227705137277180026465687822084854384048056154762596367591510245361328231061212705341248722234868884178433
-encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101009bfb7adaaffc59d139ab1c21ad6050bea4c7cebcc64de34a423ef9ba460d6b2baeb0edcc3f0a5edac946ceff274c4823ad7e990de29d45716290c10540adc3fc05eb6fe14d1d38fee86eab939526fa96ad3a23f7d388961fe509e104b0c77f1f78b092562f6a632be945792a3ece80421fba6a803d8f53340e3958df13dc70b4a7df64fed2d32bcf8b6a97895cc6fcb43da468193fce7a29bb529d0dc3885a9380d1482bbed55512bae0cbf2ff5943df11b90918a2c49b17f80db335a9e62586cf987975b6613f2f0cd299dc65af7e82d4238898cd1df9f7c16c76cb32b648515cddea85905526d89b045828362fbd95d8b741079291d99d732bf1c65f431cad020301000102820101008b5746f36efcfe7b7289d1d29fe007a196f04b55c5ccb47b94dc4f18411621a3df257cf8d563fd427345c70a965f859e219193469d27236edbbf363eebfd8eb367d25f9aa3d9b41dbb238a3087b04f71250468372e87b89c7b6daccf14e0d24619f99a7055613380799daf54b6d0a030f1c904f4d48961a981ff66cdb91f56aa1598db2e782179cbd1a22c41932983780ab0559ec80475bc00eb11d982611b1daab9a387e678b102e91356cdc0ee918d2925cdf8c02dea2e39cf6ecf961b03acca69418d80cda205d86cd72e8ee8d48ef665a86c0d446c0c855b0cbc4859ae211b7927ba73a7361531404c4a3520d626e4b409c071178941dbd17a14d93e060102818100d86420bb65184738cb6be89d6c0a6e2025ffa75b7fc9e2d4762f5c10fd8ddb4eab986d36e18c8b2f49bff0062c16e0f7e4410f2463810bd63318fc5c3d0905b494f50edd797bbae7149ba13171e616dbc073d6f72b65fbb615ad47bbbda03820ff0aa055340a826805841984e541e3b7d758b3b44f01548e12ca9d8d6af75c8102818100b888a826ebee50f5f000b8b0fd782fdbe0dc553f1ae1b60edcbf706b82d77838982a285324eed16ffe4dedd812d2ec8a1b1cb8cd7ffb3ce45c13fd4f9d8e3a8238a7269d00a856c6d41b3713e11ad710d15dfd9cdde82cb540b8ed144576958fcd723c9ac93e4ca254aea53ca4a84f89b223fec3a4a38009d95bbc9b3402da2d0281801a14bf6936bf1d5e780e32843ed0670392f0e45fffdffa69f730b01d102277eb5c7d4bb490acdaddc13ad4183a5a2b95553a8e33a9969531a508fee9b325923d78b2acaeff046dbb8a5d53a95cfc09874503f145eb42287b82d356d10702f7a0ea7c8264a2981dada1f4910ad683018a57f745f996882783d439fd915cf22181028180782cc71551e0c9e8e07c17cb6bc6b1a44834356ffb59b2eecae4019a8283404fdb08d96a0c4b5b29cc3b84018b80c17acf5d4d1cc7941e7bb95b6b44461f320b4c49cee3c061e0e16b90adb5cc8b663415a5585ca847639646a827fd639f6e974ffc6d6b80538a24cd714f3ac720b56bbf0fa202575e032c66d94f62e3e457a102818011ac87b883a9ac7bf75a67f4684747b4288b1335cad30275c7aba19b8b241562c1c4637c905aaa404dc228350c99665924d68fa7f505fcc1cb3bab70be7e946b3f1a95023e472b5583925350b7e6dc65ff9e99e918aa1cd5c105658b6fb5401a5cfbac8612232c1deeadda95c77e00d7881dcf519a3ffde8dcc002c282a1c01d
-Signature:2e968447a5f2e0c7f3946674c4a8f0cd86c30d932f06dd8e2e16b04c42b083dc39d52f3455944235fbb05162bfeb21669b5988408356f349707e50de8549691fcab986be4a0b6a8ce36547e408f57ed49d30d4d9192fc4fc16508b0322c268f2d40c5883a872957ff2cc4c1e8ccd6dbf47d7213669336019a849349b91409240a9f10d469ff433c7262bd8b4e448d359c8830f620ec207cb9e8bfac077892c9357870fe294b4b3c589f213e74ff10abd0d9da5cd203d87bcd18b8539101ff3055c95baa467866379154269c7f9cc48441b7ad79456f855c2ead121bba040cd440cfba5fd6e2aca9e5dca0da10f1b9c44ae0d503c09ba05bbffe940033098860b
+D:2403523649583987888920655344013000038740537953689295417571993536800858426997549586180482642151031292822060540296539518694501706210219501233277079401467129651228043411891488011281498812865490262657947866516064831278248667733970411269979857602771879388739283477569228107881584404373882083678053525876797932360423964593838881885201037742640102533971292507040829719272369048564184173749641730853368195388985402172844430100699878552477259720069054653898423902766615783688243287056949100070698902365877056197983740250473232816308831699999415763949520827834433252952425117074744639425121427687225152288114551148120280916073
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101009c629518bed441f09a14a8f9092914f3e769b9c8a6f484c652c7ef7c509e924566fbf9ebd76b16ff8825e06c178bf5c576fbd7de702fe22b7b2cd8cae8f82f376be53f23fd1fc12d296adf94e373d15d463dceca653f35e6482ca16f0550fb192596e69bea8666e2114b9222daf01c4a2e5c603f58ffcef3ddc42bdabcd46c80324f085fca1ef6f96f10e7aa390aa0106db6d8c6b264c67357c13b5f6e0429c5a6f608196b192b34c187de9076c244e14a8eae54509ab464be18a9fe95b7f67d9e5377a0ecc31d073b7e323a1149a252a1b30c3551a6afd4a2486a751c6b849cab5387d79e1a11023ae8718e2ec21a3ef8f1cb39f1e7a20e5b3f7877f6e8c63f020301000102820100130a2192e8b0d8f25d2004ce8521fe4e0faf9c91e459c2cc8e898f0bb89905bff360dc35ad7d794855201f69a9983dacf3e6878aaa67fa064731d79724b40ab399ac487aae37ae823c17a9eeeb9e4f3026fc21701cd18c53641822f36c5746aaf21ba429f96cb19bf67517eeac6f2d528ec06a6b6bff8107c9c93779a321cdafc11e5db85d3d65a1442580de63f94b7bd614608911a40fcb9d7c30c33ce3eaf2ee92e85b66e90d0201789e46645eea0fd84a89942bd62771a477795f6c946e69652fea91ae0ede495358f07a2ba30a49cb34f330d07b84143064f35b4640bd22b3c2f57a309162aad7245904d5f44dea53620ec8812a67f0ef8085e5d67fe06902818100d53fe6aa08d2bd9beab542f7127ab8ba949ec4668eeb36c6f4641637b073abccd73a874c91033c2739d2226cf5528ba3c7612b0422b08a7a547c72a2b66e036c5ae3152b3a5f7da8f2a1b81dcdd4cf03da01a38eff6ce416dc978fc58b3c626475f69c62a2e10aa0066481a4b20ac33583d463db2e10eacec88fb79203786bbb02818100bbbc5c0c392c0c3bcdbdf2ecaec50d727b2d3c46250af3f26b4346fd875e829095cb215f2df0764939363d88b5ea979fadc5fb38a5f6a2afed0600c970fcea60d02680a1c2ab9bc4c5fb2fed9c0085c3f7c36d67dd1b962b8c9bc86c33ea344d08cf1157f9cae782e7b320bd04f0f7a9948b8b287aea06ef40810ee226f9ad4d028181009993a1ad47196e904162354df6b30722e831c7440d1d7c9fa0160ca222a3cb508498942422337038d7bd6c29882be0811cefefa8d4cacb8ffa147e028cdb81ffa11cf57be2582f096363f053168f725f55bbe46cf1ab1c4112b0dc4bea509c93b918d7db796e14d6d683bf923adee1634303ccbe66d8ac222bf2c4c395583e4d02818061ce24ea5d52bc60dfb428fdf3a3477930010618c92da69fd20fefc91fa036475b32c38511aae80507e061387b05e7ce51bb0641a1fd170eae5e65448d2fc66f7fa1bf7c06ae5eeda9f34e29ed0f3ca136d0428c4cde156344d2d81cbf0332123c179cc287a994e9570ab470a54560d1a148fdcbae15845d5aeea1b1627acb35028180707487b290d1a1baf07f24d791b245b89b474cf9101ac5f7a20a4af7e72fe867283f436044bfe1b6076cca8f09e2a9f38958ef0ff57651a062bbb6dd5b588f79a0fa99050cfd12cf92bb7a75d1ed86652336d684e382350ceb03ec0a7f54f8fa34ffa3d59a44010525331f81c19988670258b9abc468108df02b14ce5913043f
+Signature:6a513676fc96d0368314c3b0f308a8460aad7d0a3ad67e57e0006677b99a3e7b6b29e71ef96bdb1bc2a3390ad1699f2b1a4556baa38782cf156a827e28bc81291b785b7446f6a0069512e1fe2d7e8fc6a03e14a37d170597242cd2c0e09ad4b0a31bca546762e142c873416ff7811bdcf332f07c0d08935c4ba13216ffdc3630eff5cbbbe8695a9ae0d5e78f348a0cd084723ead4f9823210175e98b3b2d8649388e1f200158f7e4934b37d66d6d5c45a2fa5e7f5b6fd572cfe8ab2569214ef5604661a54ca5fabebe43d128c9c6461c80fd093414b83eaed5412533d5e6c10f5840cec86d6b0103ab5306397c361cb452d3374b4a7fcd2141540e508e2657af
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 1,103.339
-There were 36 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 75.727
+There were 21 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -838,7 +765,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -880,7 +807,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+3) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -916,192 +843,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:3181cc7b2ff2e50a17264e8f41515680 pt: 3181cc7b2ff2e50a17264e8f41515680
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:0ebd740d2179e6f53639e5224ccf398b pt: 0ebd740d2179e6f53639e5224ccf398b
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:a50aa9330d317a1a83f92845e97b6b16 pt: a50aa9330d317a1a83f92845e97b6b16
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:c1359662a8b26f023ebd6761695d5658 pt: c1359662a8b26f023ebd6761695d5658
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+4) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1137,136 +879,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+5) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:48850a5086f4465d1b35089629f87066519bdfd1eefc064af658e34fcccc7f63a1e5eefed0940423712ba073c9e50a5cebfc683dfde4fd4c4c713430370516f8b761856b870aa51558a37aa21a55979c5e7551bfbf5750c23b5e22cb32b7be5da606de52ec7b27fc8f708f5311737b8123df7753a2dd427eefccc8ec1d5cf58c979402cad0196fe3d1fb961e7e0a7ff9d09baaddf335824d9f5c3a227b29d9dd22ce0b959058cf846a3ecda34be118c01fc4c4ed9e17f653ffc4df6365de63768e13aa63a26f0211d63540d27a992f71a723e081c1059a958b3f67479c1eb6c1ada1fcf64b481d251b82c5f8e1582a1de44905263e6d9b256f683e1390c1b99873318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c073318b1e19301c04e12eb04adeaac8c0980c2c5a6018de7a13986808513f9362dd7aa16e298a418ad77387da409febb52baaf2ca
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1299,15 +917,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+6) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:2b393eb0dc145341361db1609a9297c695f2090d57759d7f6d04685542b04ddb4bb68334f243dfb7a51f099ea13d7ede5b014769d2e09c467d71b62b58d5a075c5540bc5d7dcd2e3c32caa598d52214142e8cbce78455bea7d3b1a57ece1a7cd3169ea3061da811c21af97db259fe03cea465f5c7ebc5a74ce6bbb83f4f44e28c7bcb3757a4b2b5019f3d2053b173c46b19bb0635f17c54b04dc8e1a1f83804f9fb0abee2430c137c6de81dc1128649cc4e0e7222050f856a20a1c45e257d0dde5f54f9bbbdc596e0b6d9098aef043875edcb3ccd0f3501e80cd11e0cff522ca1c1ef0d34327f64362ddf5e3312ff65b0ee0373d125aa1e21bbf6c83089bba4b9d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e59d4c55debcba29e54d8c925398b1506a0e8b5f2b2f2944fbb010bbb58a2f355cd62cbb7c
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1340,7 +955,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+7) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1381,7 +996,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+8) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1419,7 +1034,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+9) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1455,7 +1070,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testTiming(com.google.security.wycheproof.DsaTest)
+10) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1491,8 +1106,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[0351b3704063db6b7b32935c97ccd81bf5085d101a5d0c4164328e34f578550d]> but was:<[6d54b2a2ff018d972eb038293b6cdacada35d9943f81853f10244636cacc4bfa]>
+11) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[3935dab777ef93c2302e8e456cdb51bf79889b1671a63f3e439aeb86c4038c91]> but was:<[c60b01018328c1048115e3d14d667ffcf05a28f5b2784ca989ca0007509eeb32]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1528,8 +1143,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[0351b3704063db6b7b32935c
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[a3d2c6de0476d5f567c8923ca90e1b61e20500e72cc43b13e8831313d3f69e8]b> but was:<[4859ad34691c5eee735589253253b8f81eb2bc7b55b2c6f18e8a1d41a3d6a51]b>
+12) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[0b286458cbd389377aff4d3c4a3a258e35118a42d185758b93cb3e7fb1098297]> but was:<[bcc58355d3eef7a7531e3906b057a8b7ae98b4d3bf0c599fc7984aad158ec72e]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1565,7 +1180,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[a3d2c
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+13) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.bouncycastle.math.ec.ECAlgorithms.validatePoint(Unknown Source)
at org.bouncycastle.math.ec.AbstractECMultiplier.multiply(Unknown Source)
@@ -1607,7 +1222,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testEncode(com.google.security.wycheproof.EcdhTest)
+14) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1644,7 +1259,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+15) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1685,55 +1300,13 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+16) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.bouncycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.bouncycastle.jce.interfaces.ECKey
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(Unknown Source)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1766,177 +1339,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+17) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04dd796612bd6b6864a33628762cc3ff86e39e320464a9c0f2fba448d476b4a10f32b7dd9f2bf3bb3d9d4af1a80cb6f12424e336d0558ba86ebf045ce5910eecffaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcaf2068fbd92f8abcd0060d624d99edfe501aa7e852d64e906223759b252db6b60efeda4a
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1969,15 +1377,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+18) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04ea71c585a98023093a5caf46445a2c15b1df8793fcea76a3dda822b07a8b33f581e8917b54f601d94467d6f48c1b20ea0362e5e9190de843950db3240fa1d97e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e7535b0a425c057774a5d03897c94043e6135c86c0bf1ea94198ae97dcbee2b601103d1eeae2a93f8a224b50fd2b5e4353d953214
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2010,15 +1415,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+19) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2051,14 +1456,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+20) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.bouncycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.bouncycastle.jce.interfaces.ECKey
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(Unknown Source)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2091,7 +1495,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+21) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2130,12 +1534,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 36
+Tests run: 96, Failures: 21
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 20:44:51 --
+-- JVM shutdown starting at 2018-04-06 22:18:49 --
diff --git a/testlogs/BouncyCastleAllTests_1_52.txt b/testlogs/BouncyCastleAllTests_1_52.txt
index f777b4a..88f169e 100755
--- a/testlogs/BouncyCastleAllTests_1_52.txt
+++ b/testlogs/BouncyCastleAllTests_1_52.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -642,40 +642,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:a9654ecd6d26fb66653a5029a11f84879e091052c55f3afd40c3b852fe49ad137344e4bad715cccfe47db4407eae8bdfd182803a526479a57028fcc63993a91aacac143f52249d52c119c885c3ec848cebb386e29e773aa24c9459a558d6b0d73299ad2d8a68ecaa5b915456c6772cb991f8748b9dbba4c343fd0a6819b0843a34a7315652d641abe9776ad96c87744ec87aec4a01fc837083bcd874cecc2c0768ba36cdaff7c9af1d6f858426b51299a09abef2ee0f66239b5c5b186ef6cb07280696af17c8fcf0aeb1372e5d1d26b03315b3b5bbd21126248c9b688aae405b82379c4f1e516790186b5ca3b8c08bb702c6ee8954a9b16ce05e0344e27a653df79a1cf107b44f1cf1fea39d7b8c79ed8a0f59414b71d9a6df8a4c0547d6d6f74753be38
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:1912757 relative average:1.0022217124941275 sigmas:0.8604655489816408
-count:25000 cutoff:534384 relative average:0.8592560790257264 sigmas:38.544310174667075
-count:12501 cutoff:528020 relative average:0.6565436620494189 sigmas:66.5126941997475
-count:6251 cutoff:523893 relative average:0.45986096461580983 sigmas:73.96750015726977
-count:3125 cutoff:520402 relative average:0.29408181167790776 sigmas:68.35023467890936
-count:1563 cutoff:517088 relative average:0.1780191106221517 sigmas:56.28618799806704
-count:782 cutoff:513882 relative average:0.09821557910321245 sigmas:43.67840109937032
-count:391 cutoff:511026 relative average:0.05072269120780557 sigmas:32.51188168566428
-count:196 cutoff:507809 relative average:0.025267552935387266 sigmas:23.636005709425906
-count:98 cutoff:504226 relative average:0.011518300726081204 sigmas:16.94893048310245
-count:49 cutoff:501350 relative average:0.004239341947847907 sigmas:12.072956363471828
-count:25 cutoff:497863 relative average:0.0015652997397920625 sigmas:8.646698144452417
-count:13 cutoff:494468 relative average:0.0010860387495892664 sigmas:6.23821568858103
+count:50000 cutoff:1480604 relative average:1.0008477960699205 sigmas:0.32835000597822334
+count:25000 cutoff:499025 relative average:0.9502316486057952 sigmas:13.62962435422482
+count:12500 cutoff:488484 relative average:0.7539894852167636 sigmas:47.63973133736941
+count:6251 cutoff:483229 relative average:0.6297645659480263 sigmas:50.70063026825587
+count:3125 cutoff:477156 relative average:0.7119757210364218 sigmas:27.88783089323344
+count:1563 cutoff:467357 relative average:0.8597171261267004 sigmas:9.606048405478248
+count:782 cutoff:461559 relative average:0.7105194148626717 sigmas:14.02114387331582
+count:392 cutoff:457840 relative average:0.5128595555919894 sigmas:16.705437306211657
+count:196 cutoff:454697 relative average:0.28177736421136557 sigmas:17.415973348647327
+count:98 cutoff:451655 relative average:0.167716455537018 sigmas:14.270690036745112
+count:49 cutoff:448874 relative average:0.10041331898012289 sigmas:10.90690886137079
+count:25 cutoff:445445 relative average:0.033294383964342075 sigmas:8.371916214679652
+count:13 cutoff:443360 relative average:0.015780045574525548 sigmas:6.146451645370851
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420de23ae53c866d557ec5a2a2673b384dda229051a856358b3e118a3de44917592a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200044a1bb2847dea2de84fbd81f76f9b8002d669cecd6cc2a512def01a7ea95740af07e041af5682b747711ce0f31484391d9c7fb2cb6cdad0e358238a912fa5336d
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201010482015530820151020101042010c9d1bc055ce9f099d1095bc73993a600e11f6fb16f252409262e4fb7a3ba66a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004656195da6398829974813f2427799737fcc049c13ec1d2a5dd9d470642310bd1fa1dc7b4d08358dfe46db61c169c0a7c488c29793ba6c8fd8ea9fa43f4f9e11b
...Generated shared secret with a modified order:ECDHC
-expected:9e32ae48fa9c17bec6729fba52ba84e8f97954476d452300dd25eca4c5104a57 computed:300271c4d10a158030d8a5ee9abca573179c7c2f026143b5b57d6bfd1752a900
+expected:ff50d31a81c3751cbbd932702b2be38ad93161360df87ea59796e9a1fabfe0a6 computed:707b0951c169e8f3b1cdc0128bdd14026c46d67b933ad98c57b2a1328829184f
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:e71ea76ca5bb4b39ade352b1519964c89a905661719d25d6370d6f99add93e04 computed:e71ea76ca5bb4b39ade352b1519964c89a905661719d25d6370d6f99add93e04
+expected:a607e741c639ab4f8e1c8f51ca73e2301779870907c36bbdbee71b8405fc1a43 computed:a607e741c639ab4f8e1c8f51ca73e2301779870907c36bbdbee71b8405fc1a43
Generated shared secret with a modified order:ECDH
-expected:8b309e8d9377ec202e0131fa405918815b699aa98d8eeef470d646addcffa363 computed:8b309e8d9377ec202e0131fa405918815b699aa98d8eeef470d646addcffa363
+expected:6f88927f49d534d5d1c0f91aa2059a7ed7a2931f84b525a53f267a302aedb190 computed:6f88927f49d534d5d1c0f91aa2059a7ed7a2931f84b525a53f267a302aedb190
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -685,35 +686,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:13227085381202652127986282602088593561696016767698208008440873682180058780790
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104201d3e43d88428aac5675cc21f7c1cfdc033b707b1eb6d96a692cb32e01dde1476a00a06082a8648ce3d030107a144034200046bb0f61562ce307a5d0215a0ed9b621cc4cdb424fc4186dd17618e8926803f24bd4797a20e8eb8baa106fa5fc3ec93c99aedcdbd7cacebceb66577db8642e865
+S:12686430013508907108163809679784637849217637730198493711738135764897486036613
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104201c0c43d25d1d3dee4ff293e23cb8247094ee92f35294145ca197799151475e85a00a06082a8648ce3d030107a144034200046b3b4dd47af515e597c83c8e1a447f6631383ec16440adf003da0abaebf1be2400aa35b61af46f3bb90535efa4b42526021b98e0ed8f8c6962222d43579a98be
Public key:
-X:48710138287976115656141225713686052544261388020944588653304460255907589144356
-Y:85613621056579422486728376522254768382439971055735057655983657379613225707621
-encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200046bb0f61562ce307a5d0215a0ed9b621cc4cdb424fc4186dd17618e8926803f24bd4797a20e8eb8baa106fa5fc3ec93c99aedcdbd7cacebceb66577db8642e865
-Signature:3046022100f5aa1831c44c583cf973c387bb3429bccfa22a8efb864342217867efbb80e773022100d73640edd25ea1096421f651ccc3c2d9919707e320adc604383bc9eec55399da
-r:111117178887534915698322688819527426671204567756228486032832244928080412469107
-s:97343120310328370348314564327372233764329760475238236978460332193921816041946
-.BC curve:secp256r1 countLsb:537 countMsb:523
-BC curve:secp224r1 countLsb:505 countMsb:504
-BC curve:secp384r1 countLsb:490 countMsb:514
-BC curve:secp521r1 countLsb:526 countMsb:517
-BC curve:brainpoolP256r1 countLsb:529 countMsb:529
+X:48502255938157746465315184205417276801470692171600279679911408124962901442084
+Y:300734703117672763714018690748764827052182415706607486469002509612652075198
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200046b3b4dd47af515e597c83c8e1a447f6631383ec16440adf003da0abaebf1be2400aa35b61af46f3bb90535efa4b42526021b98e0ed8f8c6962222d43579a98be
+Signature:30440220163a40883d2e7ee2c5bf2682606942f0436a06d4903f2c494bb4e01285431f12022006ca2f404f61bc2b417b63af2e45093f8334c682923aee52309cfe02f8c5c117
+r:10053805183351125155756856284900716229018775306345841954429729119155683270418
+s:3071106314459594722159093374257909006562321534066340483158347420615343194391
+.BC curve:secp256r1 countLsb:512 countMsb:514
+BC curve:secp224r1 countLsb:497 countMsb:553
+BC curve:secp384r1 countLsb:490 countMsb:534
+BC curve:secp521r1 countLsb:529 countMsb:513
+BC curve:brainpoolP256r1 countLsb:487 countMsb:522
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:837870 relative average:1.0007142771678876 sigmas:0.2766383575804982
-count:25000 cutoff:137563 relative average:0.9872844390856598 sigmas:3.4822997720575937
-count:12507 cutoff:135946 relative average:0.9738318267370848 sigmas:5.068863648398262
-count:6261 cutoff:134920 relative average:0.9658625896669978 sigmas:4.678569137722634
-count:3126 cutoff:134062 relative average:0.9606227971373696 sigmas:3.813291252889075
-count:1563 cutoff:133321 relative average:0.951792006142094 sigmas:3.301103760878853
-count:782 cutoff:132672 relative average:0.94458914358336 sigmas:2.683853874320398
-count:391 cutoff:132033 relative average:0.9462364242388241 sigmas:1.8413534148094146
-count:196 cutoff:131460 relative average:0.9250397228958085 sigmas:1.8176901189146242
-count:98 cutoff:130852 relative average:0.8983326788757711 sigmas:1.743231421890296
-count:49 cutoff:130454 relative average:0.953396041675939 sigmas:0.5650429655576719
-count:25 cutoff:130044 relative average:0.8349210209027993 sigmas:1.4296258952897614
-count:13 cutoff:129465 relative average:0.7545502805648079 sigmas:1.5328330065802234
-..E.E.E.E..E.E..E.E.E..E........Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:500257 relative average:0.9933936138483365 sigmas:2.5586423544008006
+count:25003 cutoff:146554 relative average:0.9822238946491958 sigmas:4.868479025066225
+count:12500 cutoff:143620 relative average:0.986009628839712 sigmas:2.709223725552798
+count:6250 cutoff:138928 relative average:0.98338030856449 sigmas:2.2757449745010625
+count:3127 cutoff:137376 relative average:0.9549785451191214 sigmas:4.360578340032781
+count:1563 cutoff:136398 relative average:0.9560026507115661 sigmas:3.0127745127259775
+count:782 cutoff:135569 relative average:0.9576422893872992 sigmas:2.0516179154578116
+count:391 cutoff:134875 relative average:0.9743509906770781 sigmas:0.8784551666175817
+count:196 cutoff:134264 relative average:0.9739200102872925 sigmas:0.6324061414059624
+count:98 cutoff:133751 relative average:0.8961851721818903 sigmas:1.7800534912248311
+count:49 cutoff:133172 relative average:0.9068593405666028 sigmas:1.129270480723794
+count:25 cutoff:132506 relative average:0.9269599385783472 sigmas:0.6325454868512705
+count:13 cutoff:131972 relative average:0.8287763094802219 sigmas:1.0692916045744014
+....044fb3a62ed05016b5e8f6194256af5deed7d88313279b830ed6abe39ba291e7191e2c67f3c6ce017f4a67aff8b1e5d19b3762e9b551781458d157da5e8a67c662aab0e41fe7d40cba6801e5703635561262052e6ac1703ed0ac160c3a6d9401faae67b75a8980900289d786f847fba0f4ab68d15df9a7001b8f79f90f
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:043d3a716e738287f62e3ec502f90e0434db45033a4fc1b8f6926dbc64214c55a9f64104bbe9862f4c3fe881004b9056ad6798ad19866066896a1eb5d54c66ce850bf4845cd3b291a297985e57989289e3dbe2e0c4c8b22e1076b0d1e138d36ffbf14c5bd3
+..E.E...E.049708ab450c08d3bb034f980a4045731fc41c61a6cc125d14e8fe3864ecefbeb0edb684aa946fd069465ea1a29fa0a97f6b0b4e7377d89c0b451f7aa612c6cb30b072d7ebbef0a1be7b83cb776a565664291c6c6f2fffe7b3103f7c12215a0637a9497d46a20bce789bb09f530968c2ba5532fe5fe574da0873a26157cf9ec9e07d2f0036
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -722,98 +729,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:16647004479738943751999720267954240768376043980833610737401283488453261343071989003221220771764243000943087205427534872752007088098056743517907753196492333539839056313902739020270380046317290090197561841259667509224459793596684874811219886196506784841646420691183203212050845966451439137454583009113511523474952277020667085391752532078393347950615524203339019643704692729539321980604682475133225080882510629032671794663469716241169701817798909283577093223597541382456868405118773716011360114792861266867060537022172135066504353570100675381748013285659821932613856824563234839085823581130319388080719955898772211958099
+Modulus:18593733042157708592331386389158912249212131634072755645760616429927185917905592674538922163701864967640521600164355169698573344923340893888077651770874880031682393390311275555790350724194172455637854129097193096404976031918630016645517429483912889676943162180805975122819039461723383882496700914375453239442074344050940134880000044087380149792498030907409262232528152185869530059898489480729337806554388489531075841594972919264014080452339515797844542425598800948207147864334974266167425464296726411981521311156041233492865915031988683816979312734202877414682656806381051849816531058172723843301435004505440421646267
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010083dea32411123b7d41f4ec6e0de155ed59ed330d21e7fb458e49d1fd8fb7c4760cdd65f7394a0de988f7e4dfa39ab98bf58c0bbdce476aa654602ccb70719eeebcbe205056d6cb2a526f1ad962462855e3c85fe79b4e23ff961074ca6963b0124f5632373468b300817fe464129ba3952ecd0acead117cf85ee7d2e2ff4c834a0c3f38cb9bb7d6c80354cdf23f60eb7504c6b5066e6d0516b191605ba294034cca847dfd18401e2a51f26047deb1356ddd0f5f7cb7d6b25971c254f46302fa415c65f84d98bf281ca04d9c32978f683b272f6235bd546a2db59b170271356d7420711eb7142b3c794bb2f4d1e832be3bf44b68c5d815a4ca4f13dceab6c901530203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100934a6dc63ad39ef9900b70a3fcb86eb9dcfd7b9f63fc1a0563b556b948cea859246b6dd3e2cd927e50bc070026208724eeaa5e6b9f2c6a00b62fd91ca5304cf55823b671fcc18fdd7e382def7567ac24bb0fa24a40f15a2151feb68b1b45fe9da5f2ae6b7b500d933a6c1871af1ced74b9b233e2687a6e5d2ce3f70d86e84e87674e6ad304547cd7266f3397d17edf3e0338b5fcba0ecada832373ad49851cc9526a2a83b0f68e18785365913b05ff3b14d8718de24e97723fcc95f9603d12443c879222f22f44103627cea349b019e0e97d35b0673703db2b1475364fca01a5964a050673b06691f097a5b6c48816ac7f4561aefff706462bcbe8f42bef8fbb0203010001
Private key:
-D:6796779618671203395273029203807308459041551869007518746835887263439467278299590792196674022473833318876895912886308163710548326339743997177963221692047879226376145823693630936789826041462960590712213860085542261803684867434580372616973949293469773544604954832456172109618330658563980780933056626910895240019161096831019300800583683248650714740478974963041007121805445347105486752607886434395434349517040469824240606069746025397344678567501769833062597589225921177591308206461661383485241282115608460596776043072956266120148106830270834604622321400052622819024936321622447249627964216700887773724531661473254495591313
-encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a3020100028201010083dea32411123b7d41f4ec6e0de155ed59ed330d21e7fb458e49d1fd8fb7c4760cdd65f7394a0de988f7e4dfa39ab98bf58c0bbdce476aa654602ccb70719eeebcbe205056d6cb2a526f1ad962462855e3c85fe79b4e23ff961074ca6963b0124f5632373468b300817fe464129ba3952ecd0acead117cf85ee7d2e2ff4c834a0c3f38cb9bb7d6c80354cdf23f60eb7504c6b5066e6d0516b191605ba294034cca847dfd18401e2a51f26047deb1356ddd0f5f7cb7d6b25971c254f46302fa415c65f84d98bf281ca04d9c32978f683b272f6235bd546a2db59b170271356d7420711eb7142b3c794bb2f4d1e832be3bf44b68c5d815a4ca4f13dceab6c9015302030100010282010035d742f8c8d78ede777d8ec2e87be65f8065ee802025dd5beada8d18600381fd490764486a65a8047fdde6dec0a7bdb63d4d2ec61260ea547b02c18756a3ad66803d886804ecb20ad7997176ec3f04dcfca1a536a51c646a4854f3ba690940ac5924326083cf73b673294a90e9600e8c2c8d9f29ff53b2989df73d0d5d7b59e6db76701ee8e24801bcf4872b0e7fe6aac610df24c35969ed00a0eefb2ebf50a27e61cabf32e10a07bad44cd504f6b99c035d2d7ca6037b751fd271a019e57897be10b5e51b85e9fe243270beff247c9c941ca4c4bc33fd48ea932d1fca5b3574d0ca9d798b8a552fb459273fb81bb43208dca4f83ed20daf4e94e1ef688d9b9102818100db20df4f23b6e3475e712ff7164540b332c257d909b3c66f3ea91ba183fa3e841838816b4fe5241e1a549baf924c9a813423904979a8877c34f58a3cb41e6b2371611c0b9f41d635030e9ebd5581f336a30a4223ef629646567f1583b4f049b3fbbadae717d99a6c4a26473a5e0475f09f7b857fb8bbf56db2641942a90ce5d7028181009a0f06dead25da60f7a4a4f81a2c8d3500ba486b7fcc147a4e2b740ba28c1306d0fc5b7788a2a5501e039ad4b536cab236c0e6da1e8cc1105f2684c69cd57edc2f531ee7a08fd8c390270b389a5325ad0bae8f48f5b7dfd5c4e76391aefb2fce170e2f69dfd91434e7e6b0c28a82f7f8647522776f1994684cf87865d7fed8e502818040a5ef1c031666f15c5c9a611471f407aa5709e1df69e986527f43c6a01049376189f22cbdd2859857fe543c35366272f1f5f810a552e23df3c5e935c5921fdbc20c7b60b6688f10eec8f66e3776f2515142aa86bd8e617578f95f588f1e413057792631fda85655d27e7e8f2ac3b823f87951c67fb2fc5293c9d2660747e5db028180634ee878c658ae4aef97fc97ca1789f6eebf264bd597b2639cdc39f3fe161975bd65cf786065a7f6db422b9e8e2a01c39bb4019bfd31728aa12b6d4fb26d95574e52608ba35ed6b649c8415d7d6db7cdb2c815a94c6bf9280dc3b2d5885c77567c5a328a273801e490d08e84f950af9438fda0f8286feed0c53d2e2f486b0959028181009a4ed4f6302d03cf6a0c6a14a91140826950c1ac486966b653c90afb267d4dda26b4190d93bf45dc2b67ca70705e7b41e130e1da1ca01dbb4d425e81992f796befdc623098abe66ab38b768bd222a05a0ec21a31ca3c20293387dff583e837ee911ff91d29024ceced2856b92ba408845988f479f711a5fd297e543f4f65f9d0
-Signature:53c074d0b14cdb6e1a319b11a39f15d829863ed7a233ce720563c8664b8f4abf66f552853e1536c666015bbb669fdfa38536933fabf2e227dbe39cbf8480e1dbe04dc6e0d98dc5daff523de4e4ca9e1a18b734a268653da1767ded87e65ec8930c138f4d99ee79f7599fcb0e3105fdc02d7156a6d623ddb0f218625e7d50ffdd648f99e3187c656ac653361706ae459fb80396ec0124e04f59a3eae0b8a8e7fac952431905ea227e6a4051608c79723c69f7d751f7ab970da2ad6aa12ba00a5962ee8a21de0ba65ba5fb1aa3de87df2d1cae4af6ea73c3299c3f581823f2a3402e318bde01683e0088481cbeeb88b450291898a0f1a83f5096325653855416bf
+D:2534980312368267181477347717886611852033361248614371602222730790261980349672497528831122412265989646853961281374925819632524418830432441016372031349814105819355206752558573738361334570100476538308500948219836433104634951938492137246558405670670944188221724431779016246126434191227832140471916973159355397629010995440032318124412139557462850834939866996603535080031322651994014037263639987865705354024733439968619857885915467813647404299844037213955164851510016274323030322548393481927976778338662564296025105527277685088243680186151950292061599245314434695975148468161980095316700505643711560132436861432732204100953
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100934a6dc63ad39ef9900b70a3fcb86eb9dcfd7b9f63fc1a0563b556b948cea859246b6dd3e2cd927e50bc070026208724eeaa5e6b9f2c6a00b62fd91ca5304cf55823b671fcc18fdd7e382def7567ac24bb0fa24a40f15a2151feb68b1b45fe9da5f2ae6b7b500d933a6c1871af1ced74b9b233e2687a6e5d2ce3f70d86e84e87674e6ad304547cd7266f3397d17edf3e0338b5fcba0ecada832373ad49851cc9526a2a83b0f68e18785365913b05ff3b14d8718de24e97723fcc95f9603d12443c879222f22f44103627cea349b019e0e97d35b0673703db2b1475364fca01a5964a050673b06691f097a5b6c48816ac7f4561aefff706462bcbe8f42bef8fbb0203010001028201001414b6a8ab06850b13476c00ff8889980f7803adb46cff833297db8e014e23879bbe85c7b8893c6aba49184f3de37b695e9c9da8e097a6901846a7bc0f0d69c09d56a91e1b4eac758f2acba0750a405ef59de90b6495432b7dc9534bddd90a20a62a52fb566190a83cf3d5d5520188a23c5afe55e4d6a44b51be76c5425a53b24f2bb958bd8bd3bdd7dbb435c3ec07fadaf47d4a28171789d61ed0ac7f63cf69f7318d7d332ecedf0f714ee9700017493dee97cc7c42a9a74eb2b7ca2756f4ea19e5ecf0801b393352ac81be98057ec2bbc64dfae05017b3fbd2566da3d69ae536d9ba240aa96a7725a92c050080a9c19163fe71fb15b49161829d52a9bb6d5902818100cd849186dfad7a0e51d1b6165195a29e12195df6f6ed086d28e33ed0b3532f7705436d2a9a58cae79eccd8ef91a8d8ea837ea2181956c25985f1900c02f8bcc0e767cd2319920db4a72d75095db975f4b5d6b7d169cb55df173c579245c05ef0264d386fa9eb3ae373b5bac917630c3fd77b723233795909f32db2499d2ba69d02818100b7786823ce1be6752e13e787f898b35bfb91ffe6aa240898aee59de37d671c0eecb22a92f9383fc54fe709790954b0764b9e3cd1f46d9038342ae3a29bf3f5ac2a84cc85c2e77f1dd182e3f4b22bcb7bd0d4a7f469aa98fb25489f5ff4b6c88ff7ff4ac6ba41b6e93f87e02688cbb2c5f521a45d446093acfd9ffea5156c943702818066093d9f730a54212bea2cb7640620d8ce2f9e01719339adc8b11a8ccf9bab63324fc9b16f344a7938d4879859ff34c32a4a02fc68083531f1587fa6170b9bdb4288bcc682798b2878200f8d78e50d75539aa964e55bb8e4ac4a9f47d62dae7518ef19e806baed5fe42103fdb708cc1a1e4801e87eb9eec50be152354e3d4fd90281804c8575b9e94f0db1b6042b3f34da4b8483ca8316ebc397aa46d812203dbf719e6fee677f615eaa8a5b271b765603f28d84407d517c46ee2de2e438892bce769ad629093c88ec10c2990da491fc75f3aab290df743b5621f42dbaba6e451caf4e0cbb77aea7249d6b6f49f69d5bd4c9bd72de1335ab3d349aa435c4f98993fdc502818100c46abf0ec79284d6cd3093e97bcb12f0b374111dd0bb1cb76f50295108ffdcfff8c418f5d3fbb61027711dc84b81ddf99863ca196aec24f757e11ad7154010e0d2bf62cbb569f3af16446e1ded2f7f75954b9aa02af5b5aa728896ac7e58c436ef24598ac1d044209f2d63504233b0ca1d08732aa0a6e18de3f366664c08a004
+Signature:5ba7d90fb6c5d30847be321949ec484726b774ec1395dc096820c6e12579a35827619ff5605b250ef3c0cb325355cc8643253a2a03fb95b93b46cbc2ac0aac41a684f79fd8a49b3fb55b843d0ad345f6d1f888daecfe3148a35e8a49d6258194d25a4275535eb5b4f215283f137da5bcf573c4439478de07e77fc34d32d720c3062cd97d02c9efd0950fff174e4c13646d2f9e93d1b5b86c8d79b48a098cbd4253e5775d2b45365ecabeedbafe2fd50e965aaf4904461764a4d0a52cf44352890bdaedffe66b2510e3162e4565634f630c5502855052a2797b908a2eb236dcf85d360ce70f7a61b3c820a21d776dfd745410fff29d8be0115fdcdced673c7103
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 807.584
-There were 37 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 68.386
+There were 22 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -853,7 +780,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -895,7 +822,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -937,7 +864,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -973,192 +900,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:e9801730c79667e6babcbc71ce406514 pt: e9801730c79667e6babcbc71ce406514
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:e32cee32fc7e4e5d8d0b9ff40af24d70 pt: e32cee32fc7e4e5d8d0b9ff40af24d70
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:98610318df902330b36debc72882b4eb pt: 98610318df902330b36debc72882b4eb
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:ce8ed5857741666d9a12bf8d3a77596a pt: ce8ed5857741666d9a12bf8d3a77596a
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1194,136 +936,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:208e9d4ed632cdf99a862f632cf3ace438f69f864dcb25749cf8cf0931d1e3ddfbf9297461f32fed64b19aca71ece883eceac9c87aadbf48fd42a85726532ff2fbe598fbcedd44655121c6ec36d74b8934911808d69a1428ea0752d158197cdc75653e111767c1b083b46e0939d557810c0220e6d69e0cef81726b96e5ce617b3f161006730ad2990b873ef902493475e683bcd7a04ac552de690543ef4ace8e23f3883cf475b7be4886c656c911b7aa2655156bfcc7cbebb82b693447e673f06fd92cfc679ddcd33bd1510fd5469708ea25c99a5dfe34d6e973193e5eef55a19a3b9544f57ba5cc9ac932e065cf5f284cbdfe0335b8509bd48243dbe1bb5470194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e194862463cab80a0c55956908a330d7e526cb53296c79ce695811ff39aed34b9d4f0c9aa2895ebaa50cc79ba22dc35f4eedc187b
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1356,15 +974,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:6ec29f139f14c0355378125beabe6c94421681db30938d1a154b5620a2df0308444b5ea610dd8ca3345e16e8a3e1fa9eda6ef14e4eb4ecd00d6aeaced8d4d50e94dec8f10bc895a2f47bffa538e4a50db020adc84063cfcfe856372025f80c9d0405f0560fd550c249563121834b1dcc1774d0e9ead3c6280f016331d2caf8486fa7f9438ee264a1be859247eadd2c767c69d68f986dc14111f618414ffb8833ce18ea4eb407768b1d896b755d97a40b351c1beb4323f1fffbedfbbb71526b5a3286b12c5c18b72dc882c0f65402abdc74042b9437fb7c4282fd1ae471b4624ae4369e6d1aeedf20947c45dc2de22f2d5a01d3ce1858aaeaaf962ba8e9c0f3ce453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d6453313a6fc64f8d662e6651590f4a9336ffd05fcd37435b9b9a4253f6cda54fe08fc195c
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1397,7 +1012,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1438,7 +1053,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1476,7 +1091,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1512,7 +1127,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1548,8 +1163,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[9e32ae48fa9c17bec6729fba52ba84e8f97954476d452300dd25eca4c5104a57]> but was:<[300271c4d10a158030d8a5ee9abca573179c7c2f026143b5b57d6bfd1752a900]>
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[ff50d31a81c3751cbbd932702b2be38ad93161360df87ea59796e9a1fabfe0a6]> but was:<[707b0951c169e8f3b1cdc0128bdd14026c46d67b933ad98c57b2a1328829184f]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1585,8 +1200,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[9e32ae48fa9c17bec6729fba
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<6[bef5b418e41e6deeb570f38320cf47afdf90a5c736d9148d25fdc67685bd2ca]> but was:<6[9fede35ad49507b92503362d8ecfa5a7041da0b1574356590c7a2012b30e1f2]>
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[7340dc5995e23fefa3aee1daa0c2e3c2b1add1eb228abb8a318798280926fdf2]> but was:<[3a2a5f0b27caf7be3bfc7a480b0624c55637786750cb989d34973cf964767f23]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1622,7 +1237,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<6[bef5
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+14) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.bouncycastle.math.ec.ECAlgorithms.validatePoint(Unknown Source)
at org.bouncycastle.math.ec.AbstractECMultiplier.multiply(Unknown Source)
@@ -1664,7 +1279,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+15) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1701,7 +1316,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1742,55 +1357,13 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+17) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.bouncycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.bouncycastle.jce.interfaces.ECKey
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(Unknown Source)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1823,177 +1396,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+18) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04dbb55d7eec35f36539f48fa4703ea55841e5a2f7bb9eafd8e32c9a8860cb0e5c6f4e0cc5243852330b236fd55f9eccef0588525739995376460458882c26c377f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c2942f2c9707dbd8c29424793c21bce446d7f4d2e9114349fd293b553d1840047ebce92545864
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2026,15 +1434,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+19) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04a97d2a4c290f28bf31abd24fc25c3bd6a82ded39f85b75fabf1461490586cfa1176cfffeaa100046f869026b42c42d71b6c9014af20c3c36b4e3661c0582ba2893fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc293fd84a4cc551aa179684f73a61a6dc2a5e417c01a833ce28af7da2422ab2880cda87bd8f596ea8668af1502487fbf645e83a42a
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2067,15 +1472,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+20) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2108,14 +1513,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+21) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.bouncycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.bouncycastle.jce.interfaces.ECKey
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(Unknown Source)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2148,7 +1552,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+22) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2187,12 +1591,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 37
+Tests run: 96, Failures: 22
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 20:26:27 --
+-- JVM shutdown starting at 2018-04-06 22:21:47 --
diff --git a/testlogs/BouncyCastleAllTests_1_53.txt b/testlogs/BouncyCastleAllTests_1_53.txt
index c569c0c..0e7f64b 100755
--- a/testlogs/BouncyCastleAllTests_1_53.txt
+++ b/testlogs/BouncyCastleAllTests_1_53.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -810,40 +810,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:07a89d3436af3763352146292eba28910e0739c20f6109a4c08c5a9a8570407710f1f4a3995aee5b7bc1923cd38f3c176a6a202f56e4b6c9a3c048f4f426033c1ca2a113d3d716a01f8e006fc7ebe0b249242e68660a532ca12a640aae7fc3c8ec2e5079ea80639e876df97cf98f15d2c7f2293e3028639ab84440b80152264c9330c80bc20b2ab7996644858f0bb4c077270fb00793cbe0bf039945109e0bf0dce191a4fdb4f84561a3fd6bd080d39cdea32a11b73633c3f13ceefa886680a99e1b3da8620b3761c8b4f0fdbf909834d1c8b0367b750fe35c245160b57166e7407eb3e05ef36ecfb8ac073242a565e049779564945163aed41a25fd0de3c45ddbbdf5ffd8dbae3ac94f21b5e4ca91e4a134bbbca712038a12a24900ef0a4aeb3961277d
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:2268907 relative average:0.9994118267375883 sigmas:0.22779852500049305
-count:25000 cutoff:557834 relative average:0.8682179738149839 sigmas:36.08999420763491
-count:12500 cutoff:551235 relative average:0.6690601866909937 sigmas:64.08621927713865
-count:6250 cutoff:546923 relative average:0.45947592974479945 sigmas:74.01430653832014
-count:3125 cutoff:543180 relative average:0.28715607683409944 sigmas:69.02081607166731
-count:1563 cutoff:539898 relative average:0.16741638363854874 sigmas:57.01222322833007
-count:782 cutoff:536457 relative average:0.09019545500156449 sigmas:44.066860014007744
-count:391 cutoff:533236 relative average:0.0392029107030542 sigmas:32.90642365706337
-count:196 cutoff:530109 relative average:0.023325439594931045 sigmas:23.68309945514209
-count:98 cutoff:526304 relative average:0.010328202360952271 sigmas:16.96933641927046
-count:49 cutoff:523502 relative average:0.007428506191702663 sigmas:12.03428980194356
-count:25 cutoff:520294 relative average:0.00404791445105099 sigmas:8.625198070374823
-count:13 cutoff:518338 relative average:0.0024710124382209602 sigmas:6.229566530667691
+count:50000 cutoff:1114928 relative average:0.9997441531642346 sigmas:0.09908905340992198
+count:25000 cutoff:522443 relative average:0.9189290225025627 sigmas:22.202201567170054
+count:12502 cutoff:512723 relative average:0.7595781682226135 sigmas:46.56121197695505
+count:6250 cutoff:506212 relative average:0.7180723032669768 sigmas:38.60453977153808
+count:3125 cutoff:495810 relative average:0.8769043814347678 sigmas:11.91868201735612
+count:1563 cutoff:486669 relative average:0.7620161723805716 sigmas:16.296245612261693
+count:782 cutoff:482535 relative average:0.5318628221097569 sigmas:22.674469586736855
+count:391 cutoff:479248 relative average:0.3380167978791087 sigmas:22.67232066532313
+count:196 cutoff:476094 relative average:0.1877304461162585 sigmas:19.696489914751243
+count:98 cutoff:472893 relative average:0.08985537072379884 sigmas:15.60572953702877
+count:49 cutoff:470797 relative average:0.059816323900666796 sigmas:11.39912126815648
+count:25 cutoff:468299 relative average:0.01729530320484926 sigmas:8.51047231842885
+count:13 cutoff:465781 relative average:0.016287162195747166 sigmas:6.143284703086368
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104201dc2ab3434e1216fdb14e6ed0125b1efdab8d472eb0d8abf8b9794065cc6ae01a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a1440342000409c1e4e5bd86148595e6a021be5ef38324d5cdeea62bf7c40f7c564b78c3aaa81fc4b966d62ca23ec04eba323e4eabfdcb1dbf88ea2ee2d4acf94e1102ccb26b
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420fe0cf90d934224eb0ad6286e7dd476d22cf629ade8d2f1056fcf4087e4af1f66a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004cf834227c584d7fe1f1646854a2261fb578fec4986e1f01e47d883ca2ed317fbdc0880effebbd05781875187cf15571721729dad2143d7678c5fdd5953e039c3
...Generated shared secret with a modified order:ECDHC
-expected:95c5222146db34bea2415bf7e729e4fc64625eae69bebe848087ce3f74bc800a computed:3d9ae44d11cd7399a324a93b24c69940b959ab2cb5d6f6f59ba70bdcd5c3dc64
+expected:f1cbaf36137217e24d0124000d8446df3fe12916098f23ee1d1bd624a635a596 computed:4bf3514309c23841c633f8e3e5e18753636b17e6a3087aa3f11bf2e56896d6c3
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:12415c73f8d7a660977dfca7fa11edde8021eebd81ff59a59e80e28d754d73cf computed:12415c73f8d7a660977dfca7fa11edde8021eebd81ff59a59e80e28d754d73cf
+expected:f1706690774ffab61ac2dacf747c1ed02f7f464c57da9219e80dc45ecfa3894d computed:f1706690774ffab61ac2dacf747c1ed02f7f464c57da9219e80dc45ecfa3894d
Generated shared secret with a modified order:ECDH
-expected:a48f3e880f89ddceac7445f71e5d62f06e73cd4330a015f25799318162a62894 computed:a48f3e880f89ddceac7445f71e5d62f06e73cd4330a015f25799318162a62894
+expected:9737c810eaf7539e7e7ae813c5defe5ddda6dc85775cf3ac4df55b2241127923 computed:9737c810eaf7539e7e7ae813c5defe5ddda6dc85775cf3ac4df55b2241127923
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -853,35 +854,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:1502567991953531333155150823379815078313557724002571370082333238231853980652
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d03010704793077020101042003526c6060347c40aa7b884bc2e3e49c86ae28020b06a92b0f4c2b3e4f845beca00a06082a8648ce3d030107a14403420004fe8e6bcdeb926b515581b0af827c2ab056b2abca7d6bf811bc69c0db22e95c593852e461ef98a4aefd8273db763deb1d43bdc932f347d4340ea45d996ccf4887
+S:104462173416647040632600490450079379069979851955659922164831556323667647918557
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420e6f37eb183148f6ea1676c458f2ee688666e3106a461e2670ef1b7c66c67f1dda00a06082a8648ce3d030107a144034200047b77fa08fcac6665cfa010047bba3c7cb68524b1bd281dcf28b779e237348b5d66a918b8a9f72ffed509f77c2c5efe4016814d51812ecb39bf7662c9c68b38ae
Public key:
-X:115139099861804988489197333318659738226320658029611026213485142948741351300185
-Y:25475977218489071744321949277887157779071064328457085801413324486171601881223
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004fe8e6bcdeb926b515581b0af827c2ab056b2abca7d6bf811bc69c0db22e95c593852e461ef98a4aefd8273db763deb1d43bdc932f347d4340ea45d996ccf4887
-Signature:30460221009cf460819140e09591a51aa33dc066ecd2cf0a748325479193dbbe9406e5014d022100f99486c9493508436bbe9c3db9319904f48aaf8303e9ea86d83099fb0f2459f1
-r:70992581123574865577052228264174185253827107362560912846369892902760641528141
-s:112888322923489895124463399061906954139687033467999509007560270168014014667249
-.BC curve:secp256r1 countLsb:510 countMsb:510
-BC curve:secp224r1 countLsb:510 countMsb:515
-BC curve:secp384r1 countLsb:480 countMsb:506
-BC curve:secp521r1 countLsb:504 countMsb:488
-BC curve:brainpoolP256r1 countLsb:508 countMsb:535
+X:55846460855326283226491229930653539477723939888984496694806048253613916326749
+Y:46434678329882692619123631682870927727503962364080170806216198165862021806254
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200047b77fa08fcac6665cfa010047bba3c7cb68524b1bd281dcf28b779e237348b5d66a918b8a9f72ffed509f77c2c5efe4016814d51812ecb39bf7662c9c68b38ae
+Signature:3044022009d795d7d5c632c5537a24667c2dbd6ce449d9890e619b44bd512a61315993d702202c144bca921e930a80342f4458e29edb4e823c31044ae13b1f2ab7111ee07730
+r:4451721935284007544140398298586427518486299559532678292616774819153410888663
+s:19937625371232696985327556019337728724189796810432322418671406173156064393008
+.BC curve:secp256r1 countLsb:523 countMsb:494
+BC curve:secp224r1 countLsb:512 countMsb:540
+BC curve:secp384r1 countLsb:512 countMsb:514
+BC curve:secp521r1 countLsb:522 countMsb:516
+BC curve:brainpoolP256r1 countLsb:532 countMsb:495
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1066619 relative average:1.0050852668139185 sigmas:1.9695153681327933
-count:25000 cutoff:137212 relative average:0.9931100574499574 sigmas:1.8868884772865087
-count:12500 cutoff:135560 relative average:0.9769262327921052 sigmas:4.468215806522169
-count:6255 cutoff:134515 relative average:0.9723477757841341 sigmas:3.7879510139580734
-count:3126 cutoff:133664 relative average:0.961706145033509 sigmas:3.7083797620806553
-count:1567 cutoff:132950 relative average:0.9396989507244102 sigmas:4.13447142596344
-count:782 cutoff:132337 relative average:0.9385821764982656 sigmas:2.9748044736582595
-count:391 cutoff:131728 relative average:0.9189105598609192 sigmas:2.7772393370625448
-count:196 cutoff:131175 relative average:0.928473026871546 sigmas:1.734436921981346
-count:98 cutoff:130678 relative average:0.9490619582392938 sigmas:0.8734054756721761
-count:49 cutoff:130278 relative average:0.9431215759267133 sigmas:0.6896142424456686
-count:25 cutoff:129551 relative average:0.9957870284183832 sigmas:0.03648540415102095
-count:13 cutoff:129044 relative average:0.9205078361581982 sigmas:0.49642840408040984
-..E.E.E.E..E.E..E.E.E..E........Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:514473 relative average:0.9963404101078304 sigmas:1.417353070632187
+count:25001 cutoff:147426 relative average:0.9825614473583002 sigmas:4.775839839981543
+count:12501 cutoff:144594 relative average:0.9823003485029392 sigmas:3.4276598722586273
+count:6250 cutoff:140140 relative average:0.9849517237800401 sigmas:2.060570084310139
+count:3125 cutoff:138367 relative average:0.9623075958673587 sigmas:3.649551337105981
+count:1563 cutoff:137281 relative average:0.957648053636299 sigmas:2.900103452424098
+count:782 cutoff:136418 relative average:0.9198635930193767 sigmas:3.8814488758645997
+count:391 cutoff:135666 relative average:0.8853085259125022 sigmas:3.928078340597349
+count:196 cutoff:135012 relative average:0.862467420216023 sigmas:3.3349878223461578
+count:98 cutoff:134399 relative average:0.8088431273566242 sigmas:3.2776575916172153
+count:49 cutoff:133747 relative average:0.70476962672964 sigmas:3.579478045092516
+count:25 cutoff:133151 relative average:0.6009640420183748 sigmas:3.455752766355473
+count:13 cutoff:132412 relative average:0.7108374054437099 sigmas:1.8058198242157193
+....04e6f7acdc671564216a667af87733fd0e8e85f6debbd33580cbaa726bf8454466f508e8b04e9403a3ce2016788474dc49c983977f67dd4a70b3e8e8ecd0a3c50d13e9d32439453d72842a6440e52d7cad60cb385cf22c7f89f42a9469818d1c028cd08851401f4cb01203f373cf44d22415d4ed512c806b4724d2a9af
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:0456a4a073c1b6b629a3d55299251cbd611e7cabcaa98eafd99835be902976decc063a799556cc4ff541c86aed247cf9ce87ac9b3bac7ca1846a4c525da8259d959bac5d6e6a139ac3602169ca68575ffb1818fee931377db16331d6df8c7df9bad7e5cfc7
+..E.E...E.0430f816e8d2016d9f9ee1041a5950541e488c1f2a5e4d3dc2c44030fd2cf0221323e3f9ed7594dda7ef0858b2fb4b97eec89c505b5da8ff54fd9fabc3d49ea2d8a30fc19d1fca5112a8501f9cb630a6d413748eaec66e72c52e01d79356a84b95e09a7a2132d39136aa759248b0bb9e6a5573fdebe1be746561ca6a46dca5956fab917d5a
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -890,98 +897,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:16690199284280651064283637792896249637950704908504929235828462367950975128752110296644156292612498743626317909291278988535151293133971921057595635002500405855081036236453579408174562357410952852238384938959875399407628201970692992420789973134051393560414328464242130636629223380235368219895646555644518744147760788457700144129795628871114593321113847750894388717438072999866425253661895380059084827172084574874756032329272796850004880587184094654103824331624737157865054600523069768359497503573959702158975034027435414447626639677831296182428986746534075847773401897878274965139642572679791904142822255648672584996933
+Modulus:19515345502420020748286002981071689151826441494772724066140792250096585106149345241520187921736489427333462248267417337248200287741507564854137046104872256566184097639174845372779852397737379088890746552471104476401523204790993578974383690729373427023404370749729084567635156511493741809508906766325205409013782565312328207024624335100874952434101502235724695287473540848702704304491676219963546727189919833108976691351962954172237139171926832466155796855525726258649532797419368703989605371514692455665701108760829453429479972926175896889913475049444391750046707651847260086743313258627696758040711037089403816250669
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010084363b834c112dc205db1b129e43aa1bcbc242aff66d1a09ccb22938d2863f24b7b6ce7ff97f83ea8c0477bb1e136cf210e21b97339e1c3cc19e984df061a5d8505b45399c27e792b8c9f1781a7881c6f5f237a9f629ea0847a665b548e6d35e24bf4fc4aa8400f497475246e063d91c341c276a57e776373c4778860e4e424f5e21914310593b45c49794d6115e248aff702047698b5bf45ea50332808b700818f99d3effbb56ce3041a3384eb419976ad61377ec14a7a7428342ec224518226df25d8f271cc2e77f2a141fec4434a6160434207cdb61e14198683567067afc19a150c24305fb52674ab4aecf0ebf2ac4edc6f253782f1542c82f53149298450203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a02820101009a976062c0e8682d4ac2e59059502bc43fc9f94754b9f4c61ed789c647885888490b21d0c98b458b12a9ddfa20e4be56faf0958f9939ff83833a9e7677e35f7e6763c96a95ddc51a3e09277785644b3e038497d6b189a0352d3737214540ccb7289a0042966f017e367e07d1343d841cf91b821fa209ed4fee14ca7608cb085ad3602e7eb99cb8f8e97f5a4526d5322c689cc3c97a356d475a1b791f32fe9ebf5d3e83f72a89af546123ede51288187db1625aa455d2fcd69aa6eb0b0c25d9e85ae90b8d19f96d21a1b07117ea546b713659f241a907bea5a83864de30f344a1f63fc534b7e3f503b16d063dba0f85666efb48777734eeb04c49da8ea9220d2d0203010001
Private key:
-D:5445955209953149864720287049791565838881194578877941609221870905098610367285647842266001804162106586860506207657344027500952787402893366279447546526557058287806588940574661166274149392435639734328573824361619474169284912111361281358963382218977402468722709416720109901261846397830892956625394109727027649789004565922804933103662872296829000055740259894326764454988303716048017083394251201369522831312654343435492175062459880647676677593566153013731148724675034528845164389243839382239015630157944078398572775216605887004878796453521722406485266243113639717269416023792620230607928358263272484358796693383062632102151
-encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a4020100028201010084363b834c112dc205db1b129e43aa1bcbc242aff66d1a09ccb22938d2863f24b7b6ce7ff97f83ea8c0477bb1e136cf210e21b97339e1c3cc19e984df061a5d8505b45399c27e792b8c9f1781a7881c6f5f237a9f629ea0847a665b548e6d35e24bf4fc4aa8400f497475246e063d91c341c276a57e776373c4778860e4e424f5e21914310593b45c49794d6115e248aff702047698b5bf45ea50332808b700818f99d3effbb56ce3041a3384eb419976ad61377ec14a7a7428342ec224518226df25d8f271cc2e77f2a141fec4434a6160434207cdb61e14198683567067afc19a150c24305fb52674ab4aecf0ebf2ac4edc6f253782f1542c82f53149298450203010001028201002b23e91264193ce590f498266096f2a4443ddc75bf42855b0a3c5e2008edbe1fd484656833b8ac8a356ae5c89c3d3970d91a766745740381bda9eac78fb6c51f4ac52556f181c1d9c9cb372bf9f335617ef22cc09c2ebc0b3c99ea9917331e681b3483aa47fb6fb65fc06973f017148a53e495e5e8ce01706f8e60a0d97d26bc721bc519f60426ef5309baec524571c67c95de98f6c5f5da8443d890af7ac8c80b736fa1cedf5516c658babac4735e94fb6bc7b75fc63087f214da4126a79eea0bbeb34c7636d4c805f2417dfee015fdc832bf07d86231d09b0e28a0295c010c280d075cd06afe677f70c3a7ad1bb44aee3d0c5a1c4fc87d3d60f6a93825790702818100fb9ad328d64fd97a1afb9e866b71e2bc194e3dfbbcc336c3b86d2c48da24b6aa8c7d2cd836ff5b9936aa1b66a65efd2a639e99d36eccfc5d940cb62c31eeb775270d7cd8896be80ca459169027eb6fdadc100610dac121288a143c4be0327ba786a20f6e1aa29163f3a5dcc3d8011337d3a0db6aad3292c1bf83c4c504e4b9ef0281810086857babc737fb181b033890cb2680b7d80b3b6af82c021bc392c80b42448e0e2b9d5a66bdfe8f5fd0a359ed554005f21230f4851cdcc92919aca356ebfa032941733d64a2ee460db4c014eeb98dbcbea77da332f314f4018594b52bd15f101e40d90fd45022a3a837d1fc6b43a111c04f44f3ba729c70d71a4cf1fef262150b02818100dd39cce0e34f625152d85b12a5f684fe0ee214edfb9349dbdd956092cdfbea011b7614b027eb6f86cfe1d225f7b31db6dfd0dc4063f42911bed34e7a9d8ce0124a3c39c1cb52edbdefe3c54b0b4ea01337db7ef9e2de5d615fc75b1cfc0c675d6daba11596a5ca60b022ee71e4c34d3a9101a6ebad4e026c0910bb3ae08a9c5102818018c87ad258ef9d5901910458d8b48d3e5195302b32f198a9d8cc3002b300c2532601e567cc551bc10145370a1c8ca10bca022eea5f38e5eea68641c97fcc1dccf9fbeb31a13ad8b929b5c1a58195f55202b588dd981f221d2da909ffbaa112ed1ff15d9335f84bc2701645b4d54ed56062ba4754f04c96156b0906047c4f49a502818100d7f60a88b655e8cd720ea273265e17b68b472784daf9fc01265232695ea247fe3bb54c0162499f47d423acc2aa3bdbc3f0b85e8315755369e595129c05b442be5c92a47d64055e3cc327e61550276935acad09ddddebc10d20da84f7396777e01d79a2812dfd8791827870f752ad434972c76a6c4c5f3e291c3f681d9a13a4ad
-Signature:058699942e810bbc666a6945e527c7f838590d3e217c4ce810e28874f8cd271bdc24b7d1c21b11bf31b8bc1bc861cec80030d749744981485e574134f0de7560b8c47ed2d19bde23d2f68befd09f004faa47624f84bdd2f5fbb387ba2a0812e85bac4cc389ca95d1d96e613bcedef0d1905feba590cf30c92dfed86632c138f427df9a346c064b12d566b6b08b76ec31be1fbec587697995ff81722a030b84405f07ee39f3031b75e5b35fe33e874a72e6d0924c49c1a761d638b23503d4a45dbc3f7e1d8243d9c9226b0b3db0732a865440bdde0b173df842dc3c8ff860b0d2deeeef6d574c63e2ff1b87e1986baebd3261ed946ebf99de2725cc6d9165c756
+D:1378702865193779026573755188708087351770090546115899605203653937744284740550703701241107619781801822612477382386715020087266236358746662576478241656858851456451048599560241299967510209523232146444972405479976406087233966128786796323472183470055067627727272175583955041398763670113310413629342788471942582720181092598538392599031179956917262273675266660319608273159016438726559314522309148977614041317557439933210279050675243249564639331591157739732796712115469053002927162785269838796768418321054211522785072636951922758841948355836759433982921928661736455069304423116563568975162636201677807251261664400738393655273
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101009a976062c0e8682d4ac2e59059502bc43fc9f94754b9f4c61ed789c647885888490b21d0c98b458b12a9ddfa20e4be56faf0958f9939ff83833a9e7677e35f7e6763c96a95ddc51a3e09277785644b3e038497d6b189a0352d3737214540ccb7289a0042966f017e367e07d1343d841cf91b821fa209ed4fee14ca7608cb085ad3602e7eb99cb8f8e97f5a4526d5322c689cc3c97a356d475a1b791f32fe9ebf5d3e83f72a89af546123ede51288187db1625aa455d2fcd69aa6eb0b0c25d9e85ae90b8d19f96d21a1b07117ea546b713659f241a907bea5a83864de30f344a1f63fc534b7e3f503b16d063dba0f85666efb48777734eeb04c49da8ea9220d2d0203010001028201000aebe2dd572f941c8f0991da4ed501228e3720ab4f6b0bc5eb6be2c9e547d6a95a2fb525e0f73be4855f06d5a2f94611330d4823aaf993f9a08dc5a02cfc1d44fadcebdfe1d297183185c80a039c804c53474ccad82416f36acc59d2b9e7c80eb089a0b71395a80f589e32c32ee3a1afc2519531d2eacc9f36fcb508fdba0a4ef4009b174719ecc8810f5204c6ac858a6a5d7488012c7931edb34aa5a7a7de9f879f9073d9d582783727ca8f77fb9a1dc8e3ec47f8bcbdbe50a7049200c5a34911af196cee22741db565efac7faac90d998192c34fc6b180151a32cd431c9faf3866197690aee169f0c57f1a0925a34d0ebd8bc06862052544bb08aacf4a07e902818100e32d39ac462b2175b65511ee6bb819a430709dc591c2474065979acff07c2fb7f3349d37bf6539754ba8b9f9a27ae6cd95049d36755d9e6c54323e2f9481f4b123be74cacdc32661f01f63e5cd9f96641e649f562d68928eab248545ee75ce84d4e0784f3a67fed72817d9cb2037c757eba9ca9ccd5cd2132614fa62bf4f1b5302818100ae348dfc76409c221dd512ebfad92f97987f5e38ac27d22ed37e6e3c8df419074a3da66bb0f4abf6376e0f22eb9fd2662f83625084150638d299fc16c6ba1e91bac041d458da41dfca22bda99410afdfb93bf8bee359368d63cb39bff6bf36de6cd3dcd6c6475194b20ef5d86f2cfa2cebc939d91b9c4ff6ba7b59b608bda57f0281806321bb06f7df9e4c35724dced2669599d6216e57665176b21d22d8c5605570a53e9578fd78a17d3f37f2baa4ba48132b2699cad896c2717d28087ca65a9192eb3183cc872adebb83053b4d665c2205884ed2edccb727e8bc24e65cd9b542e70983b3280cba99e2d4948443dfa5817195661ac375450ffa03ad1c7e5e54c8fa4d02818009f71dac34838baaf3f3ed6a2c66622f94dcac62278efb9a0c252e5f2e6ba946de7b5a5accbba25eaa5b146895fc05882ceda22122fd24e6f93d2fcb89c0b9e0f242ef411b7818ce997c9546ef1e69412e127d2f46482333c162adc20a7673c81387a7196e2c4441725222c427cff5dbbdfd3bdeec926b8c9cac53bc73118e37028181009e8d4197e1c308e209b936aeed7d1c2fd235788c4c5e791f5908ba184bc5389fdd327630f56ea997ef594195c5e9b88e4858d15dcadf3e802ce3338a2d0a29137c09d62323e878af5e0c65c28a1240127b7dd81b19662625e03e3a3f9cb46eb7ce81ffa909a5d75a0df25e4df57989275d8f70f64ee319c88d2cf45ab8a4d9c6
+Signature:1100705874e05eecff66015d5aa89df3692a19a03f1f22052979196e05181051be7e8a11d091cb9dd721348b4aadd0b6f97ee63a96e9475c421a2f1df690e2985b96d784daba897f9778f1f3c205a7074f564ffa456bd04758ae0a55931bc37b0c304a69d300970740dad3f418d1ed1721b41d85877f34182a6e0789200456d2d5fa9ddcac508adf9da16ed0353d0a9ef03f7ae7eaaaa35ce9b9937c14deca3bb82b1fc0e1ebafae822b8de69def1c8da49cfe8068097df82582453844dbe67c9a3eb6d4aecfb677fe3a8374d36d513cd033446fce1d6550936fdbd2453c247c6d854618dc2a5d814488c9cc529b14d9514dd966a70fe5482e1a7244e6cd4081
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 783.898
-There were 37 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 80.846
+There were 22 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1021,7 +948,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1063,7 +990,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1105,7 +1032,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -1141,192 +1068,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:4639d8fe79a607f9524e6ab4670193f5 pt: 4639d8fe79a607f9524e6ab4670193f5
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:f584cf63829a5fc879d411217741ee2d pt: f584cf63829a5fc879d411217741ee2d
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:02f79f6e381708495eed8f91d6ebaefc pt: 02f79f6e381708495eed8f91d6ebaefc
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:83ae5d664a184b574acb8e3d58f12f63 pt: 83ae5d664a184b574acb8e3d58f12f63
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1362,136 +1104,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:793b9934664447c885140f4869654efe8588bcce82bb4b63d1f3af98a6d9bc80454c84a43a91f81a908a8eb7dd9c55faf0bf96c43bba19449c1206edeb816b377e00ec5be5bf4c0cb3de14e417523aeb6cafc3cbe1b025f55a6df88cb965803ca1f21fbf5c06d0111460f64eeca9f5cd70af2e1e82625eaf0f75d0fbf870e59662336bb70b0d090dfd8e4b419d72fe350404235ba4efa35c05ab4bacd25a8124bf7c28d2fc9082b2938f3cb563ece7cbe8c37b9a4fb4ce41ba06cce03c25d42b52806957aa25b0beab3031e7258081035f410f207a9d8c72a30462b584999896121639191831a5c947ac5addd3195204561be8041c84b07edf91c4d971284026b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b10c308d3434a64058796fb81b69d347b1e04ac3f3e17420a6b9421781c3bc5bc6c7efdd23203a5af770ab760eb79301e148fd77
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1524,15 +1142,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:ed6aaa5ef96b42e0a19c3641c099dc2a22849050776b0533cfe731254122e4d38cbef1aa992e5054f30e754729ef42f24e8091fdebd5a93865674f887b939ec667bafa5e0d1c1fafd27c45ddda7c4b9c68090c21a50d88b0a8aa204b98da73f7ca18260fe0a87079daf7785863561e7c8613a51bce0486e2a7cc319fa8d1ac59d27257e29570584076013aeb9014df0cfba7c11c449123dad295e5e66f7a10325e86e60d0ad3a9ef682ff405b3b6cbb5ff2feb5cbfdc63de7556655e4c599ec83b4d3abe970af9cde60cde851599183f6586cae96d7f845632190e6f613f3fe05942aa1909bd8f04a36ab8677cd2cee11be275b17569ed1f3b9bad38db1f12b17c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b607c3fe1f3f9164b60a25a0a0202de1803d04759d81303d6f0d781af7fb2eb17c8364d877e
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1565,7 +1180,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1606,7 +1221,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1644,7 +1259,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1680,7 +1295,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1716,8 +1331,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[95c5222146db34bea2415bf7e729e4fc64625eae69bebe848087ce3f74bc800a]> but was:<[3d9ae44d11cd7399a324a93b24c69940b959ab2cb5d6f6f59ba70bdcd5c3dc64]>
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[f1cbaf36137217e24d0124000d8446df3fe12916098f23ee1d1bd624a635a596]> but was:<[4bf3514309c23841c633f8e3e5e18753636b17e6a3087aa3f11bf2e56896d6c3]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1753,8 +1368,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[95c5222146db34bea2415bf7
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[17350d41bdc2bf299fc656f3482e565342542741b95e372be33d1b1cb58adc62]> but was:<[a9c949fd8d3e4298fee90ba8ab2f927810a18fcf3e1aa02ef14b5c7b6502b84e]>
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[df636384c9b6e7d0dffc0660d18cd2ef9db62b0aad6a47ce38ef42ce36f7098f]> but was:<[039bcd0a48ce01664609683c6ae373b4b38b10db246456c023c54f372285d06e]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1790,7 +1405,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[17350
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+14) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.bouncycastle.math.ec.ECAlgorithms.validatePoint(Unknown Source)
at org.bouncycastle.math.ec.AbstractECMultiplier.multiply(Unknown Source)
@@ -1832,7 +1447,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+15) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1869,7 +1484,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1910,55 +1525,13 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+17) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.bouncycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.bouncycastle.jce.interfaces.ECKey
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(Unknown Source)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1991,177 +1564,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+18) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04dd3656ec5b874bdd53f9815cb14b9a71b0e6cf3efea1b88269bdfd61906c4a9d19153005fccdfd0db46c1cf104517755dd2c4fd7d5a52711c1b578505ac2dd6a5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9c5c2cecb3d6131e9cf0c77523d851a3bafc6d6279f6dca20567f6dc2c2943c7149beba449
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2194,15 +1602,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+19) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04e051193d994c6011486fcfc548cd7e282e8f5cebc1aadfb30b72dd6f5f996c00e4c9e78baf39a87b600cdaadf38befcf69949ca37593d9d695c5de96d98a2d1702a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea002a5aa43c06e85982c0954f5e352cea07fdd1d5bce3e996465fbe94aa92ba76962866020deca9b10746c8fc4876338d0c500877d
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2235,15 +1640,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+20) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2276,14 +1681,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+21) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.bouncycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.bouncycastle.jce.interfaces.ECKey
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(Unknown Source)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2316,7 +1720,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+22) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2355,12 +1759,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 37
+Tests run: 96, Failures: 22
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 20:12:59 --
+-- JVM shutdown starting at 2018-04-06 22:22:09 --
diff --git a/testlogs/BouncyCastleAllTests_1_54.txt b/testlogs/BouncyCastleAllTests_1_54.txt
index 37f5baf..7a2e664 100755
--- a/testlogs/BouncyCastleAllTests_1_54.txt
+++ b/testlogs/BouncyCastleAllTests_1_54.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -827,40 +827,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:c4dcf61e8d54949fc9af662505a806c9f37e7073d26147533d2745203d041f837a7efb47a18ee03236f55c836ed4cbe8109be7d6114da6bd0cbbbd97a736b6bf684b7e930fd9ed9a12eadf100cc43e6e45a635c10ea528608df6d55526c067aa90aff50ce875ffa039bf667fa9cbc2754efe1214a03a3f6636e32d9aac380dc3a7bee83497c10e779eb05db4afdc4629341ac6de8c1836db6b105cdef707130d6192b1e7687497ff51d29ce281e1870c3c9d0b5375e9d7ce3ce2af80790f425fdb0b56aded6873cb3007917bd24bf06980e668daa7a49831767ddf1a8d1da23a4a5e231fc50a63de7a4089d9ae6617fd4c4f9948a478e4a225ef7d11bc0a647bf9557e2443c244cef64c73f17a7413614bfffd90e458b94d53536b7100719b8333a03cc9
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:3004957 relative average:1.0035551830251577 sigmas:1.3769164649154928
-count:25001 cutoff:530083 relative average:0.8830129386248285 sigmas:32.03886698382837
-count:12500 cutoff:523729 relative average:0.6949860223536621 sigmas:59.06570278923739
-count:6251 cutoff:519708 relative average:0.4917394753605405 sigmas:69.60200610100847
-count:3125 cutoff:516264 relative average:0.3105034815028209 sigmas:66.76021333518922
-count:1565 cutoff:512962 relative average:0.18327200149965167 sigmas:55.96225967108492
-count:782 cutoff:509683 relative average:0.09661721381984946 sigmas:43.75581875965837
-count:391 cutoff:506504 relative average:0.04754139787167953 sigmas:32.620838079748026
-count:196 cutoff:503350 relative average:0.024082057330212986 sigmas:23.664752450110267
-count:98 cutoff:499996 relative average:0.014110135236637516 sigmas:16.904489778762258
-count:49 cutoff:496763 relative average:0.004227825990337696 sigmas:12.073095987036366
-count:25 cutoff:493660 relative average:0.002704602099312781 sigmas:8.636831496593052
-count:13 cutoff:491875 relative average:0.0010532867852479665 sigmas:6.238420224532785
+count:50000 cutoff:918052 relative average:0.9945206929005685 sigmas:2.122126514485425
+count:25002 cutoff:509760 relative average:0.9125952197326684 sigmas:23.937742345347033
+count:12501 cutoff:501309 relative average:0.7442923237081172 sigmas:49.51955925232405
+count:6250 cutoff:494958 relative average:0.7092335402548882 sigmas:39.8148372420789
+count:3125 cutoff:484818 relative average:0.8449188061168629 sigmas:15.01567203048384
+count:1564 cutoff:476752 relative average:0.7364988235169992 sigmas:18.049349741117727
+count:782 cutoff:472606 relative average:0.513626167703442 sigmas:23.557771501708377
+count:391 cutoff:469138 relative average:0.31192346415957173 sigmas:23.56599353711391
+count:196 cutoff:466100 relative average:0.18967412194372946 sigmas:19.64935828073852
+count:98 cutoff:462565 relative average:0.08796104263856773 sigmas:15.63821049752845
+count:49 cutoff:459437 relative average:0.0504726520787193 sigmas:11.512407268430518
+count:25 cutoff:457306 relative average:0.019636361727235662 sigmas:8.490198156907521
+count:13 cutoff:454981 relative average:0.00993303366187045 sigmas:6.182966223061994
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420f9b3983b3ddc647853e4e74992f9305bae91d204ea3b3d21aebb9dd796f7eaf7a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004d090ef0e86d968ae16f8572257cf3990790ea412f73b678242a95ebc3414b84586dcb44da3eea4402cc4bf53268daae71f3d62916a9bbbea8a1694df35c62f36
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201010482015530820151020101042078225c28a278050f3f04a40d488d7dc99dd5a4a9638a9d121bbb0231eca59d4aa081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004c8813c38fb254d4d9800b896b66ceb41cc68aa67a52038af6edcba5643bfff05f4a5e8f4e8724055cafb25cbb3811d081ab11c86a1e47aaa83f2d9694aae61c2
...Generated shared secret with a modified order:ECDHC
-expected:fde0b03338ac81e21d3c9ff4c366673e30a96f0d8a367410287d5b4eab7121ac computed:3cb760a0a673004c97d8aa21b99ad793e74a5264e931e29c6e48620a937e88e2
+expected:4b4f7d9f2c7030dfb324597a87ecbd3323f5e017f8b818495be4af2dca08f73d computed:fe84e2096bab3c12b3d2cec468b081d2398f0e7d10b88464e8c9d6d9194a9649
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:1fc15fbc2d4e9808d14bb7ef639d8bb78a1d2bcdad72ee2cb9a295ae8b4d95d5 computed:1fc15fbc2d4e9808d14bb7ef639d8bb78a1d2bcdad72ee2cb9a295ae8b4d95d5
+expected:83b81873aaef452a6e2db5b4544a093351c4df859317a7b47cdd829061b5cfb9 computed:83b81873aaef452a6e2db5b4544a093351c4df859317a7b47cdd829061b5cfb9
Generated shared secret with a modified order:ECDH
-expected:229bafc3fb4de37e61167e1e8e0c69464fd7ffa7c11e26fdd76a5bc46a2dcf8c computed:229bafc3fb4de37e61167e1e8e0c69464fd7ffa7c11e26fdd76a5bc46a2dcf8c
+expected:a4337b7fe7b3af48ce9a1f4faf8624023cdb9afb7a64956f7f9f70344163c710 computed:a4337b7fe7b3af48ce9a1f4faf8624023cdb9afb7a64956f7f9f70344163c710
..E...E.Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
Invalid ECDSA signature was verified:3067022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce
@@ -869,35 +870,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:70739175900084609526941825381131720737768307977794247107855866555811921734463
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104209c64f4676e78e8899b93f7007a95156632e9e04a7289451e10f3684db6812b3fa00a06082a8648ce3d030107a144034200043f801f8ef30b76e8a5c8d1537eed5264aec3ed5bc7a3130c3b64746b4a466a3c12c2da11e496e2c38989cab9f274c909d140de6f5280da288817e05151424a39
+S:101217969128653555120674756545130878207383907796359880239061618568915514563713
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420dfc75720855a8eab259910198cb526f1884d00eab1f2dda6f0461730408c1c81a00a06082a8648ce3d030107a14403420004a306b857859e6cc22dec848e2ef02d2eda31d00af4b3a5b2138b0afe0be03f598257396b53c4062b5867b3071a05c1fb233e94e1b930a783c4e7238c0ad25e1c
Public key:
-X:28722083693082195996608223087356849530776184965112554437300671315100471552572
-Y:8485904668161768551861384678177215950152993126717028142311994218161979411001
-encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200043f801f8ef30b76e8a5c8d1537eed5264aec3ed5bc7a3130c3b64746b4a466a3c12c2da11e496e2c38989cab9f274c909d140de6f5280da288817e05151424a39
-Signature:304402201efc86c980afe267b26a0c4bdf3d64a0a0d0156c728b5b2a966cb588976fc4b4022023cee84ace0337afdef8a9a75a6ef7efe1d3b6fe1237e7c39868378fe1e2b1de
-r:14015561184334222511953139383521000599546910580495505385975259634613045150900
-s:16196523417642835242599785178998727504679924674471402865455956224586612388318
-.BC curve:secp256r1 countLsb:522 countMsb:522
-BC curve:secp224r1 countLsb:532 countMsb:513
-BC curve:secp384r1 countLsb:505 countMsb:503
-BC curve:secp521r1 countLsb:535 countMsb:511
-BC curve:brainpoolP256r1 countLsb:509 countMsb:521
+X:73738867682375968106796748826083721279463488276416903836446058832240865984345
+Y:58954782303537970217970541429119040450170580277413745581148453316626593504796
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004a306b857859e6cc22dec848e2ef02d2eda31d00af4b3a5b2138b0afe0be03f598257396b53c4062b5867b3071a05c1fb233e94e1b930a783c4e7238c0ad25e1c
+Signature:3046022100cda5a064dc3eb8dfaa25b790c7f2c885c4af9f3f8d8c0c89c2b3e22fa20ba3e10221008a5cf13462d1614f11a3eb1d2949bfd1409119d5c79a6c4cc6d2d9458934f28d
+r:93016770723862702804469556814006211389134275501005550170494105377568518284257
+s:62583387767643914737498945156860694492491422451792234040155873669838062023309
+.BC curve:secp256r1 countLsb:512 countMsb:521
+BC curve:secp224r1 countLsb:535 countMsb:499
+BC curve:secp384r1 countLsb:519 countMsb:501
+BC curve:secp521r1 countLsb:491 countMsb:501
+BC curve:brainpoolP256r1 countLsb:531 countMsb:518
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1117421 relative average:0.9962891602602493 sigmas:1.4372020512499313
-count:25003 cutoff:137338 relative average:0.9818876622912825 sigmas:4.960565573258021
-count:12518 cutoff:135650 relative average:0.9637658731319364 sigmas:7.021758708913605
-count:6251 cutoff:134592 relative average:0.9503221594959073 sigmas:6.802962634769899
-count:3125 cutoff:133740 relative average:0.9360882403730033 sigmas:6.18822951655424
-count:1565 cutoff:132978 relative average:0.9259460309005991 sigmas:5.0741831503568875
-count:782 cutoff:132298 relative average:0.9322250104884097 sigmas:3.2827171414748566
-count:391 cutoff:131727 relative average:0.9408308675608137 sigmas:2.026488798888313
-count:196 cutoff:131194 relative average:0.9118880514950852 sigmas:2.13660120190167
-count:98 cutoff:130602 relative average:0.9456061555441889 sigmas:0.9326601484553706
-count:49 cutoff:130070 relative average:0.9619193081975531 sigmas:0.46170385092446753
-count:25 cutoff:129673 relative average:1.0885176826655731 sigmas:0.7665856187251571
-count:13 cutoff:129127 relative average:1.0277266294506682 sigmas:0.17315274542175746
-E..E.E.E.E..E.E..E.E.E..E........Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:499667 relative average:0.9980668400425904 sigmas:0.748709632060253
+count:25001 cutoff:147250 relative average:0.9843906725044413 sigmas:4.27487588335438
+count:12502 cutoff:144781 relative average:0.9746364499564685 sigmas:4.912023260676522
+count:6250 cutoff:140674 relative average:0.990087519341535 sigmas:1.3573223143687287
+count:3126 cutoff:138461 relative average:0.9802536090850608 sigmas:1.912241964335308
+count:1563 cutoff:137310 relative average:0.9627780031279947 sigmas:2.548823629204946
+count:783 cutoff:136412 relative average:0.9729212127890723 sigmas:1.312413587173548
+count:391 cutoff:135629 relative average:0.9813672902088066 sigmas:0.6381533094742995
+count:196 cutoff:134994 relative average:0.9691359250092724 sigmas:0.7484140441757856
+count:98 cutoff:134364 relative average:0.9363831894169261 sigmas:1.0908010749427393
+count:49 cutoff:133554 relative average:0.8560030196273588 sigmas:1.74587060299339
+count:25 cutoff:132836 relative average:0.9329653071661974 sigmas:0.580537469289597
+count:13 cutoff:132476 relative average:0.9283425269020402 sigmas:0.4475007760670456
+....042b0ebe9505d8c69d5d94e185fe569f2c0427b127187c9fa80f5e8ff96a7d927b30b51149939544b33cb2ac34acbd5f9b6a09af4ec5c5b2802851e48981e90816cc8f49b59aea22a5f414ecce9c3e0cc943af72e1944838c040617a76b89757d3a5d4d24bb9ec31715fecf5aff1b7d6c0331065a2e981f732a94f92e9
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:04014ed1df5160efa274fb1e79c59c035ac65432cf41141dc5c87ec921774a6d5bd8658ed74dd96f2499b4053a547d845238c0e8793480f8f870d4b381985d4c37b007cb3141f120fd7e91939b474c14ef500579eacd97220f14e6beea47e4c003faee5a53
+...E...E.043402e4fb64a04474ec706b6fa7df9bd7b2bc9ae1268ea297fc7face6e93a0b3a65960504dd6a3b7e164a20172a596f7cb6f8e33e971c9b50f866598ab88d2867599a1e945ab7f092799c67a57b3144a33ed035524c7939bba50a06677b2a52139f1c1b4d16cf3d72e388cde0f2a8d27d41c17fc41f696008b36e7538dcb69bd290c2399f
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -906,98 +913,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:25973535921523778737271628035169247955757510550542131519331728024515854167614700173287717041916440022293134043328191560400647882410188017242443953052329984090181614796368235897937858303461352142389506469313529592278745617304603990931179130294268094105043117839162237883266610651680532113662012449431051576286453111374485849299004468906846144573675901167317879821258112819280793937577920444246499797477221367520398271147245886961762844849558063078665376967381918499349061178013442810713513940555537137466917461630132977363819484812146333395407777412413004435660147778851089805190018037708614657162551107226260917125631
+Modulus:20887226622056134145743601557106032659720792142880071543354587555983119001237088146537919647730714761917143802472215586848283431780594052180346879568450050176346133620983281998109938336482339802471267045608270386674481783127606224656856514305446571384768607446597093804622978869710887679901250378917193218137406708550499644583196878409474947154054417481035102164088094496264028332403954276166047641891338331308004134756662204973686738108406928703371641739481742417348532639825839114808142868073421972365255230668216978257764526272223430572620251045789458901955152725676949904793849782149288369274929639081672627335999
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100cdc0026d47d64c816073d1f8399e00c5138dc7e6d4aca6c9779bd352876deb516feeeab13cfebd6ab09c14ce5ae1d7139b2c37f3927c4246fa6dc32a9f35997f4de5d3f4594c8e6a422dd05e72fd2a8624b89bfbdad0608557d301094919722a38497360153a6b4c68f57cfb33810ea07c67d2e90d4756ab9c18e4fd16d51c6dc96ede520a0fa9c3820b7966786ef4c3bc6e38c8f2e325cc03bb3062baabb9938e8c0099146e121c42b92fb5031a2483ad34f670917e2caef4baf3bb4ec0d00eae1fdcc9ff352581e9096d890903704ee191721077b73e029d82166edea379a2d09dfe21a490dfd2537d4950a91353425f2cd17da7eb56e5b387bff5230b01ff0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100a5756dc6426217dce7215ef37733c5b637be407131c4464ce0af82c3f9959356ff09ab0dab4bc996c0275754abbf6af08afce00e27eebc796f2a9cb7fc6c614a5a2461b14b82b712a4d20665011995d6245a9a2069a511019851d958342abb5f46c308536e4a5eb216947ac0752c3ef6442a4a2b36758355dd597b7394040e0bcb6dc56ed989e16b5f1d189faa8d7b29217ccf1970235906aefc84f72cbe5a0a0ae0d66679cd89ffaf7247cd3e70ed6a0b1fb0c5c4ce16ee2338e77638bb09bd9204a793ab0de3e4c247789d11a1292fa82e0d72966f01370983ff6fe91186b1cdcbd41b0e36e6eec8e7673ee7eaed41615d941f2630d18a7cb1689d398e333f0203010001
Private key:
-D:1248139561807613315174340915189277582057956877700240874593212823166688487295337937537687874086528858154556614031589045692587501172424006728548303342327813243836997403991064044044925692108289236315852404606427044203272393672245695847728664332210532234231286028474524942760592934459809814353615482461431838975191400244796554430290940013547377826318229090206724242775708277020349757090564931396221512215611411610897259723868761951750502693762979973828493073462907301385200069071869375074397546088622352289613912887779749705999108899343417107001619899025414900499948010934632579338230694953129640178899554492296761129409
-encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100cdc0026d47d64c816073d1f8399e00c5138dc7e6d4aca6c9779bd352876deb516feeeab13cfebd6ab09c14ce5ae1d7139b2c37f3927c4246fa6dc32a9f35997f4de5d3f4594c8e6a422dd05e72fd2a8624b89bfbdad0608557d301094919722a38497360153a6b4c68f57cfb33810ea07c67d2e90d4756ab9c18e4fd16d51c6dc96ede520a0fa9c3820b7966786ef4c3bc6e38c8f2e325cc03bb3062baabb9938e8c0099146e121c42b92fb5031a2483ad34f670917e2caef4baf3bb4ec0d00eae1fdcc9ff352581e9096d890903704ee191721077b73e029d82166edea379a2d09dfe21a490dfd2537d4950a91353425f2cd17da7eb56e5b387bff5230b01ff02030100010282010009e31d9012d1018180c3babb559ecf7aa8f88f3aa5cdb0d622f6a203bd43a84de98b19a1701a430ff5720aadea95750dc42483d6789b9ab3be7a627e91d8098af73b56cc248916999499e456d03fca38ad5b11b9309d5830badfb0ea63fb8d0e3fab87ed28c2a8955615e098fc5df4a351ac763e2cc7d8d50ba89bedc2edcac7db0ca2aa8ef1dadbba2c1ca4852795ee996ca1a1ea372f653c034e510f6f9e3fc1858d1f5c32d0ccc9be988f4c0352e12c1415c6123a212a0082aa5323b9ba4fd28671d9cbc6b5409122a4d7b9c75b416972e5f7b2fc2c2627e69862d53457ad8f727503e1dfebda28a6fce7d4c66ae31851f666347254f0aed2948fa28f39c102818100f5e9f76bea14567c2cffb7c4fdc353963bde5f1d14fff90b22ef593fef484233bb6143cf5ba0fcf1429fa5290d63e3083a7f38dd102573fd81c3408dd63571af0d6eea88db56b179169c00b2f3b7f0a03eca871b7faa2ec66fd67dae136e2ee5af9bfa9dcb0e81846fdaa5db28f8becfa5a11346669ecef8d7843cf850c925b302818100d6305514d0b86a3c4d4164cdc51eea2891a3fa4de9495b6ea9e92190a9159e7166c94d9f20e36fcee28fb5343b4c2178108577d1b7858873c0682fff0658ce19382264786435136a7f5cae8a53cc4820b4a28c73ea837bdcb06d5c97cde05b46699f74cd34e4507a9c39ec2be15b6b92c31b210c1aabcb871b7a3da8c9ade48502818100a7a9e48acc271fac3c56016aab05e0d89e6b07f861180129c9a0dcfe0d5bfbdf1f93ba53078b24ca2d7d817312f1169ac69f751aabe68d45bb926f5205499d00182d9674c6ef3dc36c59e2d41ffd3a6f5740688ba4285909ecb89629f88f78241bee421a11970b514b9e0cd4f70359bd639505fa4aff5de825b0c08d212f73a702818071abf2eb7a1df51b8db09febe8aa9080f9523a3bf10c227f27a37751cbba927d029ce11a0b9d48b05663083af121653dd01ed5493289a6b22fb1db8f0ff23f66f8f89fb39912e5fc061dccefd2ab3eb844c5639efd1dccb581d878648439869766e4de5b2dafe1da4061292adc8de5185d7d5f5b8a28147adea55065ecaae1f502818030b6f825c22252e9ce57dfa26141e067ccb3aa3b110e3aace040900d12919ee3860c563e176c325fa9ec475388f785f65204b6bebddb1fc251c36e5af2779980f189eb66f46669c9fc3342b1fe124904d9dcc46997cb4dd5cbd3de8af0492af7ab257b3153e4a43a25ceeb34585995845f08f9153f1c0b5a401a32b2cd96dc75
-Signature:b8a223ed5f711f8cec9edf40d461c472dc348680cc3c5a095b4f3ee8a0133929e37c2742c66765c301f17e9f6b647d3e467795e250bb05eb49c4fa72570ec05c26631fc65d590b3e09237ab947658588496d059e28373bbc8587923b1c3696bf753092387bc9e36c94d69831d89e6a5380c3e9128de4dcbe50feefaebc7f199107ee5d81a36786bbf03746f00a2c1c196ed850e87b8673be588e3108b795f3dd95832a6940a98cb5fa729c67069600bd8360b88cc9ee8a17e954cf9bf6abafc92454d144675c293fff6083a3eeb3d2dc0bafd099cd2ba31065d7179c5aaccaff37070a8aadadd4ecd3d0af5f1a698ddfafe563a979a543ed93ea1c9152cf66b6
+D:2920329852417723685512742741775830099959131763816013786895312354478742075596005900281168770803615352601534837756578900808563423492158373134695186802656633806336262300213159176475599508326406146299711917526108634101321033596262505707169633040584813671645555183074739010509488615334251854844365125379834924665309763493815075354326658612358794269793997286853972589308819421797644177177644394109201452972787852506650533167415993004576437287206385100031526271021295014443914080464153255303175229653001214794797455803840947940145509408800181747692223483387346514223691938723738131729407515232390889952774677006024818047273
+encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100a5756dc6426217dce7215ef37733c5b637be407131c4464ce0af82c3f9959356ff09ab0dab4bc996c0275754abbf6af08afce00e27eebc796f2a9cb7fc6c614a5a2461b14b82b712a4d20665011995d6245a9a2069a511019851d958342abb5f46c308536e4a5eb216947ac0752c3ef6442a4a2b36758355dd597b7394040e0bcb6dc56ed989e16b5f1d189faa8d7b29217ccf1970235906aefc84f72cbe5a0a0ae0d66679cd89ffaf7247cd3e70ed6a0b1fb0c5c4ce16ee2338e77638bb09bd9204a793ab0de3e4c247789d11a1292fa82e0d72966f01370983ff6fe91186b1cdcbd41b0e36e6eec8e7673ee7eaed41615d941f2630d18a7cb1689d398e333f02030100010282010017222afdfc4c10c00f04c86ccbeece26e2f653b63fda0c663547f4c587c0d4ffe5daa932d90f58991e36a1ec31b32ab58509441e5690f78316fae33c8a2b7112df3594ff1fea9fc4188d50dd9060ce654961ed88b89c9e9b157be42283f0b18fe9a9dd21251b7acff57e3f07679a8f170982cc29ec8c53978ec233137ecf6e531838a72b04f172161351e51c3367532297dd2a16063023e761f0caea4ea0406ad7cd93d62bd62f6c8a99cad6fe1db3bb2180856accc015032dcda2d4a4e96715cda921edf87d6ba5f8ad6be1cd71b98c0117b9a15faf5c0be30d9a8368dffbba5a8328ede8f892209f04e9db6cdf28e0d58613f8ac68ed57bd07b4ba086c392902818100d818a3b57f33adeaa089bf061bd7dc1d12cefccc9924532b11a956d48026ea8fea3e29c51c71a13a50deb99fe0db4e509f676811d446f770a4f5d5fc14198e84a938dc11671b2ba03fc5862f11cfd6b406f11bdb3ae78aa73a0fa456b78155e60ee5b502ae72571c63f98b1a5141dc8a068a82e9d3db2c9ec9a9c71fad94829b02818100c40309a676a018f989f7e37209c37ddbc79c3fe5bd42a1a0c7d07cf996ec737111bb858d2c9fd9293883d050430d2ca3e09173a9cb10cf70737ba03c1957a3ddf2e95d8325d1cdefd8e1df3ace934c914acdd71a52fcc8bff20e79f853bfb999de6d54ca7c07313786ffc59d7533a5a0da64d611cd1b74918f3a6e01d4c69a2d02818100c5977a11da16d21ee8de2b0a15e981fe1f959e78224ba1b48ef8ad49af486650639aa5acf37e3f334880ef706e35795da4f3f3a7e1d76627dcde60e497286b35885a5277a334a7e666896151a6d2c97a61a2939b19386082da47353889a0bc7f98fd974eb55e1da2fb13518b25e3b81989339bd2dd01dac1f299c85681ec7aa30281807e563ae519368d826163ee2c759094519131eb9967484826fa432e1a2d25d02e83b06b1f18311b664f2fde97acf013e2b87ee79efbeca4d7a5077cbadfd6b61efb4f60df8403db89892fe492e1ccdd2014a7e1c9eccd53932c301a7b6d7778e86d0de905edb5310aca2f972eaaf913fb3e6899f5b54ec9ee7bf3bc2ddff7f62d02818100867473a0df17e900998b0f68b9670dc64c93e48ea97d5509fec62d79d47b5e1838924db59ca5bc19418a75df7b24d36e8c2caf30abc4d52b386178d292f40b6601000993ebafb53d63bcc4c8022b1ce4f98fb79b9f213bc287156b04a796811f9a409f376ae01f933404832f28a8566b9a1e0f249a144e08cad0beebbabd170a
+Signature:480353701e79cd43e807afcc6075243bc299edf467361356fd71fc289959181e51ad2376f34f49147461adbe5c14b9fd2a3de1b587a2a5e71391715a3fec0c84a6120a9be5d360849fe409c9992a209cd6f1e6912a8bb181646bacf12616274481c136d7a65d69ad19e966194fcc569732e94775bcf7bcbabe3bcaa945785f9c01b7798c095e619a9aa08ee1c27c00c0e000251adecce713edf9edc5c8f455c8960d30f79c558eeba6c4c3c06eb894da54ca46fbe6692d3b7aee89e833506f4d42680fb8b6e33736b9fbdd0d36936353bb0ea47cef41d39cfdf1e0cf579c73124b442d8d975546970a6094f03876fb4a70896d99a03d042b74ff334983bb9614
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 697.864
-There were 38 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 74.351
+There were 21 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1037,7 +964,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1079,7 +1006,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1121,7 +1048,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -1157,192 +1084,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:5d45f7a1cb6658f5254b5b64069b65d4 pt: 5d45f7a1cb6658f5254b5b64069b65d4
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:92674c65068cd38f8f9fc16092bc56d7 pt: 92674c65068cd38f8f9fc16092bc56d7
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:f6eb3f1f438abfd1c8582b1074a42823 pt: f6eb3f1f438abfd1c8582b1074a42823
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:2a8e45a1af29d4f130e0dfc73bc0a300 pt: 2a8e45a1af29d4f130e0dfc73bc0a300
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1378,136 +1120,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:cb81159c9035438a8adbfff31d60f264336358c1a9e7065699088afd4b5f2eaf4f587123c6e36663dd53e682077a322038cb0be7ae1921eeeb148b3ae2a027a9c4da5a6d034fe96889936f25afd978709349d25ede3a74b5fddedb0026a62f02e452a01cd2fb49694f5efe5e40d64f5f76dfeec071e7e6a240668f6007f703da448cbbbb82054d61e4c442984f43bfd9bb7340c50fce1308d0a4685fd74018173e52243ed7a8cb05cc7581a3eae897bdf8d3cef56a05c290dd2f503cb6b8ac0a23a00b1a9727561fd578dda5302210c89ef3ba521039d17bc9b30faf442f68fb97d2c83882d57cc9768c6fa81e9be194074d15bec7f386e40cf193680b6abdc2bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27bac8b25409a85a4c168329e944f92c27cd1ddf941d1bc7929ab3c645f0b327b1a4c63f2427f1281b9339ccaded8f82b7b1c58dde
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1540,15 +1158,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:1b86918bfc2a691bb13c9d9bcf6dcf4296f2ecebe61202f3fe8ad19877bb53e530ecddbca03d6281bd086a6d96ee560326d115f2fc7c5e173d0673637732486af02497370f98d313f6a10e060a6cdae4cecd1cda0117f88a05f820708bf454e39423026d9cd7b99e080bdf1851594802c8b665e387bb66714ae449d2f6f0b0d3c6d0f4db5b8b3a845c0ed56b51641af5c786c844c1d37fdc3fc687709b442b754ed2a785b065ed7f735ad651fc936920ef17999c3c38eaaf9c9cd84bce0e1feedee9f16ff7c7ca3ded420efa3ffcab1369517d4fc39ec65bc9fba6c222eed808c1055b2f1b40d1d4070cc0fbf1925a174075587457954179a9fa4bbb63895c6814cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f89014cf625cf7d0f8903af752386ace109936ac35a2b388364a7f0da3bf216c39696a257ccf
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1581,7 +1196,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1622,7 +1237,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1660,7 +1275,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1696,7 +1311,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1732,8 +1347,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[fde0b03338ac81e21d3c9ff4c366673e30a96f0d8a367410287d5b4eab7121ac]> but was:<[3cb760a0a673004c97d8aa21b99ad793e74a5264e931e29c6e48620a937e88e2]>
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[4b4f7d9f2c7030dfb324597a87ecbd3323f5e017f8b818495be4af2dca08f73d]> but was:<[fe84e2096bab3c12b3d2cec468b081d2398f0e7d10b88464e8c9d6d9194a9649]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1769,8 +1384,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[fde0b03338ac81e21d3c9ff4
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<6[25baa71de16831ac00c59082f0b9adfbe5dbfdb38383d9a8546e4f4c2f85bd9]> but was:<6[887513f551f0063d220b6b27193409da2a234143cd62e8f57802bd5f37a1963]>
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[c4c52b8d50e2eef26cc68cc8cc6a983b03fc606786218a3ba0e2d2b96f886ddb]> but was:<[dbd85952581174cd9a4635b7fb21681926706ec4e5c0bc4349519a48f3f55eba]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1806,7 +1421,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<6[25ba
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+14) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.bouncycastle.math.ec.ECAlgorithms.validatePoint(Unknown Source)
at org.bouncycastle.math.ec.AbstractECMultiplier.multiply(Unknown Source)
@@ -1848,7 +1463,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+15) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1885,7 +1500,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1926,295 +1541,12 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testTimingAll(com.google.security.wycheproof.EcdsaTest)
-java.lang.AssertionError: Signatures with short timing have a biased k
+17) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0430cbef448489737fb326883a8fe452f47da0478398cf30b649050413ff212d1502f44a3ea1df5966ca064665e386f33feb44d372792cf9320f1cfaa9f90fb0812b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa752b87b06cc31aaa75091e51d807b468a9746677c1175c2aaf437c26935c3f721beb2ad210
at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.EcdsaTest.testTiming(EcdsaTest.java:905)
- at com.google.security.wycheproof.EcdsaTest.testTimingAll(EcdsaTest.java:919)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2247,15 +1579,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+18) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04534805740c587d35c0aaffd9ccb3b7075f45bd9186c09725141800cf2544fd8b8bea18f7dce5c9278afdb61429431915d1206e7f240d443677e870e1a3edc0a24077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc4077687382b13d93a2b7a5c5111cf1cc2fbc14d1b3b3f4372764424543c48937737b73155b8c678caf38a121ce615b1e06e20009
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2288,15 +1617,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+19) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2329,14 +1658,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+20) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+javax.crypto.ShortBufferException: Need at least 102 bytes of space in output buffer
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:759)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2369,7 +1696,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-38) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+21) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2408,12 +1735,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 38
+Tests run: 96, Failures: 21
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 19:59:55 --
+-- JVM shutdown starting at 2018-04-06 22:06:45 --
diff --git a/testlogs/BouncyCastleAllTests_1_55.txt b/testlogs/BouncyCastleAllTests_1_55.txt
index 373ffbc..87b7f3b 100755
--- a/testlogs/BouncyCastleAllTests_1_55.txt
+++ b/testlogs/BouncyCastleAllTests_1_55.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -878,30 +878,31 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:cc72d1acddcf1b83e5ad086545ce1341cc3dccaeb937ad0a5869a836d90db3fabdcf42d9dc803a5e7d724bcd166fcfd0b87128c9906ce6db33070dffec7dc2b7f82dfd6a6b282fb5d3a63a274ad3dbc284d236050d97c69db3e649c4f800c95fcda27517edca3801f5595d9593270b65d9d49f6ba55f6df1b9acf8adba3254cd73742d8611a9b789c03b0f2c768827b48d927532440f75bc894772c6c770cdf2d882cbd1c9510d703ac823bee37dc90fc66371b24bf111ca6b4e8aa3a52ab22118259391c61c9836b1d7236d22d62b006a38dbf24ba54f5d006c21662d348da3d9accc03f7529e41b2a1bfbbbc4c3a2819a450314b2a063039f297fb384ea81e98192df47178403034e6d422d608b425c0388253628c2932b5274a254005b6b322ec2812
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:2367500 relative average:0.9957614120413957 sigmas:1.6415980575109652
-count:25001 cutoff:542187 relative average:0.892544638032662 sigmas:29.42845138856815
-count:12500 cutoff:533668 relative average:0.6903458188548032 sigmas:59.9642743329421
-count:6251 cutoff:528990 relative average:0.5003430300878863 sigmas:68.42382160783372
-count:3125 cutoff:525219 relative average:0.3290820702068024 sigmas:64.96134921902528
-count:1563 cutoff:521750 relative average:0.1973165199706153 sigmas:54.96477332225213
-count:782 cutoff:518542 relative average:0.10353618555673953 sigmas:43.42069473698058
-count:391 cutoff:515282 relative average:0.05582289594398837 sigmas:32.33720432698347
-count:196 cutoff:512156 relative average:0.02776697977480742 sigmas:23.57539782956643
-count:98 cutoff:508701 relative average:0.01727099195508926 sigmas:16.850292375990474
-count:49 cutoff:505414 relative average:0.005034243045123205 sigmas:12.063318699859517
-count:25 cutoff:502144 relative average:0.004147287951492726 sigmas:8.62433747061637
-count:13 cutoff:499594 relative average:0.005024290348982267 sigmas:6.213621315225631
+count:50000 cutoff:3989388 relative average:1.0031632558469776 sigmas:1.2251237215137882
+count:25002 cutoff:539583 relative average:0.897180476968784 sigmas:28.15941236697609
+count:12500 cutoff:532345 relative average:0.7409109352804796 sigmas:50.17238164215791
+count:6250 cutoff:526043 relative average:0.6967250917102317 sigmas:41.527627098904155
+count:3125 cutoff:520016 relative average:0.6596352220951439 sigmas:32.955677911527346
+count:1563 cutoff:515465 relative average:0.540473398187504 sigmas:31.46666915736701
+count:782 cutoff:511255 relative average:0.47048775981787627 sigmas:25.647202898782417
+count:391 cutoff:506760 relative average:0.5454399188071062 sigmas:15.568268030732508
+count:196 cutoff:500697 relative average:0.6866446160060462 sigmas:7.598464242638967
+count:98 cutoff:493186 relative average:0.8454155501420116 sigmas:2.6505711702464607
+count:49 cutoff:489505 relative average:0.6570324668570691 sigmas:4.158260349250834
+count:25 cutoff:486653 relative average:0.3755729438353429 sigmas:5.407696934489256
+count:13 cutoff:483001 relative average:0.30611659331941116 sigmas:4.333300485842139
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420319579245829fba5982d55f3a855324a97702bfc254bc27b2418438dd7511fb3a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a1440342000476aabc753793ea8a6c7563d54d5bfeed8e0e68170dda17ecf31a972a4f0d1078dd990c627227dba0bae6ab4d76f78effa30b632866ec3345d099ea48018b2786
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420434953ccbd03ca25d1e4c76fc1cfda6a9b23f7d697a1e2f05d044253184d46b5a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004b0e8c865ed8adb51dd59aa599e429c06b784f42a4063241db235211f89f527c62ad75003d57d8c95a10025b1ebd2da20b83c0c8dbd4bd394c61ece97a6f22ad4
...E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.E..E...E.Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
@@ -912,35 +913,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:17544660856978285125929843966309755411334281276132725679502957320813283660879
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d03010704793077020101042026c9ed179fd145f5b29a7425f8c30b2106f180ce05c2a33a17951f987154544fa00a06082a8648ce3d030107a1440342000428479f20676f8dc872cbaa6d53d31e398eb75dba98a49692744c685f777e1dd7092780cdd270e7491ab3febc90964d7960a57281a6ba4b7c4bd4141e9c7e7f67
+S:101256136420943637815569451561159904227339316559849675549933548695792856890797
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420dfdcf13812f7684e4cc1e4fea66d2deaed4fe27c5b74d340252f3b18c6907dada00a06082a8648ce3d030107a14403420004d17dd56fbc3243cd600fb56e8579c6c7e9b4fac0fdba6e93a8d43f9eb5fd34a9f69aa36945e88bd2617fd92c6f834c4435a7e6bfaf0a6c27ff139d8d85bb8431
Public key:
-X:18219058336210410500622476546254785755088342284283557150565997119984608615895
-Y:4140611645259237481833027332587460336052470748104107715060850184442842349415
-encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000428479f20676f8dc872cbaa6d53d31e398eb75dba98a49692744c685f777e1dd7092780cdd270e7491ab3febc90964d7960a57281a6ba4b7c4bd4141e9c7e7f67
-Signature:30460221009ecd07a15994fe834516b6b37cbd9f1def019499d6322077caed8a1f088d42a7022100b19e2fd3cab7afa3df579f7fa51779853f71c24fd8bd644ef73f4b5e53f69337
-r:71827686386645585709129406256331792475666837039917910950555616520341350597287
-s:80338866127448828384783205257610241632458235114004647197717527035824123056951
-.BC curve:secp256r1 countLsb:519 countMsb:515
-BC curve:secp224r1 countLsb:525 countMsb:504
-BC curve:secp384r1 countLsb:532 countMsb:506
-BC curve:secp521r1 countLsb:508 countMsb:500
-BC curve:brainpoolP256r1 countLsb:500 countMsb:486
+X:94755714321345308249695907506739486975329656600857666474318923134874754561193
+Y:111542183022270541713733372307656311624197949885369073345905030138761255289905
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004d17dd56fbc3243cd600fb56e8579c6c7e9b4fac0fdba6e93a8d43f9eb5fd34a9f69aa36945e88bd2617fd92c6f834c4435a7e6bfaf0a6c27ff139d8d85bb8431
+Signature:3045022023aae7b8b074bf88f28748c701a0ad491d1ea69d99e6d67408246c7f509bdaad0221008eaba0f050b0e77d68e1a191fb1142c7b4e763f91755d0c4cec4f85ccf1c7557
+r:16132912984045935055675575537510162343209207879099014041269747459564448242349
+s:64531666105201374999634647401579033573161352206172703870099799757442063824215
+.BC curve:secp256r1 countLsb:517 countMsb:538
+BC curve:secp224r1 countLsb:497 countMsb:514
+BC curve:secp384r1 countLsb:481 countMsb:508
+BC curve:secp521r1 countLsb:533 countMsb:535
+BC curve:brainpoolP256r1 countLsb:511 countMsb:535
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:6333367 relative average:1.002519123911631 sigmas:0.9756524956779761
-count:25004 cutoff:139031 relative average:0.9943891344724773 sigmas:1.5367217312640757
-count:12509 cutoff:136570 relative average:0.9765407238302765 sigmas:4.54450443464553
-count:6250 cutoff:135373 relative average:0.9694712114504977 sigmas:4.180326535466944
-count:3127 cutoff:134448 relative average:0.9443254865562909 sigmas:5.392386320185573
-count:1563 cutoff:133701 relative average:0.9490262102517432 sigmas:3.4904951560564172
-count:783 cutoff:133006 relative average:0.9198548166809685 sigmas:3.8843551860389254
-count:391 cutoff:132371 relative average:0.8966108227205559 sigmas:3.5409849873734744
-count:196 cutoff:131792 relative average:0.8658128622791758 sigmas:3.2538651635659366
-count:98 cutoff:131309 relative average:0.9128767158737834 sigmas:1.4938531357732643
-count:49 cutoff:130769 relative average:0.8491934431043091 sigmas:1.828432330605043
-count:25 cutoff:130243 relative average:0.9548588725803642 sigmas:0.390933631008749
-count:13 cutoff:129897 relative average:0.8289848423108606 sigmas:1.0679893174644621
-..E.E.E.E..E.E..E.E.E..E........Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:516079 relative average:1.0022046456220433 sigmas:0.8538555778462394
+count:25003 cutoff:149036 relative average:0.9984371552578187 sigmas:0.4280283389747152
+count:12502 cutoff:146520 relative average:0.989128396454479 sigmas:2.1054453893401854
+count:6251 cutoff:144914 relative average:0.9857610654886785 sigmas:1.9499023801462467
+count:3125 cutoff:142908 relative average:0.9867177666202902 sigmas:1.2860467170014058
+count:1563 cutoff:139804 relative average:0.9902524426021697 sigmas:0.6674764040213841
+count:782 cutoff:138326 relative average:0.9723689085520806 sigmas:1.3383263972063402
+count:391 cutoff:137257 relative average:0.9601861818169476 sigmas:1.3635869458092236
+count:197 cutoff:136368 relative average:0.9615158706783278 sigmas:0.9355681011564527
+count:98 cutoff:135595 relative average:0.9793940938451492 sigmas:0.3533176903694182
+count:49 cutoff:134931 relative average:0.9000644548268742 sigmas:1.2116540920536392
+count:25 cutoff:134207 relative average:0.8436228139444625 sigmas:1.3542661569642116
+count:13 cutoff:133648 relative average:0.8434541757956115 sigmas:0.9776283588140336
+....0469445939ad551638ec79666117fb1aa1522856b0e5babf5515bf093043e1688316e2da99ebaa2e2d373ac69fb335ccecf6a03c755d121c90b35415eb22fc4642062d74daab35d3be4ad34d18447403191936ddb8758beb48e77994dd08e7e5e070748b028b1ba17104018d64aa2bb0903234ad38db4815c1d28f3e6c
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:041cf50835e1052d2180b422c9efa7f194f77d75b61c30332c518e27af5e4bd7f10c6438b9be0c1726c702d36772045775f0c029c06bcb4e73e824af437899f3ab77ca5e8299b7eab5deef392b82c4ec28ac4abb3111d5c21719103c55c6c3c3b443080e47
+...E...E.046013c6571a201c28438297e6e21dd27c6edfeab5840804802432bd9c4b1f6be32d4b0ab7fdf8ce17a707105c4a325b8e78f7fabb59bb9438bfb0e5a795ff39b1cdd99539fb0223b18b99a80f71c8e3059f76fc01fa76e3d3ae97ddc475dabe90666de941b340a2cd6533449dfb8bb652153e3b66cf190833d63918dfa38d1a3beb4ed935
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -949,98 +956,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:21856240641518021523182966854272399121723891811865034638425452528692126703252088204068432093162186247617491926474873832502909814938115992470568662665794586104684931725912486086079381552022233001267239209715695968430139630750828668848394768275160067495177978828379771085237123514540694752144863559359888962727489216361937696666649686635057492486229510718882948080732662051631739192852409672439953825567580547223302853792187285286672955655436927107945282257728876871105026381797928718696502666275121009683687215805137068116671218890974101959736585220249912850273889758889601494786605262991050439141148440171952608177277
+Modulus:20158851283440055576884321083653667324749180978395001432644278476254091341517804636378105313215557368566177643065392368760638925472432544233375114637702161908199298861603526330869301104558335248721489396592240965559819690599741252552678060206535199114096880025491333708329711032579723972471787887536445996885525495223050143744869182817093201561804075905138988889660950974221380099785904346740157542465617130027999506758729841515336357558499651348053984482839619319884167620413371658401405111964617573436191640706659554220390827370837281975532520720416355869496306747857239323388541752931928290108736722705001188435191
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100ad2280ac8c6b5747994ffa2effd737308263ab4590945a7fdacf203e845351189d92d053fb8897d612e7e7292d728916fa5b10a2d073807ead4d10bba16fee8a3069f81aded6ccf926b2ecd5b4209b7e7adc69a77f8bac1d278593f1113f3561295d19f247d2ed4b03bf10eb42e3a5a5b48f0b821a629403088c8dcbdab9878a19da6b90c5457c7ac0a525823b35c823720a2e1a4d36793d72fd5cd52554c15d080076077d570677b287d706c0a171d99fa49d34414fa169943415bb079a09011634baca2251730750af7724ad2ac682872ce38a4cec5a62ba8f0e8b1f8b84415143f2f0d19b899a5d1da218387ca4bf83d2642fa4b61733087fdb25963cec7d0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a02820101009fb0594592693ba3f1fd8f722b2332b2c9b628a090b17ba813cd3356847923f08e0563afaa69c461af54d72f45d16fc8d0d0ce27f10d0808c267276d93c088828febfe7ea2d976d7e3c04e4025e3d8f2095e7911c752b4840f7dd561a1cfd9440c1d3c58f6dc4aeb35b22ee54c6d184f67cbcc8f7669f90467c16a07a59545102ca93be690c1e684ce214394b49e2cdcc5b4e38ee15c411d0b7cc8509d2d02b17fe56da77d06894d3ae91f217bdd5f8891df2756ae65c7a9b8e8595c0a267c48637ada53d65958f5f09e2e9aced36b1fb62f58dc40cb8424f6e89d5870277741bb64b4d9534eee07eeb3abd219ca2cd94d53ccb7a3d0bdb4f32d1969e63c24f70203010001
Private key:
-D:2537894491385814788461821227108548717767349996006727704936412923132689689972815222438634179607919760507333469039989469541589387547172783354456681308065624002573391068162931155149977777604852116203727518591581035441862804065090043333327497239329968012547178218166380181556288965708755162180484484897519798073667296684894264919415694693055024445809532800059057538948202303068057259890332846679594282667913091543047968529949617284194390431268163527794674919446761532623137262686338742563866181214681332964473313030420982796165213002093309309051883170789351458527863458985289041935421609314382003264516350322553793517273
-encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100ad2280ac8c6b5747994ffa2effd737308263ab4590945a7fdacf203e845351189d92d053fb8897d612e7e7292d728916fa5b10a2d073807ead4d10bba16fee8a3069f81aded6ccf926b2ecd5b4209b7e7adc69a77f8bac1d278593f1113f3561295d19f247d2ed4b03bf10eb42e3a5a5b48f0b821a629403088c8dcbdab9878a19da6b90c5457c7ac0a525823b35c823720a2e1a4d36793d72fd5cd52554c15d080076077d570677b287d706c0a171d99fa49d34414fa169943415bb079a09011634baca2251730750af7724ad2ac682872ce38a4cec5a62ba8f0e8b1f8b84415143f2f0d19b899a5d1da218387ca4bf83d2642fa4b61733087fdb25963cec7d020301000102820100141a9f8a69bbc524c13eb23466ecdcb1bb524b7f066cd39d691108137a561a629b5982eb5d97dcd9b4d44cd95137ad878786af85d862b1170494a04ec94e300ac7d86640e88354c5d1a29131b77ad9d373fcc81ff50588f4d1b4071bc4feebf9de4dbb4790e3833e64aef90df8746ab5b523af186a6bebf7f6342bfaf1e8fd3df0eebc7a0d20b458d86a1bd2f48270650d7ed9d494d90ce8812bf9c17006c5645aabac3d91f63c0ea5760c2b4a11cdb26b869cadce4b02ae6d86c851704957acbc9376d0022ffa9e68ce866aa0bd31b0c76dba4b11d8250dc4df96bbdb789afde793f52fb1442aedbaa52a739d65de5900371ac71195371b1619db443d3b96d902818100e6759dc92c64e2dd16f9537fa1230775442ebe93e0dca13f63c7276eeb43250517ea1527c2a72024d713cdba8391c7ce05d66a493bf7cf89a04457be3046a20b84ff44c8197c6de2ab255a20e4f008b3b29773599817980c843f75b736d5e03a1ea2c203a9d950c1d57d293f0985b7ca03b16cd0bcbb40a5531d84b13bf8fcab02818100c052860866a93f1280992d010b0e7bcd890650cc1a36ef04618bd31f85e2dee9a9fb1972baa05b7edfded26b72c7f3a45a30f57a3a215b8c625e8eaeb5752d911c22936d4ff287624b5a5ee9087cdcf59cfe5642bb95e3b5e2f9055e6e72472a2a05bfb4c2709ae0480469c05cbb7570ce3cb8306754c4a59e9c9f95a3ac6b7702818070b6b3ae31a54203a9f9d569c5b0b1341c5dd45dd50b735de27a04024ed42f25f79548358311643a406af222b7b8b405427ba4ce1ea34c00debeae3f59b3220c0a472327ceb739b333cb77f240a6594b321cba90e63f1be17b48e254f25fd663f699d9d41add2b8f31d01e3d33760ff6a0a9c533ae2ad32a48a55641acb851330281802bb5d5ceacfe845e412a0f27708adf2a6c9d29d9e98f58ad873a0f46d7d8234fba195ec44b944c973e6c5728a292bd563a456c555646e496b878c33703f8d8dd65269a993a95659dba809497a41d34df01ca7072844de1ce2202f4ec6c6fbeaadf9824e50158346b0b132db1d1a1ad64710b2dd59a7692a70db08d38a65576ab02818050a9c48790e180362858e4c215fedf23e398904ef0114a5599f33c0df30525ece3aee01fc40b0fce87e6b9c5d581073ce7f9d7fcc41e51ce2e324f6fd33a5d7dbc0da1f19ee143877b5d2ededf0f51d5f75729a2ba7961fd9fbe2a787f3553ced07bb53590d834aa5e823431b4f075001564571e55f2d7c411b02b97d4477600
-Signature:00daa44f87ad64bf822d5a77e32094f1e98fb825cca88ff4af06567f80fdc345aef6257b72c43a2fd9a248ce21dcbfe74818e52385ab0e8d037b3ebc917b6035b87192fe4fea30e83597f1a38720cebb3f57fa6edde9750f37f59a9c800154dc754ed35a4cc79a48dd4c87bbdf81188a2604d9767b4d3913b2040648629005903c21d6408ab2eaa691c1eacf2ca2e302d827a0af19eb7e79af5d03572573465ea0140c20fad4b821a85a9b394cfa75356f4b0d62e9503fc608db149cce30e9f3aaefee818032731fc1151630e2837df8771a9d700c12bd4eeebd90df74755158bdb567b275a9ccb4fe7980dc9b182c737ad916e7e79cda8c4a15ee2fa81f982e
+D:910276035900233524124179229954973315374639408406400571275340160581980778949270740506710300902430272559167722635735301940669404968919623661463012078436709001129099466933773322781826323075865034703802853670170617576026159335665363790238978584685594894156237956504529556650193399897476689644040938022534688091445362380360117204208118966449391515337091373470932145696174124484307650470260070965280120075129680993045559633601725454437274793268014153820812150092177325747323475996856827073851047364633507196438307065623480550416514797031891272467537379862498635134043725421439327668377388586265087466395153953140780766705
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a302010002820101009fb0594592693ba3f1fd8f722b2332b2c9b628a090b17ba813cd3356847923f08e0563afaa69c461af54d72f45d16fc8d0d0ce27f10d0808c267276d93c088828febfe7ea2d976d7e3c04e4025e3d8f2095e7911c752b4840f7dd561a1cfd9440c1d3c58f6dc4aeb35b22ee54c6d184f67cbcc8f7669f90467c16a07a59545102ca93be690c1e684ce214394b49e2cdcc5b4e38ee15c411d0b7cc8509d2d02b17fe56da77d06894d3ae91f217bdd5f8891df2756ae65c7a9b8e8595c0a267c48637ada53d65958f5f09e2e9aced36b1fb62f58dc40cb8424f6e89d5870277741bb64b4d9534eee07eeb3abd219ca2cd94d53ccb7a3d0bdb4f32d1969e63c24f70203010001028201000735f55cae372644499718dfca3c35513173e79dbdd590848f1b02fdc87997e532e48cbdcfef7ab8abd6cee8b439b82c7f3c0e886b301ac96fcdd74ff163639bfc57bc64322cfe5ad2a3f50f4726ba1323d7d4ebb7ee6f76f9cec57b3a77f792efb66f952cd5d70ee14681d644d48af67af4b99b4e238c3a6607abd15b3ec44c3102a81cfcb2b56d7ce4f8bc30d271483f53274a4b6f8b34ece50b7f4edefdedd410f792df15d4e86c2bb922d87b9c4d2791f329594ddf7a08896fd176ca33f33db2e5da6989bdb7aab6d111f4adea78497ffa6725c93f3f94b97b85242e1c77d5d3f24e4a54cc43aa355f536c7e0d79a07e4cc065962a692af8b6afc1d715f102818100dd2ffe484f681506b8947853232d618b613c7443fb86de36327b55bde9074ba58b7408134e3780cd4fd22974b4cc67c4228304340ee49783a22c568544d8b4e883acb912103ddabc35d14d0896c33fd65fe94be79a359e2512a8ccd91350e47a4e2671fa27375af0c1b12ef129c892592d005389184765fc11284331dded85cd02818100b8d279af23e84fc633c98d9ef9a783bf2515a63e25bf20a7bf49807fb2bcbe2f3fec357014e954e42c03a46ce9574218a52fb9a89bff12beaf2566fe1b6f563712e3ae0871b8d34883828ff542dbd1efe4776cd27e4c1b19ac377d1c05a5ab94ff39fb65b86d0c727c3795c7fb5ae167cabfc957678058a518fd40fbf3a551d3028181009d7e93f8571a4c86799db643b47396d6510963dc185883176240b1dfc4f2dde9656fdc642ab898ad189e13c8b7082906de701de91785ab611e73a5b3c53eed29f6c061133c9f5e85cf68560abc9710788bd8a9a4a30874afff26549e69039b7c7ef31f0b392b5044c8166acf6baa16930ad905a243b86b24ddeea651f6ad2f2d028180032ac0210b2978ec7988b39f8cc19d15526a5b8de711ae5a91818ded223fefb6598f0f9f5b0c6083046a0f903a335f9392890dd260d1ef1d4b5d05b5c6fc926aa12d3b973373aa532cc5b8f7c7ec825d6cf9cae8947773636e3b092ec8bdfd01b199e9bfe57820e579516e849dbf01ebc8629eed9b7d6c876fb52f3ee1feec3702818029e17b624105e3ff03c93be3b5725375f547afe76ae20627dbac3acd58e06752b7ebe1ecb20fb2b3b195ce9b00c4d76fa323d3272be8499f96565b1ab5e797613d919bbe182f8f0f126c785bb6554338e4e6143ce03a41922eb011a13c17e376927a59cd74deb68e47db0c8c2a7905d5eef0a676e5e4c2f06a1a31c47f2673e4
+Signature:32e29e132b987cabfb9449f0c60c97f9d1fe817e628bc121410ea71d1f8e8c4cd2e4a444534aeb33915ada6c47318ab1aaface96a7ec5a55061cdf38b81b7a772d3178285ec0b46b93291471cfb45303e9c96872cc2a7eef3ffce4750f406ca5bb76c4dece6ae018ea5a9b028d3ad11e6a619268cb82a9a760165679d1188f89a30d65de6538974ea758b0dbc732566036a9f9ae70dda315c54fa6196478f4a1ecf82f87246e359dd5416907b1721cadf42cd20ba9b2824405cb0a9b33c28608bd5b58e04d65c731f69b866597e65fdfcff5661201961fb5aab8d5a49e9e936f57a62809cbf1d0384aa359ce49c715f1466f0c477a6d409a98ba560fc06be270
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 599.501
-There were 38 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 80.158
+There were 22 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1080,7 +1007,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1122,7 +1049,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1164,7 +1091,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -1200,192 +1127,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:f7caf7a4ad108233befca4ee85df98cf pt: f7caf7a4ad108233befca4ee85df98cf
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:bbd68a723ff074bf5bbb4764dbd8d3a9 pt: bbd68a723ff074bf5bbb4764dbd8d3a9
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:9e76859b803a435297f08e46309ca339 pt: 9e76859b803a435297f08e46309ca339
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:9ac2b701c6d245d15850a693109db68e pt: 9ac2b701c6d245d15850a693109db68e
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1421,136 +1163,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:6fb1c5053901001faee75945be47a19531bbade894422f82569132f7f79d19c865d118393d087a768d6f05be80ac44ead6742703cb8e129932ca194427e51c17f728d439498766615bbfd2c06baa4676d0576718c749960c48b85076bf9cf573e800138dd3be730ede67fded1db991abe957884495eb53512303d0cb8589e6c33b62c994903de5ef8feab1a1f9bfdefa290e52d94bf38d199eaa9149aa2c8bd65b480284a24cf34759602d6a158ddd33f73846dbd9e4ff56672cf8b87e5dac1864f1c0ce80c347abd56b9315a72818a6a3cc0cd3bc70abc4c8f26874d0d7c9b488813c4812b5dab1219177cba1e9c7479b906f6aba0caf73b1f93b011ccc5d74240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f8447240f3dc0975d41c9087e68620c7f844716211b98ee5befc7b4b8a3f8a004e4120c2bd50de33ffa2585f958c84d7697510155ca91
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1583,15 +1201,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:8a85bcd7b4d7c0fa43620dfeebed433c1e196199430395a4835e6b3c95364be42d366e0cee7c2c3733b06c689dc2ec0b5ddb252e2e4fcf57799489618ce7263f0c779d2a7fbea5c2883965b3c912805aeab820854233557c3848bd515fbc10663ffd8cc2fe601543b66582aa71cfae41fa241a92f04c6ef23518c14f7e8a4c9f5c93c53599ff37293782143fa2faf881718ef2033af3f0e8a6cfdec270f6c8d55c77b3c4a6cd089fd5fb1d1bc150c49432918335234f7c92bd34c307331b0ec1d7b3c59b0f7b68cf69a2589d832e9c8b1619d0a04d5079733bda7fdcbfae6c4767360d97af3ab00cda6d1fe301c34a72bd2d54bb928957885cfa7b67b3748f14afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228afb26426c6c36228c0f1f399795ce0ee7aa71babf4ce4da9c748f73ec83677964798d2f0
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1624,7 +1239,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1665,7 +1280,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1703,7 +1318,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1739,7 +1354,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1775,7 +1390,7 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalStateException: ECDHC public key has wrong domain parameters
at org.bouncycastle.crypto.agreement.ECDHCBasicAgreement.calculateAgreement(Unknown Source)
at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.engineDoPhase(Unknown Source)
@@ -1814,7 +1429,7 @@ java.lang.IllegalStateException: ECDHC public key has wrong domain parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalStateException: ECDH public key has wrong domain parameters
at org.bouncycastle.crypto.agreement.ECDHBasicAgreement.calculateAgreement(Unknown Source)
at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.engineDoPhase(Unknown Source)
@@ -1853,7 +1468,7 @@ java.lang.IllegalStateException: ECDH public key has wrong domain parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testWrongOrderEcdh(com.google.security.wycheproof.EcdhTest)
+14) testWrongOrderEcdh(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalStateException: ECDH public key has wrong domain parameters
at org.bouncycastle.crypto.agreement.ECDHBasicAgreement.calculateAgreement(Unknown Source)
at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.engineDoPhase(Unknown Source)
@@ -1892,7 +1507,7 @@ java.lang.IllegalStateException: ECDH public key has wrong domain parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+15) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.bouncycastle.math.ec.ECAlgorithms.validatePoint(Unknown Source)
at org.bouncycastle.math.ec.AbstractECMultiplier.multiply(Unknown Source)
@@ -1934,7 +1549,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testEncode(com.google.security.wycheproof.EcdhTest)
+16) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1971,7 +1586,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+17) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -2012,258 +1627,12 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+18) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:041a4a63008a9af8c070634ff577710e796aa3eb23d45d0dde33208b01ca3493feff683915a4c16b5dc0b20a9213bc8e3e9755611a815e895c915bd25a217c78821e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc0321e6ad120084fc032a9d54587ae64e8a04c7fc69b0f47d97cf1487813e4f729365d36dcfa
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2296,15 +1665,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+19) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04c068c000e945325caa8bb160ff212f74322fc6a1a0fec572845bcd6c859b4c202e95f4eca3c4841519bc0f9e17c39ae008ce708510345b87fa49d0b743e7e69214e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e14e713304cc8ce351838ded5b665ab6e2675907d0e24aed1b1e56d0a51b8442b6c6f167bba6382fb0ce3a7806ec9d28097cb8832
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2337,15 +1703,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+20) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2378,14 +1744,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+21) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+javax.crypto.ShortBufferException: Need at least 102 bytes of space in output buffer
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:759)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2418,7 +1782,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-38) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+22) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2457,12 +1821,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 38
+Tests run: 96, Failures: 22
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 19:48:16 --
+-- JVM shutdown starting at 2018-04-06 22:16:23 --
diff --git a/testlogs/BouncyCastleAllTests_1_56.txt b/testlogs/BouncyCastleAllTests_1_56.txt
index 1c78e21..08aca90 100755
--- a/testlogs/BouncyCastleAllTests_1_56.txt
+++ b/testlogs/BouncyCastleAllTests_1_56.txt
@@ -1,4 +1,1383 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.Terminated
+....E.....E.........E..
+Provider:BC
+AlgorithmParameterGenerator.1.2.840.113549.3.2
+AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
+AlgorithmParameterGenerator.AES
+AlgorithmParameterGenerator.CAMELLIA
+AlgorithmParameterGenerator.CAST5
+AlgorithmParameterGenerator.CCM
+AlgorithmParameterGenerator.DES
+AlgorithmParameterGenerator.DESEDE
+AlgorithmParameterGenerator.DH
+AlgorithmParameterGenerator.DSA
+AlgorithmParameterGenerator.ELGAMAL
+AlgorithmParameterGenerator.ElGamal
+AlgorithmParameterGenerator.GCM
+AlgorithmParameterGenerator.GOST3410
+AlgorithmParameterGenerator.IDEA
+AlgorithmParameterGenerator.NOEKEON
+AlgorithmParameterGenerator.RC2
+AlgorithmParameterGenerator.SEED
+AlgorithmParameterGenerator.SHACAL-2
+AlgorithmParameterGenerator.SM4
+AlgorithmParameterGenerator.Shacal2
+AlgorithmParameters.1.2.840.113549.3.2
+AlgorithmParameters.1.3.6.1.4.1.188.7.1.1.2
+AlgorithmParameters.AES
+AlgorithmParameters.BLOWFISH
+AlgorithmParameters.CAMELLIA
+AlgorithmParameters.CAST5
+AlgorithmParameters.CCM
+AlgorithmParameters.DES
+AlgorithmParameters.DESEDE
+AlgorithmParameters.DH
+AlgorithmParameters.DSA
+AlgorithmParameters.EC
+AlgorithmParameters.ECIES
+AlgorithmParameters.ELGAMAL
+AlgorithmParameters.ElGamal
+AlgorithmParameters.GCM
+AlgorithmParameters.GOST3410
+AlgorithmParameters.IDEA
+AlgorithmParameters.IES
+AlgorithmParameters.NOEKEON
+AlgorithmParameters.OAEP
+AlgorithmParameters.PBKDF2
+AlgorithmParameters.PKCS12PBE
+AlgorithmParameters.PSS
+AlgorithmParameters.RC2
+AlgorithmParameters.RC5
+AlgorithmParameters.RC5-64
+AlgorithmParameters.RC6
+AlgorithmParameters.RIJNDAEL
+AlgorithmParameters.SEED
+AlgorithmParameters.SHACAL-2
+AlgorithmParameters.SKIPJACK
+AlgorithmParameters.SM4
+AlgorithmParameters.Serpent
+AlgorithmParameters.Shacal2
+AlgorithmParameters.TEA
+AlgorithmParameters.Threefish-1024
+AlgorithmParameters.Threefish-256
+AlgorithmParameters.Threefish-512
+AlgorithmParameters.Tnepres
+AlgorithmParameters.Twofish
+AlgorithmParameters.XTEA
+CertPathBuilder.PKIX
+CertPathBuilder.RFC3280
+CertPathBuilder.RFC3281
+CertPathValidator.PKIX
+CertPathValidator.RFC3280
+CertPathValidator.RFC3281
+CertStore.Collection
+CertStore.LDAP
+CertStore.Multi
+CertificateFactory.X.509
+Cipher.1.2.392.200011.61.1.1.1.2
+Cipher.1.2.392.200011.61.1.1.1.3
+Cipher.1.2.392.200011.61.1.1.1.4
+Cipher.1.2.410.200004.1.4
+Cipher.1.2.643.2.2.21
+Cipher.1.2.840.113533.7.66.10
+Cipher.1.2.840.113549.1.1.1
+Cipher.1.2.840.113549.1.1.7
+Cipher.1.2.840.113549.1.9.16.3.6
+Cipher.1.2.840.113549.3.2
+Cipher.1.2.840.113549.3.7
+Cipher.1.3.14.3.2.7
+Cipher.1.3.6.1.4.1.11591.13.2.1
+Cipher.1.3.6.1.4.1.11591.13.2.2
+Cipher.1.3.6.1.4.1.11591.13.2.21
+Cipher.1.3.6.1.4.1.11591.13.2.22
+Cipher.1.3.6.1.4.1.11591.13.2.23
+Cipher.1.3.6.1.4.1.11591.13.2.24
+Cipher.1.3.6.1.4.1.11591.13.2.3
+Cipher.1.3.6.1.4.1.11591.13.2.4
+Cipher.1.3.6.1.4.1.11591.13.2.41
+Cipher.1.3.6.1.4.1.11591.13.2.42
+Cipher.1.3.6.1.4.1.11591.13.2.43
+Cipher.1.3.6.1.4.1.11591.13.2.44
+Cipher.1.3.6.1.4.1.188.7.1.1.2
+Cipher.1.3.6.1.4.1.3029.1.1.2
+Cipher.2.16.840.1.101.3.4.1.1
+Cipher.2.16.840.1.101.3.4.1.2
+Cipher.2.16.840.1.101.3.4.1.21
+Cipher.2.16.840.1.101.3.4.1.22
+Cipher.2.16.840.1.101.3.4.1.23
+Cipher.2.16.840.1.101.3.4.1.24
+Cipher.2.16.840.1.101.3.4.1.3
+Cipher.2.16.840.1.101.3.4.1.4
+Cipher.2.16.840.1.101.3.4.1.41
+Cipher.2.16.840.1.101.3.4.1.42
+Cipher.2.16.840.1.101.3.4.1.43
+Cipher.2.16.840.1.101.3.4.1.44
+Cipher.2.5.8.1.1
+Cipher.AES
+Cipher.AESRFC3211WRAP
+Cipher.AESRFC5649WRAP
+Cipher.AESWRAP
+Cipher.ARC4
+Cipher.BLOWFISH
+Cipher.BROKENPBEWITHMD5ANDDES
+Cipher.BROKENPBEWITHSHA1ANDDES
+Cipher.BROKENPBEWITHSHAAND2-KEYTRIPLEDES-CBC
+Cipher.BROKENPBEWITHSHAAND3-KEYTRIPLEDES-CBC
+Cipher.CAMELLIA
+Cipher.CAMELLIARFC3211WRAP
+Cipher.CAMELLIAWRAP
+Cipher.CAST5
+Cipher.CAST6
+Cipher.CCM
+Cipher.CHACHA
+Cipher.CHACHA7539
+Cipher.DES
+Cipher.DESEDE
+Cipher.DESEDERFC3211WRAP
+Cipher.DESEDEWRAP
+Cipher.DESRFC3211WRAP
+Cipher.DHIES
+Cipher.DHIESWITHAES-CBC
+Cipher.DHIESWITHDESEDE-CBC
+Cipher.DHIESwithAES-CBC
+Cipher.ECIES
+Cipher.ECIESWITHAES-CBC
+Cipher.ECIESWITHDESEDE-CBC
+Cipher.ECIESwithAES-CBC
+Cipher.ECIESwithDESEDE-CBC
+Cipher.ELGAMAL
+Cipher.ELGAMAL/PKCS1
+Cipher.ElGamal
+Cipher.GCM
+Cipher.GOST28147
+Cipher.Grain128
+Cipher.Grainv1
+Cipher.HC128
+Cipher.HC256
+Cipher.IDEA
+Cipher.IES
+Cipher.IESWITHAES-CBC
+Cipher.IESWITHDESEDE-CBC
+Cipher.IESwithAES-CBC
+Cipher.NOEKEON
+Cipher.OID.1.2.392.200011.61.1.1.1.2
+Cipher.OID.1.2.392.200011.61.1.1.1.3
+Cipher.OID.1.2.392.200011.61.1.1.1.4
+Cipher.OID.1.2.410.200004.1.4
+Cipher.OID.1.2.840.113533.7.66.10
+Cipher.OID.1.2.840.113549.1.1.1
+Cipher.OID.1.2.840.113549.1.1.7
+Cipher.OID.1.2.840.113549.1.9.16.3.6
+Cipher.OID.1.2.840.113549.3.2
+Cipher.OID.1.2.840.113549.3.7
+Cipher.OID.1.3.14.3.2.7
+Cipher.OID.1.3.6.1.4.1.11591.13.2.1
+Cipher.OID.1.3.6.1.4.1.11591.13.2.2
+Cipher.OID.1.3.6.1.4.1.11591.13.2.21
+Cipher.OID.1.3.6.1.4.1.11591.13.2.22
+Cipher.OID.1.3.6.1.4.1.11591.13.2.23
+Cipher.OID.1.3.6.1.4.1.11591.13.2.24
+Cipher.OID.1.3.6.1.4.1.11591.13.2.3
+Cipher.OID.1.3.6.1.4.1.11591.13.2.4
+Cipher.OID.1.3.6.1.4.1.11591.13.2.41
+Cipher.OID.1.3.6.1.4.1.11591.13.2.42
+Cipher.OID.1.3.6.1.4.1.11591.13.2.43
+Cipher.OID.1.3.6.1.4.1.11591.13.2.44
+Cipher.OID.1.3.6.1.4.1.188.7.1.1.2
+Cipher.OID.1.3.6.1.4.1.3029.1.1.2
+Cipher.OID.2.16.840.1.101.3.4.1.1
+Cipher.OID.2.16.840.1.101.3.4.1.2
+Cipher.OID.2.16.840.1.101.3.4.1.21
+Cipher.OID.2.16.840.1.101.3.4.1.22
+Cipher.OID.2.16.840.1.101.3.4.1.23
+Cipher.OID.2.16.840.1.101.3.4.1.24
+Cipher.OID.2.16.840.1.101.3.4.1.3
+Cipher.OID.2.16.840.1.101.3.4.1.4
+Cipher.OID.2.16.840.1.101.3.4.1.41
+Cipher.OID.2.16.840.1.101.3.4.1.42
+Cipher.OID.2.16.840.1.101.3.4.1.43
+Cipher.OID.2.16.840.1.101.3.4.1.44
+Cipher.OID.2.5.8.1.1
+Cipher.OLDPBEWITHSHAAND3-KEYTRIPLEDES-CBC
+Cipher.OLDPBEWITHSHAANDTWOFISH-CBC
+Cipher.PBEWITHMD2ANDDES
+Cipher.PBEWITHMD5AND128BITAES-CBC-OPENSSL
+Cipher.PBEWITHMD5AND192BITAES-CBC-OPENSSL
+Cipher.PBEWITHMD5AND256BITAES-CBC-OPENSSL
+Cipher.PBEWITHMD5ANDDES
+Cipher.PBEWITHMD5ANDRC2
+Cipher.PBEWITHSHA1ANDDES
+Cipher.PBEWITHSHA1ANDRC2
+Cipher.PBEWITHSHA256AND128BITAES-CBC-BC
+Cipher.PBEWITHSHA256AND192BITAES-CBC-BC
+Cipher.PBEWITHSHA256AND256BITAES-CBC-BC
+Cipher.PBEWITHSHAAND128BITAES-CBC-BC
+Cipher.PBEWITHSHAAND128BITRC2-CBC
+Cipher.PBEWITHSHAAND128BITRC4
+Cipher.PBEWITHSHAAND192BITAES-CBC-BC
+Cipher.PBEWITHSHAAND2-KEYTRIPLEDES-CBC
+Cipher.PBEWITHSHAAND256BITAES-CBC-BC
+Cipher.PBEWITHSHAAND3-KEYTRIPLEDES-CBC
+Cipher.PBEWITHSHAAND40BITRC2-CBC
+Cipher.PBEWITHSHAAND40BITRC4
+Cipher.PBEWITHSHAANDIDEA-CBC
+Cipher.PBEWITHSHAANDTWOFISH-CBC
+Cipher.RC2
+Cipher.RC2WRAP
+Cipher.RC5
+Cipher.RC5-64
+Cipher.RC6
+Cipher.RIJNDAEL
+Cipher.RSA
+Cipher.RSA/1
+Cipher.RSA/2
+Cipher.RSA/ISO9796-1
+Cipher.RSA/OAEP
+Cipher.RSA/PKCS1
+Cipher.RSA/RAW
+Cipher.SALSA20
+Cipher.SEED
+Cipher.SEEDWRAP
+Cipher.SHACAL-2
+Cipher.SKIPJACK
+Cipher.SM4
+Cipher.Serpent
+Cipher.Shacal2
+Cipher.TEA
+Cipher.Threefish-1024
+Cipher.Threefish-256
+Cipher.Threefish-512
+Cipher.Tnepres
+Cipher.Twofish
+Cipher.VMPC
+Cipher.VMPC-KSA3
+Cipher.XSALSA20
+Cipher.XTEA
+KeyAgreement.1.2.840.113549.1.9.16.3.10
+KeyAgreement.1.2.840.113549.1.9.16.3.5
+KeyAgreement.1.3.132.1.11.0
+KeyAgreement.1.3.132.1.11.1
+KeyAgreement.1.3.132.1.11.2
+KeyAgreement.1.3.132.1.11.3
+KeyAgreement.1.3.132.1.14.0
+KeyAgreement.1.3.132.1.14.1
+KeyAgreement.1.3.132.1.14.2
+KeyAgreement.1.3.132.1.14.3
+KeyAgreement.1.3.132.1.15.0
+KeyAgreement.1.3.132.1.15.1
+KeyAgreement.1.3.132.1.15.2
+KeyAgreement.1.3.132.1.15.3
+KeyAgreement.1.3.133.16.840.63.0.16
+KeyAgreement.1.3.133.16.840.63.0.2
+KeyAgreement.1.3.133.16.840.63.0.3
+KeyAgreement.DH
+KeyAgreement.ECCDH
+KeyAgreement.ECCDHWITHSHA1CKDF
+KeyAgreement.ECCDHWITHSHA256CKDF
+KeyAgreement.ECCDHWITHSHA384CKDF
+KeyAgreement.ECCDHWITHSHA512CKDF
+KeyAgreement.ECDH
+KeyAgreement.ECDHC
+KeyAgreement.ECDHWITHSHA1KDF
+KeyAgreement.ECMQV
+KeyAgreement.ECMQVWITHSHA1CKDF
+KeyAgreement.ECMQVWITHSHA224CKDF
+KeyAgreement.ECMQVWITHSHA256CKDF
+KeyAgreement.ECMQVWITHSHA384CKDF
+KeyAgreement.ECMQVWITHSHA512CKDF
+KeyAgreement.OID.1.2.840.113549.1.9.16.3.10
+KeyAgreement.OID.1.2.840.113549.1.9.16.3.5
+KeyFactory.DH
+KeyFactory.DSA
+KeyFactory.DSTU4145
+KeyFactory.EC
+KeyFactory.ECDH
+KeyFactory.ECDHC
+KeyFactory.ECDSA
+KeyFactory.ECGOST3410
+KeyFactory.ECMQV
+KeyFactory.ELGAMAL
+KeyFactory.ElGamal
+KeyFactory.GOST3410
+KeyFactory.RSA
+KeyFactory.X.509
+KeyGenerator.1.2.392.200011.61.1.1.1.2
+KeyGenerator.1.2.392.200011.61.1.1.1.3
+KeyGenerator.1.2.392.200011.61.1.1.1.4
+KeyGenerator.1.2.392.200011.61.1.1.3.2
+KeyGenerator.1.2.392.200011.61.1.1.3.3
+KeyGenerator.1.2.392.200011.61.1.1.3.4
+KeyGenerator.1.2.410.200004.1.4
+KeyGenerator.1.2.410.200004.7.1.1.1
+KeyGenerator.1.2.840.113549.3.2
+KeyGenerator.1.2.840.113549.3.7
+KeyGenerator.1.3.6.1.4.1.188.7.1.1.2
+KeyGenerator.2.16.840.1.101.3.4.1.1
+KeyGenerator.2.16.840.1.101.3.4.1.2
+KeyGenerator.2.16.840.1.101.3.4.1.21
+KeyGenerator.2.16.840.1.101.3.4.1.22
+KeyGenerator.2.16.840.1.101.3.4.1.23
+KeyGenerator.2.16.840.1.101.3.4.1.24
+KeyGenerator.2.16.840.1.101.3.4.1.25
+KeyGenerator.2.16.840.1.101.3.4.1.26
+KeyGenerator.2.16.840.1.101.3.4.1.27
+KeyGenerator.2.16.840.1.101.3.4.1.3
+KeyGenerator.2.16.840.1.101.3.4.1.4
+KeyGenerator.2.16.840.1.101.3.4.1.41
+KeyGenerator.2.16.840.1.101.3.4.1.42
+KeyGenerator.2.16.840.1.101.3.4.1.43
+KeyGenerator.2.16.840.1.101.3.4.1.44
+KeyGenerator.2.16.840.1.101.3.4.1.45
+KeyGenerator.2.16.840.1.101.3.4.1.46
+KeyGenerator.2.16.840.1.101.3.4.1.47
+KeyGenerator.2.16.840.1.101.3.4.1.5
+KeyGenerator.2.16.840.1.101.3.4.1.6
+KeyGenerator.2.16.840.1.101.3.4.1.7
+KeyGenerator.2.16.840.1.101.3.4.2
+KeyGenerator.2.16.840.1.101.3.4.22
+KeyGenerator.2.16.840.1.101.3.4.42
+KeyGenerator.AES
+KeyGenerator.AES-GMAC
+KeyGenerator.AESWRAP
+KeyGenerator.ARC4
+KeyGenerator.BLOWFISH
+KeyGenerator.CAMELLIA
+KeyGenerator.CAMELLIA-GMAC
+KeyGenerator.CAST5
+KeyGenerator.CAST6
+KeyGenerator.CAST6-GMAC
+KeyGenerator.CHACHA
+KeyGenerator.CHACHA7539
+KeyGenerator.DES
+KeyGenerator.DESEDE
+KeyGenerator.DESEDEWRAP
+KeyGenerator.GOST28147
+KeyGenerator.Grain128
+KeyGenerator.Grainv1
+KeyGenerator.HC128
+KeyGenerator.HC256
+KeyGenerator.HMACGOST3411
+KeyGenerator.HMACGOST3411-2012-256
+KeyGenerator.HMACGOST3411-2012-512
+KeyGenerator.HMACKECCAK224
+KeyGenerator.HMACKECCAK256
+KeyGenerator.HMACKECCAK288
+KeyGenerator.HMACKECCAK384
+KeyGenerator.HMACKECCAK512
+KeyGenerator.HMACMD2
+KeyGenerator.HMACMD4
+KeyGenerator.HMACMD5
+KeyGenerator.HMACRIPEMD128
+KeyGenerator.HMACRIPEMD160
+KeyGenerator.HMACRIPEMD256
+KeyGenerator.HMACRIPEMD320
+KeyGenerator.HMACSHA1
+KeyGenerator.HMACSHA224
+KeyGenerator.HMACSHA256
+KeyGenerator.HMACSHA3-224
+KeyGenerator.HMACSHA3-256
+KeyGenerator.HMACSHA3-384
+KeyGenerator.HMACSHA3-512
+KeyGenerator.HMACSHA384
+KeyGenerator.HMACSHA512
+KeyGenerator.HMACSHA512/224
+KeyGenerator.HMACSHA512/256
+KeyGenerator.HMACSkein-1024-1024
+KeyGenerator.HMACSkein-1024-384
+KeyGenerator.HMACSkein-1024-512
+KeyGenerator.HMACSkein-256-128
+KeyGenerator.HMACSkein-256-160
+KeyGenerator.HMACSkein-256-224
+KeyGenerator.HMACSkein-256-256
+KeyGenerator.HMACSkein-512-128
+KeyGenerator.HMACSkein-512-160
+KeyGenerator.HMACSkein-512-224
+KeyGenerator.HMACSkein-512-256
+KeyGenerator.HMACSkein-512-384
+KeyGenerator.HMACSkein-512-512
+KeyGenerator.HMACTIGER
+KeyGenerator.HMACWHIRLPOOL
+KeyGenerator.IDEA
+KeyGenerator.NOEKEON
+KeyGenerator.NOEKEON-GMAC
+KeyGenerator.OID.1.2.392.200011.61.1.1.1.2
+KeyGenerator.OID.1.2.392.200011.61.1.1.1.3
+KeyGenerator.OID.1.2.392.200011.61.1.1.1.4
+KeyGenerator.OID.1.2.392.200011.61.1.1.3.2
+KeyGenerator.OID.1.2.392.200011.61.1.1.3.3
+KeyGenerator.OID.1.2.392.200011.61.1.1.3.4
+KeyGenerator.OID.1.2.410.200004.1.4
+KeyGenerator.OID.1.2.410.200004.7.1.1.1
+KeyGenerator.OID.1.3.6.1.4.1.188.7.1.1.2
+KeyGenerator.OID.2.16.840.1.101.3.4.1.1
+KeyGenerator.OID.2.16.840.1.101.3.4.1.2
+KeyGenerator.OID.2.16.840.1.101.3.4.1.21
+KeyGenerator.OID.2.16.840.1.101.3.4.1.22
+KeyGenerator.OID.2.16.840.1.101.3.4.1.23
+KeyGenerator.OID.2.16.840.1.101.3.4.1.24
+KeyGenerator.OID.2.16.840.1.101.3.4.1.25
+KeyGenerator.OID.2.16.840.1.101.3.4.1.26
+KeyGenerator.OID.2.16.840.1.101.3.4.1.27
+KeyGenerator.OID.2.16.840.1.101.3.4.1.3
+KeyGenerator.OID.2.16.840.1.101.3.4.1.4
+KeyGenerator.OID.2.16.840.1.101.3.4.1.41
+KeyGenerator.OID.2.16.840.1.101.3.4.1.42
+KeyGenerator.OID.2.16.840.1.101.3.4.1.43
+KeyGenerator.OID.2.16.840.1.101.3.4.1.44
+KeyGenerator.OID.2.16.840.1.101.3.4.1.45
+KeyGenerator.OID.2.16.840.1.101.3.4.1.46
+KeyGenerator.OID.2.16.840.1.101.3.4.1.47
+KeyGenerator.OID.2.16.840.1.101.3.4.1.5
+KeyGenerator.OID.2.16.840.1.101.3.4.1.6
+KeyGenerator.OID.2.16.840.1.101.3.4.1.7
+KeyGenerator.POLY1305
+KeyGenerator.POLY1305-AES
+KeyGenerator.POLY1305-CAMELLIA
+KeyGenerator.POLY1305-CAST6
+KeyGenerator.POLY1305-NOEKEON
+KeyGenerator.POLY1305-RC6
+KeyGenerator.POLY1305-SEED
+KeyGenerator.POLY1305-SERPENT
+KeyGenerator.POLY1305-SM4
+KeyGenerator.POLY1305-Twofish
+KeyGenerator.RC2
+KeyGenerator.RC5
+KeyGenerator.RC5-64
+KeyGenerator.RC6
+KeyGenerator.RC6-GMAC
+KeyGenerator.RIJNDAEL
+KeyGenerator.SALSA20
+KeyGenerator.SEED
+KeyGenerator.SEED-CMAC
+KeyGenerator.SEED-GMAC
+KeyGenerator.SERPENT-GMAC
+KeyGenerator.SHACAL-2
+KeyGenerator.SIPHASH
+KeyGenerator.SKIPJACK
+KeyGenerator.SM4
+KeyGenerator.SM4-CMAC
+KeyGenerator.SM4-GMAC
+KeyGenerator.Serpent
+KeyGenerator.Shacal2
+KeyGenerator.Skein-MAC-1024-1024
+KeyGenerator.Skein-MAC-1024-384
+KeyGenerator.Skein-MAC-1024-512
+KeyGenerator.Skein-MAC-256-128
+KeyGenerator.Skein-MAC-256-160
+KeyGenerator.Skein-MAC-256-224
+KeyGenerator.Skein-MAC-256-256
+KeyGenerator.Skein-MAC-512-128
+KeyGenerator.Skein-MAC-512-160
+KeyGenerator.Skein-MAC-512-224
+KeyGenerator.Skein-MAC-512-256
+KeyGenerator.Skein-MAC-512-384
+KeyGenerator.Skein-MAC-512-512
+KeyGenerator.TEA
+KeyGenerator.TNEPRES-GMAC
+KeyGenerator.Threefish-1024
+KeyGenerator.Threefish-256
+KeyGenerator.Threefish-512
+KeyGenerator.Tnepres
+KeyGenerator.Twofish
+KeyGenerator.Twofish-GMAC
+KeyGenerator.VMPC
+KeyGenerator.VMPC-KSA3
+KeyGenerator.XSALSA20
+KeyGenerator.XTEA
+KeyPairGenerator.DH
+KeyPairGenerator.DSA
+KeyPairGenerator.DSTU4145
+KeyPairGenerator.EC
+KeyPairGenerator.ECDH
+KeyPairGenerator.ECDHC
+KeyPairGenerator.ECDHWITHSHA1KDF
+KeyPairGenerator.ECDSA
+KeyPairGenerator.ECGOST3410
+KeyPairGenerator.ECIES
+KeyPairGenerator.ECMQV
+KeyPairGenerator.ELGAMAL
+KeyPairGenerator.ElGamal
+KeyPairGenerator.GOST3410
+KeyPairGenerator.RSA
+KeyStore.BCFKS
+KeyStore.BCFKS-DEF
+KeyStore.BCPKCS12
+KeyStore.BKS
+KeyStore.BKS-V1
+KeyStore.BouncyCastle
+KeyStore.PKCS12
+KeyStore.PKCS12-3DES-3DES
+KeyStore.PKCS12-3DES-40RC2
+KeyStore.PKCS12-DEF
+KeyStore.PKCS12-DEF-3DES-3DES
+KeyStore.PKCS12-DEF-3DES-40RC2
+Mac.AES-GMAC
+Mac.AESCCMMAC
+Mac.AESCMAC
+Mac.BLOWFISHCMAC
+Mac.CAMELLIA-GMAC
+Mac.CAST6-GMAC
+Mac.DESCMAC
+Mac.DESEDECMAC
+Mac.DESEDEMAC
+Mac.DESEDEMAC/CFB8
+Mac.DESEDEMAC64
+Mac.DESEDEMAC64WITHISO7816-4PADDING
+Mac.DESMAC
+Mac.DESMAC/CFB8
+Mac.DESMAC64
+Mac.DESMAC64WITHISO7816-4PADDING
+Mac.DESWITHISO9797
+Mac.GOST28147MAC
+Mac.HMACGOST3411
+Mac.HMACGOST3411-2012-256
+Mac.HMACGOST3411-2012-512
+Mac.HMACKECCAK224
+Mac.HMACKECCAK256
+Mac.HMACKECCAK288
+Mac.HMACKECCAK384
+Mac.HMACKECCAK512
+Mac.HMACMD2
+Mac.HMACMD4
+Mac.HMACMD5
+Mac.HMACRIPEMD128
+Mac.HMACRIPEMD160
+Mac.HMACRIPEMD256
+Mac.HMACRIPEMD320
+Mac.HMACSHA1
+Mac.HMACSHA224
+Mac.HMACSHA256
+Mac.HMACSHA3-224
+Mac.HMACSHA3-256
+Mac.HMACSHA3-384
+Mac.HMACSHA3-512
+Mac.HMACSHA384
+Mac.HMACSHA512
+Mac.HMACSHA512/224
+Mac.HMACSHA512/256
+Mac.HMACSkein-1024-1024
+Mac.HMACSkein-1024-384
+Mac.HMACSkein-1024-512
+Mac.HMACSkein-256-128
+Mac.HMACSkein-256-160
+Mac.HMACSkein-256-224
+Mac.HMACSkein-256-256
+Mac.HMACSkein-512-128
+Mac.HMACSkein-512-160
+Mac.HMACSkein-512-224
+Mac.HMACSkein-512-256
+Mac.HMACSkein-512-384
+Mac.HMACSkein-512-512
+Mac.HMACTIGER
+Mac.HMACWHIRLPOOL
+Mac.IDEAMAC
+Mac.IDEAMAC/CFB8
+Mac.ISO9797ALG3MAC
+Mac.ISO9797ALG3WITHISO7816-4PADDING
+Mac.NOEKEON-GMAC
+Mac.OLDHMACSHA384
+Mac.OLDHMACSHA512
+Mac.PBEWITHHMACRIPEMD160
+Mac.PBEWITHHMACSHA
+Mac.PBEWITHHMACSHA1
+Mac.PBEWITHHMACSHA224
+Mac.PBEWITHHMACSHA256
+Mac.PBEWITHHMACSHA384
+Mac.PBEWITHHMACSHA512
+Mac.POLY1305
+Mac.POLY1305-AES
+Mac.POLY1305-CAMELLIA
+Mac.POLY1305-CAST6
+Mac.POLY1305-NOEKEON
+Mac.POLY1305-RC6
+Mac.POLY1305-SEED
+Mac.POLY1305-SERPENT
+Mac.POLY1305-SM4
+Mac.POLY1305-Twofish
+Mac.RC2MAC
+Mac.RC2MAC/CFB8
+Mac.RC5MAC
+Mac.RC5MAC/CFB8
+Mac.RC6-GMAC
+Mac.SEED-CMAC
+Mac.SEED-GMAC
+Mac.SERPENT-GMAC
+Mac.SIPHASH-2-4
+Mac.SIPHASH-4-8
+Mac.SKIPJACKMAC
+Mac.SKIPJACKMAC/CFB8
+Mac.SM4-CMAC
+Mac.SM4-GMAC
+Mac.Shacal-2CMAC
+Mac.Skein-MAC-1024-1024
+Mac.Skein-MAC-1024-384
+Mac.Skein-MAC-1024-512
+Mac.Skein-MAC-256-128
+Mac.Skein-MAC-256-160
+Mac.Skein-MAC-256-224
+Mac.Skein-MAC-256-256
+Mac.Skein-MAC-512-128
+Mac.Skein-MAC-512-160
+Mac.Skein-MAC-512-224
+Mac.Skein-MAC-512-256
+Mac.Skein-MAC-512-384
+Mac.Skein-MAC-512-512
+Mac.TNEPRES-GMAC
+Mac.Threefish-1024CMAC
+Mac.Threefish-256CMAC
+Mac.Threefish-512CMAC
+Mac.Twofish-GMAC
+Mac.VMPCMAC
+MessageDigest.2.16.840.1.101.3.4.2.10
+MessageDigest.2.16.840.1.101.3.4.2.7
+MessageDigest.2.16.840.1.101.3.4.2.8
+MessageDigest.2.16.840.1.101.3.4.2.9
+MessageDigest.BLAKE2B-160
+MessageDigest.BLAKE2B-256
+MessageDigest.BLAKE2B-384
+MessageDigest.BLAKE2B-512
+MessageDigest.GOST3411
+MessageDigest.GOST3411-2012-256
+MessageDigest.GOST3411-2012-512
+MessageDigest.KECCAK-224
+MessageDigest.KECCAK-256
+MessageDigest.KECCAK-288
+MessageDigest.KECCAK-384
+MessageDigest.KECCAK-512
+MessageDigest.MD2
+MessageDigest.MD4
+MessageDigest.MD5
+MessageDigest.OID.2.16.840.1.101.3.4.2.10
+MessageDigest.OID.2.16.840.1.101.3.4.2.7
+MessageDigest.OID.2.16.840.1.101.3.4.2.8
+MessageDigest.OID.2.16.840.1.101.3.4.2.9
+MessageDigest.RIPEMD128
+MessageDigest.RIPEMD160
+MessageDigest.RIPEMD256
+MessageDigest.RIPEMD320
+MessageDigest.SHA-1
+MessageDigest.SHA-224
+MessageDigest.SHA-256
+MessageDigest.SHA-384
+MessageDigest.SHA-512
+MessageDigest.SHA-512/224
+MessageDigest.SHA-512/256
+MessageDigest.SHA3-224
+MessageDigest.SHA3-256
+MessageDigest.SHA3-384
+MessageDigest.SHA3-512
+MessageDigest.SM3
+MessageDigest.Skein-1024-1024
+MessageDigest.Skein-1024-384
+MessageDigest.Skein-1024-512
+MessageDigest.Skein-256-128
+MessageDigest.Skein-256-160
+MessageDigest.Skein-256-224
+MessageDigest.Skein-256-256
+MessageDigest.Skein-512-128
+MessageDigest.Skein-512-160
+MessageDigest.Skein-512-224
+MessageDigest.Skein-512-256
+MessageDigest.Skein-512-384
+MessageDigest.Skein-512-512
+MessageDigest.TIGER
+MessageDigest.Tiger
+MessageDigest.WHIRLPOOL
+Provider.id className
+Provider.id info
+Provider.id name
+Provider.id version
+SecretKeyFactory.1.3.14.3.2.17
+SecretKeyFactory.2.16.840.1.101.3.4.1
+SecretKeyFactory.AES
+SecretKeyFactory.DES
+SecretKeyFactory.DESEDE
+SecretKeyFactory.OID.1.3.14.3.2.17
+SecretKeyFactory.OID.2.16.840.1.101.3.4.1
+SecretKeyFactory.PBEWITHHMACGOST3411
+SecretKeyFactory.PBEWITHHMACRIPEMD160
+SecretKeyFactory.PBEWITHHMACSHA1
+SecretKeyFactory.PBEWITHHMACSHA256
+SecretKeyFactory.PBEWITHHMACTIGER
+SecretKeyFactory.PBEWITHMD2ANDDES
+SecretKeyFactory.PBEWITHMD2ANDRC2
+SecretKeyFactory.PBEWITHMD5AND128BITAES-CBC-OPENSSL
+SecretKeyFactory.PBEWITHMD5AND192BITAES-CBC-OPENSSL
+SecretKeyFactory.PBEWITHMD5AND256BITAES-CBC-OPENSSL
+SecretKeyFactory.PBEWITHMD5ANDDES
+SecretKeyFactory.PBEWITHMD5ANDRC2
+SecretKeyFactory.PBEWITHSHA1ANDDES
+SecretKeyFactory.PBEWITHSHA1ANDRC2
+SecretKeyFactory.PBEWITHSHA256AND128BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHA256AND192BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHA256AND256BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND128BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND128BITRC2-CBC
+SecretKeyFactory.PBEWITHSHAAND128BITRC4
+SecretKeyFactory.PBEWITHSHAAND192BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND2-KEYTRIPLEDES-CBC
+SecretKeyFactory.PBEWITHSHAAND256BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND3-KEYTRIPLEDES-CBC
+SecretKeyFactory.PBEWITHSHAAND40BITRC2-CBC
+SecretKeyFactory.PBEWITHSHAAND40BITRC4
+SecretKeyFactory.PBEWITHSHAANDIDEA-CBC
+SecretKeyFactory.PBEWITHSHAANDTWOFISH-CBC
+SecretKeyFactory.PBKDF-OPENSSL
+SecretKeyFactory.PBKDF2
+SecretKeyFactory.PBKDF2WITHASCII
+SecretKeyFactory.PBKDF2WITHHMACSHA224
+SecretKeyFactory.PBKDF2WITHHMACSHA256
+SecretKeyFactory.PBKDF2WITHHMACSHA384
+SecretKeyFactory.PBKDF2WITHHMACSHA512
+SecretKeyFactory.TLS10KDF
+SecretKeyFactory.TLS11KDF
+SecretKeyFactory.TLS12WITHSHA256KDF
+SecretKeyFactory.TLS12WITHSHA384KDF
+SecretKeyFactory.TLS12WITHSHA512KDF
+SecureRandom.DEFAULT
+SecureRandom.NONCEANDIV
+Signature.1.2.840.113549.1.1.10
+Signature.DDSA
+Signature.DETDSA
+Signature.DSA
+Signature.DSTU4145
+Signature.ECDDSA
+Signature.ECDSA
+Signature.ECGOST3410
+Signature.GOST3410
+Signature.GOST3411WITHDSTU4145
+Signature.GOST3411WITHDSTU4145LE
+Signature.GOST3411WITHECGOST3410
+Signature.MD2WITHRSA
+Signature.MD4WITHRSA
+Signature.MD5WITHRSA
+Signature.MD5WITHRSA/ISO9796-2
+Signature.NONEWITHDSA
+Signature.NONEwithECDSA
+Signature.OID.1.2.840.113549.1.1.10
+Signature.RAWRSASSA-PSS
+Signature.RIPEMD128WITHRSA
+Signature.RIPEMD128WITHRSA/X9.31
+Signature.RIPEMD160WITHECDSA
+Signature.RIPEMD160WITHPLAIN-ECDSA
+Signature.RIPEMD160WITHRSA
+Signature.RIPEMD160WITHRSA/X9.31
+Signature.RIPEMD160withRSA/ISO9796-2
+Signature.RIPEMD256WITHRSA
+Signature.RMD128WITHRSA
+Signature.RMD128WITHRSA/X9.31
+Signature.RMD160WITHRSA
+Signature.RMD160WITHRSA/X9.31
+Signature.RMD256WITHRSA
+Signature.RSA
+Signature.RSASSA-PSS
+Signature.SHA1WITHCVC-ECDSA
+Signature.SHA1WITHDDSA
+Signature.SHA1WITHDETDSA
+Signature.SHA1WITHECDDSA
+Signature.SHA1WITHECNR
+Signature.SHA1WITHPLAIN-ECDSA
+Signature.SHA1WITHRSA
+Signature.SHA1WITHRSA/ISO9796-2
+Signature.SHA1WITHRSA/X9.31
+Signature.SHA1WITHRSAANDMGF1
+Signature.SHA224WITHCVC-ECDSA
+Signature.SHA224WITHDDSA
+Signature.SHA224WITHDETDSA
+Signature.SHA224WITHDSA
+Signature.SHA224WITHECDDSA
+Signature.SHA224WITHECDSA
+Signature.SHA224WITHECNR
+Signature.SHA224WITHPLAIN-ECDSA
+Signature.SHA224WITHRSA
+Signature.SHA224WITHRSA/ISO9796-2
+Signature.SHA224WITHRSA/X9.31
+Signature.SHA224WITHRSAANDMGF1
+Signature.SHA256WITHCVC-ECDSA
+Signature.SHA256WITHDDSA
+Signature.SHA256WITHDETDSA
+Signature.SHA256WITHDSA
+Signature.SHA256WITHECDDSA
+Signature.SHA256WITHECDSA
+Signature.SHA256WITHECNR
+Signature.SHA256WITHPLAIN-ECDSA
+Signature.SHA256WITHRSA
+Signature.SHA256WITHRSA/ISO9796-2
+Signature.SHA256WITHRSA/X9.31
+Signature.SHA256WITHRSAANDMGF1
+Signature.SHA3-224WITHDDSA
+Signature.SHA3-224WITHDSA
+Signature.SHA3-224WITHECDDSA
+Signature.SHA3-224WITHECDSA
+Signature.SHA3-224WITHRSA
+Signature.SHA3-224WITHRSAANDMGF1
+Signature.SHA3-256WITHDDSA
+Signature.SHA3-256WITHDSA
+Signature.SHA3-256WITHECDDSA
+Signature.SHA3-256WITHECDSA
+Signature.SHA3-256WITHRSA
+Signature.SHA3-256WITHRSAANDMGF1
+Signature.SHA3-384WITHDDSA
+Signature.SHA3-384WITHDSA
+Signature.SHA3-384WITHECDDSA
+Signature.SHA3-384WITHECDSA
+Signature.SHA3-384WITHRSA
+Signature.SHA3-384WITHRSAANDMGF1
+Signature.SHA3-512WITHDDSA
+Signature.SHA3-512WITHDSA
+Signature.SHA3-512WITHECDDSA
+Signature.SHA3-512WITHECDSA
+Signature.SHA3-512WITHRSA
+Signature.SHA3-512WITHRSAANDMGF1
+Signature.SHA384WITHCVC-ECDSA
+Signature.SHA384WITHDDSA
+Signature.SHA384WITHDETDSA
+Signature.SHA384WITHDSA
+Signature.SHA384WITHECDDSA
+Signature.SHA384WITHECDSA
+Signature.SHA384WITHECNR
+Signature.SHA384WITHPLAIN-ECDSA
+Signature.SHA384WITHRSA
+Signature.SHA384WITHRSA/ISO9796-2
+Signature.SHA384WITHRSA/X9.31
+Signature.SHA384WITHRSAANDMGF1
+Signature.SHA512(224)WITHRSA
+Signature.SHA512(224)WITHRSA/ISO9796-2
+Signature.SHA512(224)WITHRSA/X9.31
+Signature.SHA512(224)WITHRSAANDMGF1
+Signature.SHA512(256)WITHRSA
+Signature.SHA512(256)WITHRSA/ISO9796-2
+Signature.SHA512(256)WITHRSA/X9.31
+Signature.SHA512(256)WITHRSAANDMGF1
+Signature.SHA512WITHCVC-ECDSA
+Signature.SHA512WITHDDSA
+Signature.SHA512WITHDETDSA
+Signature.SHA512WITHDSA
+Signature.SHA512WITHECDDSA
+Signature.SHA512WITHECDSA
+Signature.SHA512WITHECNR
+Signature.SHA512WITHPLAIN-ECDSA
+Signature.SHA512WITHRSA
+Signature.SHA512WITHRSA/ISO9796-2
+Signature.SHA512WITHRSA/X9.31
+Signature.SHA512WITHRSAANDMGF1
+Signature.WHIRLPOOLWITHRSA/ISO9796-2
+Signature.WHIRLPOOLWITHRSA/X9.31
+Signature.WhirlpoolWITHRSA/ISO9796-2
+Signature.WhirlpoolWITHRSA/X9.31
+X509Store.ATTRIBUTECERTIFICATE/COLLECTION
+X509Store.ATTRIBUTECERTIFICATE/LDAP
+X509Store.CERTIFICATE/COLLECTION
+X509Store.CERTIFICATE/LDAP
+X509Store.CERTIFICATEPAIR/COLLECTION
+X509Store.CERTIFICATEPAIR/LDAP
+X509Store.CRL/COLLECTION
+X509Store.CRL/LDAP
+X509StreamParser.ATTRIBUTECERTIFICATE
+X509StreamParser.CERTIFICATE
+X509StreamParser.CERTIFICATEPAIR
+X509StreamParser.CRL
+...........No implementation for:DHIESWithAES
+....No implementation for:DHIESWITHDESEDE
+.....testDefaultSize: keysize=1024
+E....testTiming: SHA1WITHDSA
+count:50000 cutoff:2468980 relative average:0.9972093445978116 sigmas:1.0808161897679398
+count:25000 cutoff:554441 relative average:0.9967736226098286 sigmas:0.8835798378107715
+count:12501 cutoff:529963 relative average:0.9942026847310689 sigmas:1.1226901793771025
+count:6250 cutoff:520991 relative average:0.9877981777448619 sigmas:1.6708033229519168
+count:3125 cutoff:516973 relative average:0.9785658589105133 sigmas:2.0753517869960545
+count:1563 cutoff:514602 relative average:0.969576180104795 sigmas:2.0833098048507903
+count:783 cutoff:512836 relative average:0.9795466444590605 sigmas:0.991302214021894
+count:391 cutoff:511276 relative average:1.013818857859379 sigmas:0.47328327306883256
+count:196 cutoff:510008 relative average:1.037316404998947 sigmas:0.9048747317959044
+count:98 cutoff:508654 relative average:1.0430977121191791 sigmas:0.7389718264134626
+count:49 cutoff:507352 relative average:0.996560793526614 sigmas:0.041698162447370735
+count:25 cutoff:506387 relative average:1.0272532046481977 sigmas:0.23601967559875386
+count:13 cutoff:505151 relative average:0.9286736609006352 sigmas:0.44543284490861856
+...java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420ce32909b4a70ae7a57b49ca6b44a2c333800d0a60e060076cf9fe3c9ec4e42d1a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200043716c069f2c3f58aa7aa9bcc4ddcbababb4cd7df74bd6e22a548990511933325737dbc492b32f30fc9dbe7cef6ee45fc39b57a079109c3f2827bbcb9c7de6d0b
+...testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:order = 1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:cofactor = 2 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:cofactor = None throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: null
+testModifiedPublic:modified prime throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:using secp224r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:order = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:cofactor = -1 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+testModifiedPublic:cofactor = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:order = 1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:cofactor = 2 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:cofactor = None throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: null
+testModifiedPublic:modified prime throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:using secp224r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:order = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:cofactor = -1 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+testModifiedPublic:cofactor = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+.testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:order = 1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:generator not on curve throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:cofactor = 2 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+modified prime throws java.lang.IllegalArgumentException: first coefficient is too large
+testModifiedPublic:using secp224r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.lang.IllegalArgumentException: n is not positive
+order = 0 throws java.lang.IllegalArgumentException: n is not positive
+cofactor = -1 throws java.lang.IllegalArgumentException: h is not positive
+cofactor = 0 throws java.lang.IllegalArgumentException: h is not positive
+testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:order = 1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:generator not on curve throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:cofactor = 2 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+modified prime throws java.lang.IllegalArgumentException: first coefficient is too large
+testModifiedPublic:using secp224r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.lang.IllegalArgumentException: n is not positive
+order = 0 throws java.lang.IllegalArgumentException: n is not positive
+cofactor = -1 throws java.lang.IllegalArgumentException: h is not positive
+cofactor = 0 throws java.lang.IllegalArgumentException: h is not positive
+...E..Message:Hello
+Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
+Curve:secp256r1
+Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
+Private key:
+S:81953500921896861063396855537057383491350867051254222811485310764195196259621
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420b53009a8e60f4cca65f0f058857346dcfe22defc3072e98cb3ee79008ae94d25a00a06082a8648ce3d030107a144034200041bc18b661c1d788df6c274c8567ec1c983cc80d26b405f705c64e31bde119a50706312ec38cfe48271e680d6b9058d4d33968ca5c4672c7ba805f7d415473313
+Public key:
+X:12554410490868052397868404620409099550516882831512782679068725300294331767376
+Y:50834087500703561619110939044300605974977962974623668464392761853720247350035
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200041bc18b661c1d788df6c274c8567ec1c983cc80d26b405f705c64e31bde119a50706312ec38cfe48271e680d6b9058d4d33968ca5c4672c7ba805f7d415473313
+Signature:304502203f5098bdbedbf904f1eda8fe6bb7ce3dfe72f4cfab6cdf316143e3ed17d01524022100826c177c8c40eae54ec04498ad505af85b8ba06a1a9cdafa6a7a7ad011da1f5d
+r:28638111406902512421205392224412622326799472145493524573865968416043016656164
+s:58991651896790485275178351981005860568400419318470438386263422395158057590621
+.BC curve:secp256r1 countLsb:547 countMsb:512
+BC curve:secp224r1 countLsb:555 countMsb:512
+BC curve:secp384r1 countLsb:503 countMsb:527
+BC curve:secp521r1 countLsb:500 countMsb:532
+BC curve:brainpoolP256r1 countLsb:512 countMsb:528
+..testTiming algorithm:SHA256WithECDSA
+count:50000 cutoff:529025 relative average:0.9988959709869293 sigmas:0.4275885981352836
+count:25000 cutoff:154499 relative average:0.9946633827452003 sigmas:1.461492825612543
+count:12502 cutoff:151955 relative average:0.9788406360835861 sigmas:4.097820989576002
+count:6250 cutoff:150780 relative average:0.9612102173477148 sigmas:5.311509739844791
+count:3126 cutoff:149886 relative average:0.9439222234613831 sigmas:5.4305760493494715
+count:1563 cutoff:149112 relative average:0.9438387976748824 sigmas:3.8457098371978686
+count:782 cutoff:148417 relative average:0.9558053933491191 sigmas:2.140588937882096
+count:391 cutoff:147778 relative average:0.9828445602177447 sigmas:0.5875581595602208
+count:196 cutoff:147197 relative average:0.9909148212115303 sigmas:0.2203038776046722
+count:100 cutoff:146680 relative average:1.0319319334748176 sigmas:0.5530773116229352
+count:49 cutoff:146001 relative average:1.0375526545232112 sigmas:0.4553017391529807
+count:25 cutoff:145629 relative average:0.9592801094586987 sigmas:0.35264459648088603
+count:13 cutoff:145231 relative average:1.0406353588385169 sigmas:0.2537677346107389
+...E.04b1df25866e8a931b9cb9dbfac0c0d332237ded2ad79100d410ddfc1583eee4a80b038d6d1a58f59c68667317ccaa8f6b633177bad44b407b00b9a77a15eb2277991dace73d13c6bc4a83fa78da5f96e7701b03b6c31b4e9097eac7cb26b815cf86aa9a8e58e724f202811ac90285fa9aa11e3128da77186a3c0873df
+ECIES:org.bouncycastle.jcajce.provider.util.BadBlockException: unable to process block
+.testEciesBasic:04551c287265fe96f139e94abb3b3de408a6f30710ce41ce799579e37c68816145ab3bb37114c95110c37af43962ec7f896eb51adfa122539e1a8dc8069ae8d5ba100ec85c83bea767f0a3625216502fe036d50bd48d8a7808c09a44d43953c57ce05ee1e7
+..E.No implementation for:ECIESwithDESede
+...No implementation for:ECIESWithAES
+.04003496cd447e130db7d5ac7fcec6867787b518abb48a7deddb029a3a3a7f13f514c2ec0e2fbc9aa450a77f147ee26e70054ceea3f3af118519ab801ca56945d717f718787ee22e847d8685dd488d5b3572feae1ae29a0a224246a00f550bfe9acb135e397c2ad5154d1779c4d37c6e1955143357b6cd43ee1805241bf1255fcfa3e0feba
+E..E...........testDefaultSize: keysize=2048
+....Message:Hello
+Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
+Public key:
+Modulus:21352662941541177085822097647354347320968103500096417280913598361711073618662619958954346580310527782193311090321760624222939507971446303413387039122441532309086987464951291471284212500754618345437269164470143080323053942873314851991976702937094566890562307575773025264765087943556902471943809734006214118703680317272605375229580895021456068512300794946246704359136224189579471250541750112980338577714730259330472084554288295508137326284252435348941961889200125411839678356722684469587151354716925117043808470743760638553911798483748790319950136830353479753778087637449014237132177560037604336881738117185964410074781
+E:65537
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100a9254ac4b974eecc9490da8f8ad4aa98d49d870e61d02ecb85a4a44fbda43fd9b51e56d98a621992e8a23bf6083c5ec89c314aa90ba93cb67cc52f320aa313cdd63cd8c845fbfba928d761c30aa09e62bf0b954e78288e40b3065176b1fb0347393e759b368d9c81d8d7a96c6ee37f65a12aa50fdfc7da3b66c84e216ccfdce3b056edc3f54ae3f7c321fcb048def7b3262097f6650788a1a4d344042842fe110795bc4baacb0fd7fbe1ccc0aeaa9a5f1013a1ac455707e01394d857b5cb78e80a3eb2111168b322bb1af3c469bf751f3a3574b383fdb7fa2e3800e9e7dcc9e6fecc14b6481fafc6c5e09d6316212899c28adf15be71a42052e68441283af69d0203010001
+Private key:
+D:417363645392896346291989366102521002153899943293460343574626844398612773021450725047233135013470041182685071130844795453401674011801313985573779652957071621953101773694288789152922413498736074286359488528407667209268536869565532834913440597867130631350387048607126437953584656845696203160962819007003071334651226036353617050281910966197875359826654123437431784530421314916135674526410421108017870448437544054260562051175208980477541939430523549812953507076161303597591669804191099792939659949823190112105389600767161148643517650383492300584895213430396325562760219360300679292627458900423422548686372565692424610689
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100a9254ac4b974eecc9490da8f8ad4aa98d49d870e61d02ecb85a4a44fbda43fd9b51e56d98a621992e8a23bf6083c5ec89c314aa90ba93cb67cc52f320aa313cdd63cd8c845fbfba928d761c30aa09e62bf0b954e78288e40b3065176b1fb0347393e759b368d9c81d8d7a96c6ee37f65a12aa50fdfc7da3b66c84e216ccfdce3b056edc3f54ae3f7c321fcb048def7b3262097f6650788a1a4d344042842fe110795bc4baacb0fd7fbe1ccc0aeaa9a5f1013a1ac455707e01394d857b5cb78e80a3eb2111168b322bb1af3c469bf751f3a3574b383fdb7fa2e3800e9e7dcc9e6fecc14b6481fafc6c5e09d6316212899c28adf15be71a42052e68441283af69d020301000102820100034e604cc2174007adabbb29ed1bc50de1b2068ec868aa517e163ec3f43ffea381bfcb10cb7ca9654eb8c5154509f10c58c939dd5e05fbd2d153855da40995fc830083783eadf338563d07832975044387da711bac8b96643b5b97420bae8d5cda089781e62a1472114bfddac9bc16a464e7117ce2f1e4191f24312ac416b8098f1a380bae8e516320a84e0ee99f54342f2c81b7e52031fac41495097bae768a32725f45311176f5332b192b468ccacebc47879e7aff7e15940bf2976b2d495ef3cd0ccf513509b32513a5b1535385ca521070ae4f3a3a01e1f19e768943fdb2dcdf0421c58317f070139d2883ddfdde1b276f2272f8162ab6a4a978d2ef638102818100eab0b1a5e16a1ab48b00b2afb6dd6c31a8ed3b49ef0eec7a6a4232d1c28a5a7075a32840f4d13b5389a5a28e863267d39512da9ca9ad7b0a16290b86aade8e00d9b1908294cf67fa1ba3a769b4222d89641f201b7878bbf842a7aa1860afb65be1ca36b0531f53362a0467b48d72eabff59e906a6c8c9416326ab6c8a9f8a72102818100b88108c7067d1350ccba39f8a3f19797fef6080f3700952a9d385022775179ba5a46f80d0a941abac74f152339d7a6bf9f52558c2ff3acff21b004e645bd0ba135bf2b79b315d09e2cff3cf8c83aeee2ce242bad0c0309f989571a3c195b3f56a3ed1538fd05aacc28bd630542d576c968b17edadcade0ea96ea7e3c42436bfd02818051399a224923c9de568585525f3dbf2668cac24c525a9de9b840f509b804de4c31caa831e3094f391858a52c22b1eb514534e34879493b5e4051305609694148760f886e4946873bfeb8e346283bf3faab1642ac7f4379faf046cb0de8d8a78aa158b518cd8bf7e6b520152c5e1039c2fa2548e22c73730543a9bf5d2fc6894102818100b5c763977b1c15c0c0c425c383face0991c862ee62996f5db9e2b6890e97b65fd4fc20fdf05334f69ad19e98c32f65f95b862a04e165aa26ffd0c532feb89fd1a7fb7e60fc015d35ca4d7a8bfdf29a53d917a7f4696641189aa8b78f48c82ee234c5abe826d9c38a3c05439ef6570c1ea9c85e9c5159fac40606687304321b1d02818014c2cf8a5deb7f1047f29d37783fd1cb5f33dab94e0e1e4711acd613e2b698740725bd211cdfbf1a212ad2c5754c46521a39c0c63f36849096f787fc94025e69c56fad910184d7a0979997883371d0f79c7f1c37b53e058f71d643f18424f9f26f46ae577ec8f59355ef8d06f170d49ee50a30ace2f8417c592923f8f516cbbe
+Signature:255d7abebac0236f8edc0e80c89e61efd357658914af03eff60f015286c2fb2788e9ef63cdc3995458353e752f9d16713e2f75e45ffaa148b51a24ee4c21635225e7f3112c20664085b6b89f2c511af06af7b3fed3034165b6df394152d86968f184aab8f1ea83ccc16a9b54f7d13a4842e52518d657ad08444c72ebafaf6df20737936e754172042081fbe52ae102b8a4c2b373b07fcc7edf4e3355c5a93a246278b9fb76a434195be45f547c3f96b870271bd5775ec6fb3b10069aba6ed3b9c2b47491928f3e15ce183db3ad17b1157f5ca69617f6933a05a6d232cd21b29768596365e5567cc3ba009c9a4e25cffce1d164091ae601191b8b43fa8a177e56
+..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
+
+Time: 65.415
+There were 9 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
+ at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
+ at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
+ at org.junit.Assert.internalArrayEquals(Assert.java:473)
+ at org.junit.Assert.assertArrayEquals(Assert.java:294)
+ at org.junit.Assert.assertArrayEquals(Assert.java:305)
+ at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
+ ... 32 more
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
+ at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]> but was:<java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8208]>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:144)
+ at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
+ ... 32 more
+3) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
+ at org.junit.Assert.fail(Assert.java:88)
+ at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+4) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+java.lang.AssertionError: DSA default key size too small:1024
+ at org.junit.Assert.fail(Assert.java:88)
+ at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+5) testEncode(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
+ at org.junit.Assert.assertEquals(Assert.java:115)
+ at org.junit.Assert.assertEquals(Assert.java:144)
+ at com.google.security.wycheproof.EcdhTest.testEncode(EcdhTest.java:1894)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+6) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidAlgorithmParameterException: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1537)
+ at javax.crypto.Cipher.init(Cipher.java:1470)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:345)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:353)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+7) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:393)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+8) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:202)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+9) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+javax.crypto.ShortBufferException: Need at least 102 bytes of space in output buffer
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:759)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+
+FAILURES!!!
+Tests run: 96, Failures: 9
+
+
+BazelTestRunner exiting with a return value of 1
+JVM shutdown hooks (if any) will run now.
+The JVM will exit once they complete.
+
+-- JVM shutdown starting at 2018-04-06 22:22:53 --
+
diff --git a/testlogs/BouncyCastleAllTests_1_57.txt b/testlogs/BouncyCastleAllTests_1_57.txt
index 6d39787..f0e41a0 100755
--- a/testlogs/BouncyCastleAllTests_1_57.txt
+++ b/testlogs/BouncyCastleAllTests_1_57.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E..E.....E...........
+....E.....E...........
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -993,29 +993,29 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E....No implementation for:DHIESWithAES
-...E.No implementation for:DHIESWITHDESEDE
+...........No implementation for:DHIESWithAES
+....No implementation for:DHIESWITHDESEDE
.....testDefaultSize: keysize=2048
....testTiming: SHA1WITHDSA
-count:50000 cutoff:3184994 relative average:1.0078840516143037 sigmas:3.0534800602837766
-count:25001 cutoff:570007 relative average:1.0084437242654263 sigmas:2.3124553724838552
-count:12500 cutoff:558555 relative average:1.007589338805938 sigmas:1.4696691402061712
-count:6250 cutoff:553999 relative average:1.0044738619116085 sigmas:0.6126087720377922
-count:3126 cutoff:550953 relative average:1.0039838077761936 sigmas:0.385792241240365
-count:1564 cutoff:548590 relative average:1.014636693056141 sigmas:1.002586764695985
-count:782 cutoff:546672 relative average:1.0114212870829713 sigmas:0.5531960263684533
-count:391 cutoff:545035 relative average:1.0251019984095266 sigmas:0.8597205419379893
-count:196 cutoff:543350 relative average:0.9941843686902997 sigmas:0.14102156469084962
-count:98 cutoff:542210 relative average:0.9994344537492805 sigmas:0.009697098181447818
-count:49 cutoff:540893 relative average:1.0159611830627802 sigmas:0.19351906009550227
-count:25 cutoff:539717 relative average:1.0217820579371475 sigmas:0.18863815520274152
-count:13 cutoff:538356 relative average:0.9022815637836672 sigmas:0.6102514385776197
+count:50000 cutoff:1348241 relative average:1.0005654380485631 sigmas:0.21899321453973983
+count:25000 cutoff:617958 relative average:1.0004714440800082 sigmas:0.12911027861137636
+count:12500 cutoff:599460 relative average:0.9993181756520648 sigmas:0.1320347172295932
+count:6251 cutoff:587306 relative average:0.9996370062873711 sigmas:0.04970893739770955
+count:3125 cutoff:582006 relative average:1.0164968609742073 sigmas:1.597301695445108
+count:1563 cutoff:578687 relative average:1.019951022750258 sigmas:1.3661716857245885
+count:782 cutoff:575476 relative average:0.9972984210416906 sigmas:0.13085239288710063
+count:391 cutoff:568946 relative average:1.0085885656889584 sigmas:0.29415053845988454
+count:196 cutoff:556063 relative average:1.0098774232777477 sigmas:0.2395147855089119
+count:98 cutoff:550608 relative average:1.0297993000027 sigmas:0.5109515578911257
+count:49 cutoff:548016 relative average:1.0574316202509835 sigmas:0.6963213896499352
+count:25 cutoff:545956 relative average:1.1264325581505807 sigmas:1.0949380722385615
+count:13 cutoff:544595 relative average:1.3231465620787084 sigmas:2.018049633370858
...java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420d72ce5157703e66a6554d7caab63652249f80bc214f641d2b98ba8fe6147eda0a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a1440342000442e3128af8b552dd0c41189aeda4f739e7b114bd789db6358b8b0900e1a2aba79a04a344e61927ce42d4256fe2219f5af90fb0b1b6e107869bf10f6019a1ad9c
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104204941e1fe7cd234e770f61eafb6af832736b7d9c31d8196b76accbec89f1f0376a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200044f8b6815eda47a15eb5dc130a2e860e78e7e621fbb7df286db3a4a71a1bccda0a7d6c7c2b444d6d10affd0455c41e53479455fe020ca3a3f333d91bc7f8f69d6
...testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
@@ -1087,132 +1087,56 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:66733676928396147561697754367614869096859653167284960056469323238973440950445
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104209389ec31353bb962c7231f52ec328e80d6efd4abfe800a8c4dc1243b7ab680ada00a06082a8648ce3d030107a14403420004952cb5d27d1550d900dd088b7ddfbccab33242ce825b8417d2304d37bbb14d4ea0fcd088866898fd279a2ae0d88b4301adbd99cf987408283bfb3ce0ffdd898c
+S:49680801922386715416218786825752688771400983287407664934450631329871923683558
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104206dd656609db25ae4448ed88b3ebae24a53c9bf08c8e11a2324ee999519a2a0e6a00a06082a8648ce3d030107a14403420004286538e56d624a2f4372ca1f3b806c885de18a7e902cc7a71382d9be0bcabab1406597cc459637e88e1b342c7107beda24d58df27ef668771e34dba0e4895a6f
Public key:
-X:67473610600607315246498220288028553147308207546800981824850541335134992420174
-Y:72816740477594530206279179428279091686339900409937011376063240057818953124236
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004952cb5d27d1550d900dd088b7ddfbccab33242ce825b8417d2304d37bbb14d4ea0fcd088866898fd279a2ae0d88b4301adbd99cf987408283bfb3ce0ffdd898c
-Signature:304502203123dcd47a4b953e45bbbdf50ead5e225a892d279f1317556e093dff2f8bb43c02210089f9c3e6e3c541acf887c1654ba4ef4aa88e372ed6de509d874f2f7ad31cd2da
-r:22226693340431476460469680141700464804199996148722783850842570571504729961532
-s:62408157240349707354736224768626083073893287701440684595453292963906941932250
-.BC curve:secp256r1 countLsb:489 countMsb:519
-BC curve:secp224r1 countLsb:517 countMsb:494
-BC curve:secp384r1 countLsb:532 countMsb:508
-BC curve:secp521r1 countLsb:535 countMsb:553
-BC curve:brainpoolP256r1 countLsb:494 countMsb:518
+X:18271358180015953264909478280173327713642178960908919410215346760532932344497
+Y:29127521533727495534437543498399208141663782336120815491531837250042916854383
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004286538e56d624a2f4372ca1f3b806c885de18a7e902cc7a71382d9be0bcabab1406597cc459637e88e1b342c7107beda24d58df27ef668771e34dba0e4895a6f
+Signature:304402200d2d19bfbe8040e939adfe2dd002c6be5b2bede3a29fe10e9584f7e3f51ad5c10220667668cc8fa84982c647cbf7db14a8ea9c8063efc904a1f9a28715ffa5fa0b81
+r:5959752862568069404425331247672814174778940363824692706026234937126132831681
+s:46345121805715094309707752265283358985720872041172203555157788842871674768257
+.BC curve:secp256r1 countLsb:511 countMsb:478
+BC curve:secp224r1 countLsb:514 countMsb:547
+BC curve:secp384r1 countLsb:537 countMsb:528
+BC curve:secp521r1 countLsb:498 countMsb:493
+BC curve:brainpoolP256r1 countLsb:488 countMsb:497
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:5461412 relative average:1.0031062731258475 sigmas:1.2030544085179347
-count:25005 cutoff:162393 relative average:1.0014314993367852 sigmas:0.39207144016940065
-count:12502 cutoff:160722 relative average:0.9862695305049342 sigmas:2.659106687510926
-count:6254 cutoff:160012 relative average:0.9833507601459092 sigmas:2.2805204748005994
-count:3125 cutoff:159518 relative average:0.9737480046399359 sigmas:2.541838520856067
-count:1565 cutoff:159110 relative average:0.9854797613436377 sigmas:0.9949277699130177
-count:782 cutoff:158800 relative average:0.959232906192408 sigmas:1.974575556775404
-count:391 cutoff:158510 relative average:0.934870639560368 sigmas:2.230621169666909
-count:196 cutoff:158236 relative average:0.9075392045627371 sigmas:2.242055135678009
-count:98 cutoff:157986 relative average:0.885571444927659 sigmas:1.9620410035183946
-count:49 cutoff:157717 relative average:0.8224532406714152 sigmas:2.1526400551341855
-count:25 cutoff:157463 relative average:0.8259505259164345 sigmas:1.5073126607168907
-count:13 cutoff:157294 relative average:0.8858407502854874 sigmas:0.7129242859657945
-..E.E.E.E..E.No implementation for:ECIESwithDESede
-..E.No implementation for:ECIESWithAES
-.E..E...........testDefaultSize: keysize=2048
+count:50000 cutoff:535763 relative average:0.9991814200788492 sigmas:0.3170346402156511
+count:25000 cutoff:178818 relative average:0.9969315748529729 sigmas:0.8403228345214225
+count:12505 cutoff:175394 relative average:0.9904808324476798 sigmas:1.8437475089085011
+count:6259 cutoff:174492 relative average:0.986282610818381 sigmas:1.8796827829266616
+count:3127 cutoff:173869 relative average:0.9773727940732461 sigmas:2.191570759335242
+count:1563 cutoff:173323 relative average:0.9710009279050468 sigmas:1.9857483851497773
+count:782 cutoff:172383 relative average:0.9716751369732335 sigmas:1.371929587270426
+count:391 cutoff:169048 relative average:0.9579202343159761 sigmas:1.441193580219612
+count:196 cutoff:165870 relative average:0.9388138388865986 sigmas:1.4836855567590868
+count:98 cutoff:165024 relative average:0.9014022169538783 sigmas:1.6905998076284523
+count:49 cutoff:164483 relative average:0.8700520438805018 sigmas:1.575535236370912
+count:25 cutoff:163988 relative average:0.8550162877894192 sigmas:1.2555957790933512
+count:13 cutoff:163647 relative average:1.0017139560183526 sigmas:0.010703651903954909
+...E.04998efa572922569349716e54bb18793a03e249198975ddb3aa404423131e53a5dc3b88d00d7697f381907acfef00886afe183a7ae8bdb93bd673a5c665abe7716e79d7b6f93b83e00c8338f3ee94a3ee15a7e3c89626d09fc421857cf962e58423b73a9973340aa3fbbb1e9ddd1f025e8460e9b1fc4375cc325319bf
+ECIES:org.bouncycastle.jcajce.provider.util.BadBlockException: unable to process block
+.testEciesBasic:0429253fb6d9a4d2d885e1282e948808183b38070423f16061ac972639aa5d7e3c0bd164249e8eb42b05922303ea8ce7606e34cc7a03eb445676a55d3efebf6adcbfed6edbf611b67414992e632495c5864ff38535080d8bdc7f96f1a3146658ba441b3fc0
+..E.No implementation for:ECIESwithDESede
+...No implementation for:ECIESWithAES
+.04ed258e92a803d5021cf97d289c2c2be111967044d324c003601690f556bc94f2b48e9ec8012a02af80a0c12cc989e95d719ea78309be93d816d673b3a692a2aa4b9691d0270110e53d0847cee2c8b992f4aa7105f942ede1fe96c7dda7fbe96f86d28764e20ddf7b7c5084df2377d01c126de670b458bdfb995796ffd7bb1f5dbc847a86
+E..E...........testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:18476924098480009006315378649085902419336443395115094866613354748028246127597440448992413623619135449517773826125939602674612354171353170024364657036875487194026297500725092638157845102680608057508245261211116371625426815545001957728244591019009052406752832813820470756064414949639681185882427271122924314766012523337870569739274004688925938923770801522249439771582330585043499002333883327929893222517244786094516454546650609841058810279803382477431207225098850864327286745654227043304154491635124395211542815594409519609391512953724483447823892536356435497543897949534747493240793803001632251507334665915977971252297
+Modulus:30320378619333109689045524056116735485629535940477263954036295709226412256855822312369616860530640256549384370325172519620345793648436709972455498067674756462083022878106284846625290687589997087538750586131953116040307057259602101888992126250634020099969048767985380045189542333916605216053424057341455141938885784142312012487620246370221255197392964721571670822322554912454030744060689710633221780572186151019837333572139956608898516136426429933380708761212805227904805440746796160892556864511387028007462490010151975749132210846830838094060516611892982819851746080333018826298658942224187918620196310389978862830477
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100925d8cfb3229a1100229fe233e28bea0ef1548860925ed47238c4ca9aaf43c4810f0dd778ec9e5f5a27a7f03799eac04d5e8be93b24d8f1bdb75a32ef07897e300c35d2d2432bb90a24c77e6412e76875a641dbcc718e210c7eec02fb510da62e137449a204d4d70770497a4c62f68596cc15ca14aaa35a664cbadca3e9fabe93021532d8d540e728bd217d4c42328c5f871c8c3dc845d3614b6c96d047ffc5daa1396460012f6b7d3829a648ebad563e674a4e71b8fabcb1db5c6c0a6685522a8f6fe8ae44a4fb06b09d24d0485717573232d788b91913e821561c7494df07de1cbc2a6be3dfe9984f3e0b0e47a1ae84bf3378713383a7c42101a83eb93bc490203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100f02f0499fe2a2353453d654786d9a8487abee70ae831984f4df3b79803710f96e709411b9457279de1bea76b807dcad2ead5b8b1a2f021c1e10ab8cd28139f1460d821fc94942adfceba989766c357bf41e3808ff30870eb68cbb9b9ceacc4fad6c207ebba0190003e6bc601d88466d6bb0152f115b77f28fafe025bd15fdbc084f6f409995b6fa4abe8248b3f761eef09cc75a9a6c7a861e92bae58e8b46af851e99103d181308b0cbed1584e7c7c85646a266f2c3ae83e3b4294265a4e9554607d7285adf0e13ed526d29d3ad08da30d6f8f7a83cb8d4ba4069e4c65fc491b197fa4e53a8d78d90c43fc4783c9ea6dee6c17657122a390f1d49b4eb205c38d0203010001
Private key:
-D:6381089485068698351228147804356100712697428804848215506713663498321517749194755152086146661430698722807887664885811892475026911792381738159306307353771477782107728527132175476841258939706143742765351925166269472163573215582614428647057752885068608383786872171317051815880860212745010057229807858781462494136905723905903663173546600856545955066055103102467014574748084126362740890781329221550215994198127712648677623710964616366546453545062212494233826069759106094384736836934752480024897420325648905627022058509392153095497096132237133513909617653166156420538450980417705922753998164995638844749016867140309100433351
-encoded:308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100925d8cfb3229a1100229fe233e28bea0ef1548860925ed47238c4ca9aaf43c4810f0dd778ec9e5f5a27a7f03799eac04d5e8be93b24d8f1bdb75a32ef07897e300c35d2d2432bb90a24c77e6412e76875a641dbcc718e210c7eec02fb510da62e137449a204d4d70770497a4c62f68596cc15ca14aaa35a664cbadca3e9fabe93021532d8d540e728bd217d4c42328c5f871c8c3dc845d3614b6c96d047ffc5daa1396460012f6b7d3829a648ebad563e674a4e71b8fabcb1db5c6c0a6685522a8f6fe8ae44a4fb06b09d24d0485717573232d788b91913e821561c7494df07de1cbc2a6be3dfe9984f3e0b0e47a1ae84bf3378713383a7c42101a83eb93bc49020301000102820100328c4777ab4bd039909dc30c95d7897a5807802bf635d87be48d7c1e6e9179ce23b7a3acba2e0512af81e1a2a81a81eb0b9b1d5231d672519b19c5f91c8871602eefc99aa0f13a70c97462462d85a7deb7fb727fb33ce73a076a6f8a2a5cbf273e0391d82ec6b3b35f0f4175e112175626e6a2a07b824c1402a48b091956988e62dd89039ae244dfe62afafcd9ee73c2d451d58713cee7f5ffdfe7bfaca1f5204dfd2781c22235aa6b5d742cade559c4c685156b56afef67d808ffe86c8687a19ceeaef6425e28c4154e59d1cfcb1ef47b7d620c4c6d92f22d72799f94f437afb1fe240be3104014f7568b479ddf7fe6394b0da2338c8815cd6418a2daba8fc702818100c4e0a04b7fb5a8d14404b6f621ee7ddc64362d7d222d21d9623cd519fefe7a08f14aa8c657ab63cb3eef7e579a60e12d4c5f07a285873715cd527c943aa228e11a8a70ced1d50c2073f580d9d6e41d583f74b8e2d580a08a890f8e2b3fcb48429a7f54d21081927aa101f45fbb06a46bedd7ec6dbdfd6608101ae87da63cf63b02818100be51b4a9b17bc436abda25793d73d8ca7c2f3c01ed4d182fde83fadaf5c9c978da39af0f21ced9268efa305b7eb6e5c332258a5a091958ea2fb8006ae28961c558f76a796b9648ad7da789512ec8de2bc0f121a15c88494340787429ef2b8be4c73503f7e04f643aa177690844c262b655253b08f113ad2f6483109739683b4b02818100954105c4b6e8ed36d8ae0a56c69a9b683dc0a4f3bcb922743ef98744d1fff25c5d31108a6d644d9f83f2e4815d541ce1ce882cad9535511982330aa7055c72495569a6e3e447f38d96db83f7a1e6062924d24468131c149972170cdcd4dc33c7ea80a5b92b324fee0fa9ffada3880196a11594f40d98d185435062f8fed2308902818100a3f42b590ca6fcafc47857540cd6a1ea3df54b12b5e57672b694a824bd1d2acd4be1e9a7758e868fab18695448e333286728e3f910619fb18f8e49fdca4e63c5e910abcf121a135e3223842e45c9916bcbf96ee95d97a2d5a6d29df00a344f7db5073cf5eb6d398130dc77c541c6dbd70b9ed92ea8d0349fe14cef9bf73e8de502818100a222df48126414fd22a9145ef71c36619cd0915dd05a6a5d7c840b81befd147f716d6d66fb08c79f0de26041815aa56ac3bfa8cf3babc160252da549257f375b1f50e73c1bc93d9a429ef5ceefbddf08ad8f4869c4e5a79e74bdd97b3d45bbd5eaefbc53d1de2fa025444c2b5f198c14774f273627b9cd1d981ba18dd0c93bd0
-Signature:2aa2fdbc634e1d368e7bf5e5918e41fd7bba835d01ad826cc8c4295346f0ed8e99190a48428dac96b8d2c17d8696c51bf04b8bd7ef956c34f1933d4d58325be67a1c79a7fc9992dbe76e8bdb6ad532f5255ee164946f4467de18790a1d75b30c73d0bbc43316667026d19ebd59d7b479eb12f9121f76b8ad30a7e75e29b167b80246acf372fd441be388efb48dbaf34e5e3fdff850f111e1715f35853f8600fc79ca7a8bc01c09e6608d68dc51daf7338faa7d1b87467748e3484e2423bbd0fa5c025eb00d70ac42562e3b0dec208b80176ff3e7db542c1f1adc7be05cc138a57e5507537d706cb3ec809d91253482f7288dd7fb65a563e843701539ea62e75e
+D:2336435378855741938873634802794332977173353903221085226847057886601638559884717212890203906421662395323005568877690089865307886876475071966663548954403906179098772897318813639973330416723033049395790880241655633126166247417548365272895083229118567737942338289105708736411717356251702739550774886353010340865667799676280106711265454474214944534438226637776403984418683232159196580578531489514986426782267960449398121433491835604875867717256232360092179588397944892238731665852367473567199551652955605643162086864428858598570526858285943854221255851787750166823131105472564083872111152391760929283155742099603573363923
+encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100f02f0499fe2a2353453d654786d9a8487abee70ae831984f4df3b79803710f96e709411b9457279de1bea76b807dcad2ead5b8b1a2f021c1e10ab8cd28139f1460d821fc94942adfceba989766c357bf41e3808ff30870eb68cbb9b9ceacc4fad6c207ebba0190003e6bc601d88466d6bb0152f115b77f28fafe025bd15fdbc084f6f409995b6fa4abe8248b3f761eef09cc75a9a6c7a861e92bae58e8b46af851e99103d181308b0cbed1584e7c7c85646a266f2c3ae83e3b4294265a4e9554607d7285adf0e13ed526d29d3ad08da30d6f8f7a83cb8d4ba4069e4c65fc491b197fa4e53a8d78d90c43fc4783c9ea6dee6c17657122a390f1d49b4eb205c38d0203010001028201001282150686d2eec645162393fcf2107e86a83cfbec039d05de19bded380aacd5b1e25682e3b89eeebd78131a521c4a165c63f167b8336d43d8431ac02dbfebfe1bd906841a5b9be82e312bd4083bb255cf23d302da0aada4e8fe409c19af2f93581c3b3f062631020bcd5899f37a29c5e49832b0d83dbbcdf2756e1a198ac64f56810354440d28001ca18675854d51db071cdbb5450d9a983617153392c794ac272c2177cfd3fd11235ece8a90fa5db5d125d6a8d4dba032f795d339ec14d7b1e0435862e4936e584c4a363d19357bd3a3d162f03552c34464e85c135fdabf4673161afed263fb6ecae7bba5fcf033f0ed7e359adc255deca2cc05f9905ed4d302818100fd04e77ed54453d6f6c6ae236518b16fa6959c709aba90e87f0864862fdc0d758de28eae7d908706b55e05647d187a96978405f27d28c7ea453128d4fbb1e9e27a57e111a4c285427d9e93a33ae2da54707eecaf8dcbb40663544c23e1f028eaa548562d54f91863e9d5bcbec05644f8e653f57bd3159e738e5773024d8f9be302818100f3036700ecdbc9e1903eeb092a4568ae63770cc0aac7dfa153203d94e9ce251ad28b66440f97c58d23b37641aff8b7d68b15cdb0e0d39a9fecbc05af9b2ee8a91cce6367ab48c1b40a6bf11da1466ac0c342e74c24a5398d05db38a60c533495247e1a3282173cb4c92742b772243a3ad307c33c03113b74b17eb091c12a1dcf028180295c18df71cb468d382fc81d7f142745220d08d29b686df1a37a62bc50ac7f02bd5bd089137b81a70614c57ae4bc10a5f7449c9843ff5b969f12e722d1b6068e8003478653d17c691f11c1fe87ccb775e021cf5cef27e258bcf9f5ac53eda7329c2c13f23b16b0f6fc2d753a1544c4e78ef72084ca3f9974384b71406a1f549302818011760c1fa7e53f03431f123a4d5c41624e694e7445912903697aa6921d9e9f51e710f71f2ad3a7f135407eddc76c22a17acaed45a951eb0954b449e04d51388c76326a3817b999997b2a385ffda796a21525a882f31b20207eec3a8ccbd3eab250b5f2e1f031053ea4397af4bd71d6f1451a88afb634b5c5f3befba6ed6f3e4702818011bfcd9fd3698d098df1c14d05d28bbd236fe69c23b0da114a6376ca85618d8ca136c79aff7208406aad0afa403cf01f8c10f445c376e95766f772c496c9529071f7f7cb4ec714b280b3ec33b8ab0de2810561e7ff592141956e867aa3685cce5bae3dac25c765f8b8180a2801631596b3a4a4638817dd755e9ac46d2d59e6cb
+Signature:6a89dadb99f409640c333a16e8be1fe2e45b7d894934bb028665f4b5ffbcd104f834f838faa1ac856cae78cadb3c2883f0df6684b1782d21141b6a2c9315b493231d4fcacc52368c3c5c3a5bcc8b6c763f9b9ece6f6afd7747df3fa589cf8e58cfb448037868d878171ae57985b8522c7dff4f3992a0dc3003b853566511a6d43d2771a5735d829d3861a16fcb2665ea08080d6bc1052816bbf094c3d9926aef4805e444799d7ccf90c46dec782968a0f4d987cfd13650500fdc5b49e9fec5fea8f45ad788e31e7f0d0eb213935ca8f9ec280f757b1c51c428e941a019cb75224fe59f29c459baef38c050be82d56f1fd787cd81a8ce4f6d7c5408655980b89f
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 2,549.299
-There were 19 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 58.407
+There were 7 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1254,7 +1178,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1296,233 +1220,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:d00d3d60f0adb08d98559dc3c387aeb6 pt: d00d3d60f0adb08d98559dc3c387aeb6
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:2728c8a3305827b1cfa1b25b510767d0 pt: 2728c8a3305827b1cfa1b25b510767d0
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:baedaf9c2a32955122b400cde0fcce7e pt: baedaf9c2a32955122b400cde0fcce7e
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:ec4b4ccb6b332b48eb94c3b0769adb31 pt: ec4b4ccb6b332b48eb94c3b0769adb31
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testEncode(com.google.security.wycheproof.EcdhTest)
+3) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1559,96 +1257,14 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
+4) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidAlgorithmParameterException: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1537)
+ at javax.crypto.Cipher.init(Cipher.java:1470)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:345)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1681,14 +1297,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+5) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1721,14 +1335,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+6) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:202)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1761,96 +1374,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+7) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+javax.crypto.ShortBufferException: Need at least 102 bytes of space in output buffer
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:759)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1885,12 +1414,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 19
+Tests run: 96, Failures: 7
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 19:38:16 --
+-- JVM shutdown starting at 2018-04-06 22:20:48 --
diff --git a/testlogs/BouncyCastleAllTests_1_58.txt b/testlogs/BouncyCastleAllTests_1_58.txt
index 6f1ca99..d0e9e6d 100755
--- a/testlogs/BouncyCastleAllTests_1_58.txt
+++ b/testlogs/BouncyCastleAllTests_1_58.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E..E.....E...........
+....E.....E...........
Provider:BC
AlgorithmParameterGenerator.1.2.804.2.1.1.1.1.1.3.5.1
AlgorithmParameterGenerator.1.2.804.2.1.1.1.1.1.3.5.2
@@ -1139,29 +1139,29 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E....No implementation for:DHIESWithAES
-...E.No implementation for:DHIESWITHDESEDE
+...........No implementation for:DHIESWithAES
+....No implementation for:DHIESWITHDESEDE
.....testDefaultSize: keysize=2048
....testTiming: SHA1WITHDSA
-count:50000 cutoff:1814742 relative average:1.0053631102299219 sigmas:2.0771236604362113
-count:25000 cutoff:604410 relative average:1.0122313401758187 sigmas:3.349690461407549
-count:12501 cutoff:592009 relative average:1.0171673619957882 sigmas:3.3245783305548375
-count:6251 cutoff:587340 relative average:1.0167746167046305 sigmas:2.2971427400268443
-count:3125 cutoff:584383 relative average:1.0165565925393687 sigmas:1.603085179372925
-count:1563 cutoff:582024 relative average:1.0268087363422513 sigmas:1.8357623556098672
-count:782 cutoff:580109 relative average:1.0375085002970053 sigmas:1.8167438720877527
-count:391 cutoff:578427 relative average:1.014419726495704 sigmas:0.4938624756178563
-count:196 cutoff:576872 relative average:0.9601926050066653 sigmas:0.9652780290358618
-count:98 cutoff:575596 relative average:0.9953120674071986 sigmas:0.08038129960648316
-count:49 cutoff:574139 relative average:0.9458401671824433 sigmas:0.6566530751861105
-count:25 cutoff:572752 relative average:1.008497444691189 sigmas:0.07359002969822874
-count:13 cutoff:571049 relative average:1.0143401760630917 sigmas:0.08955437081068844
+count:50000 cutoff:3757509 relative average:0.9971798076848185 sigmas:1.0922557869799887
+count:25000 cutoff:612212 relative average:0.9951811785218163 sigmas:1.3196886120957845
+count:12501 cutoff:601221 relative average:0.9943142365076555 sigmas:1.1010874066700562
+count:6250 cutoff:596716 relative average:0.9966781534018754 sigmas:0.4548625785911643
+count:3125 cutoff:592340 relative average:1.0001176633660935 sigmas:0.01139270643347834
+count:1563 cutoff:586384 relative average:0.9892806114622936 sigmas:0.7340237787211077
+count:782 cutoff:581412 relative average:0.9540768544117021 sigmas:2.2243116273351893
+count:391 cutoff:577700 relative average:0.9866008157244052 sigmas:0.45890983574317895
+count:196 cutoff:572600 relative average:1.0589202993226499 sigmas:1.4287413283359414
+count:98 cutoff:561787 relative average:1.0084297391284656 sigmas:0.14453991670660069
+count:49 cutoff:553349 relative average:0.9730007930176706 sigmas:0.32734798780224034
+count:25 cutoff:550687 relative average:1.1442524097152313 sigmas:1.249262513705115
+count:13 cutoff:548612 relative average:0.9733823365603684 sigmas:0.1662272549025416
...java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420c36e9ec6379ed35fe635443caceffc78afc2880901cd1f493e9864f865c4c582a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a1440342000402a281f2f36599f085f54c356d3488de0d01784b2127d7e9f346697e4a6a4530ff44be2c5bf11a5f97383bdb6ea27168b65616b13ab3cc7c1e0293be32780b41
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420a2a87b448364d38b344641789fe6f2bba1956d71ec00489c417a6d440fa667dda081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004c388aa82af15992a14b9b4835ff61c7664918c7ee2a02452262a70667c6fb9779f4bb6c2bad1cb5ec498a894fac66b5b164d086b9cbc0d0e861fd985ec707719
...testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
@@ -1233,132 +1233,56 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:47579604518636340537618298356974237936010037375566939938270279649592463585602
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d03010704793077020101042069311a11472ba005f98d1947fe8299339190f630cfbf0310547a17cb1917f142a00a06082a8648ce3d030107a1440342000452523420129c9d7665c076fc129939d01a7ada2b9e5350ebf9344ddf86266f2d591fd0fd0b70cbf53e3dda15c96f20bf9e6305bde81b2b00ac7d0ace80f184c4
+S:4585534266292836302313287629560755149612440872182195798079803575633405092898
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104200a2352070c162a208aedad64eba12adf6e2677abede1a294a9b51a2d24e12422a00a06082a8648ce3d030107a14403420004f0f01c63d32e7070c8f334a3628b7c98f0c370af660ac687705e36fd6104f96221350ac7f9fa4f74ee533eccce2a75b2086d5ebbc439e05007b7bb87efbbd2d1
Public key:
-X:37234894798628046780011288658589463554412268593514711508704591471367567077165
-Y:40312058168230314789620779338157425051763084441057313813211598925139692061892
-encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000452523420129c9d7665c076fc129939d01a7ada2b9e5350ebf9344ddf86266f2d591fd0fd0b70cbf53e3dda15c96f20bf9e6305bde81b2b00ac7d0ace80f184c4
-Signature:30450221009a0369e5eaa106bfbb1350c40262ee1faea7bbc307805c25189eca1ee26e905a0220528aa15ac1b65598bd06086c9a083f6ceaed5fe24faf4a598934cc3b669f397d
-r:69662210104920877403191198147957272829735564659974645552696415445089856163930
-s:37334592106724574506300156760271351494101392376363749855232528592715372247421
-.BC curve:secp256r1 countLsb:506 countMsb:507
-BC curve:secp224r1 countLsb:510 countMsb:498
-BC curve:secp384r1 countLsb:507 countMsb:508
-BC curve:secp521r1 countLsb:548 countMsb:510
-BC curve:brainpoolP256r1 countLsb:499 countMsb:524
+X:108979322895703173161895569525081343484901527959636870021985864359306934417762
+Y:15020041306499632196799134507126053562794707978938026244828860179194138317521
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004f0f01c63d32e7070c8f334a3628b7c98f0c370af660ac687705e36fd6104f96221350ac7f9fa4f74ee533eccce2a75b2086d5ebbc439e05007b7bb87efbbd2d1
+Signature:304402205c0a12d4397c492bcb0652714858b2adfb1c73d7968cc9660719baf06333173c022075b6a1d8baf696b876bb602d93f378b071fc757911b0fa0a3a6ebc0cefb0d397
+r:41630580493305156087480939612488197490589401764977659823771508702286070355772
+s:53243286474231673752202607195517199749955793201419895815978423780625762800535
+.BC curve:secp256r1 countLsb:508 countMsb:535
+BC curve:secp224r1 countLsb:521 countMsb:516
+BC curve:secp384r1 countLsb:512 countMsb:506
+BC curve:secp521r1 countLsb:503 countMsb:491
+BC curve:brainpoolP256r1 countLsb:527 countMsb:490
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1371837 relative average:1.0014435768887362 sigmas:0.5590949249044953
-count:25001 cutoff:162330 relative average:0.9962461251952508 sigmas:1.0280615149192152
-count:12507 cutoff:160748 relative average:0.9862663940650013 sigmas:2.660245909636983
-count:6259 cutoff:160062 relative average:0.9821484681190479 sigmas:2.446181024772211
-count:3128 cutoff:159588 relative average:0.9862073523631051 sigmas:1.3361082355081653
-count:1568 cutoff:159208 relative average:0.9777033267278311 sigmas:1.5292332293942312
-count:782 cutoff:158875 relative average:0.9764194782954857 sigmas:1.1421349285652223
-count:391 cutoff:158578 relative average:0.97494813038864 sigmas:0.8580036763393446
-count:197 cutoff:158338 relative average:0.9788108329970825 sigmas:0.5151190656363039
-count:99 cutoff:158083 relative average:0.9858912287284323 sigmas:0.24314616130559097
-count:49 cutoff:157857 relative average:1.010785897008216 sigmas:0.13077205136404602
-count:25 cutoff:157638 relative average:1.0038893967083369 sigmas:0.033683163548153754
-count:13 cutoff:157453 relative average:1.038294444855056 sigmas:0.23914873146960175
-..E.E.E.E..E.No implementation for:ECIESwithDESede
-..E.No implementation for:ECIESWithAES
-.E..E...........testDefaultSize: keysize=2048
+count:50000 cutoff:572523 relative average:1.001799923391847 sigmas:0.6971073321073259
+count:25004 cutoff:180902 relative average:1.0022633636436384 sigmas:0.6198972475585317
+count:12503 cutoff:179437 relative average:0.9997825080284177 sigmas:0.042122192947096695
+count:6254 cutoff:178719 relative average:0.9937918300404844 sigmas:0.8503606667807532
+count:3125 cutoff:178168 relative average:0.9810848165412237 sigmas:1.8314547631574654
+count:1564 cutoff:177624 relative average:0.9905542223558533 sigmas:0.6470185315739323
+count:782 cutoff:176649 relative average:1.002065713577836 sigmas:0.10005391989296718
+count:391 cutoff:174838 relative average:0.9923664419484747 sigmas:0.2614423982467377
+count:196 cutoff:173977 relative average:0.9827298104672695 sigmas:0.41877984017846903
+count:99 cutoff:173506 relative average:0.9768431406001101 sigmas:0.39907808855922206
+count:51 cutoff:173035 relative average:1.0772594110100453 sigmas:0.9556461365022753
+count:25 cutoff:172717 relative average:1.0696556226469514 sigmas:0.6032353872868259
+count:13 cutoff:172486 relative average:0.911310638028712 sigmas:0.5538648879899244
+...E.048501cb0e00e8b9c2a44628c9944ccd84423f42c7052e21a81193de3539161790ce066647ac26c10bfb3e966676d58c596487c182f92d58cabc0dc692fe65195a386772141b7001b6cc6b1c274cb27816a3fcfea26c8cd98c56892cbbc3727c1d5aaf512b2c63e8b87638ec75bbd38dc5092a4c3b62138ce96f66f490
+ECIES:org.bouncycastle.jcajce.provider.util.BadBlockException: unable to process block
+.testEciesBasic:042d642c12ec19089f143434f7a5d32def20ca9e3b13e47c200050c923b1c5fb21a9f68bd0110c632ccdb72bb8d3bf38047ef1c51248e7388337b5aad1181865a0b34af91652f22242e93b8f5db5e1614c643b1f24a84054ca47d6b0f1f0f00a75cfe62811
+..E.No implementation for:ECIESwithDESede
+...No implementation for:ECIESWithAES
+.04b1450faefe5404ffb15e3faf89d0ea2876488d1bfdf2af33056c3a5944a2d052fb95e1218ea61064dc909bb9184d623435b3133e90ee99396f8a89b99616dc54a64d0d3abdaa0218d2baac79b13b5c6c6fb37f53619305cec9421adae6bc3c1e7db71908ee627badea2a1810956529b583377a3dc53d360076d1bedf2a4a5ecca1581d2c
+E..E...........testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:21508164727075686825423098702336920048672798594425904274096273024076738041534378573776732320465250363124743103573752805835277448823784489322448705649322163310838910483704033817839034635778566200415031192984928261441629891567900066979546584627996176821712001656969123502418594828321242053654763748111240016746106747506674263213473644516033346683028441384107826023838086992804778865105166900102391266430938605449943890030406044679898794932320286776264819910534360645862620808449599544166084820926307710627039260535488941996230728334462247069886596650133138622343876549445503251191414695899085654213893751041896204634241
+Modulus:21646404346388187181712523588912885894035233592389656084562854085763975408329065819733334453430922092502636114074522468035579958988336527316323611302252751162676186888362167260891865092318577734594320267375659639266722577639878885636296421943318280173423832285907623308032574218617846695124190125875633270678763612347238947402337111939967215815645997954619902038657878957441150718503304049892709017557816103157451533083199519086824512582697022034265472902265112384216143595745117364666905443705327251004253877672767611488367206999256992366427471336786062487255055743089350601085510498394997871412868477873100874669549
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100aa60a2c2f79cb5cade4022666b19cb5b2068d3cc659df1e42e8025774ce84bd734188fd3375560948236d5eaab7f529d6f0dc841d8e3cec027916c875963e8afb8721f6bb8940a64af3fa2fa1ac46254f0a07388636d220594576e6ffaf915c45739aaa96264a93c07af2b48e2b6443f1a7cdb73e59d0e5e77d820e7ff3c1ea1ae87add83fdb7160d4bc37fd12ccc50973471a3dd096cb003e16bd9d47dc1f265118674ca3751d5fa02582b71399747f9e48a1e55383295377cdf3ad24fbd59172a2eb5dc103ff21a2a330daac0ef2ec7bfdf743c917b27e9c17bda19961879b6a054121171f9a5c1815c7f2648c06fd0dbaea6337c6279e2045956053aa88810203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100ab78f92f745adb5aa783bda1d77c4a16e3552c6636e5d7c416727dd5afa921837c46e56ae7d64350101e88a8512c42bd14575b60b0b6fce2917d569a533080e091bf713239fb82a4160c99a06d3db1075560a50a971e2fe9e6c8d3bcc5cebcc0ae306bb672e03c3bb24ac44fe1cc8782ec0ee719891e1f7ef3665298218292c7cc5ac3bc24b2fbdf67c63445d280c06e915ae7528ffaee4ce6d6a3f1e969726a8a771ea795d34b91cf8356342c0c7bc8e858b4b806c4a4646ccfe354be23b5046ee71fd554e777a7c4cf5f4b7573a8444605048078d95a269b768fad109ee5c1f978c2716db769b0774eb094f08a6a223dbdc5e7be0c44bfa5b56eb050e95ded0203010001
Private key:
-D:1504475397868329605100108949542823530725060301150448627012616378696366729738986755219738241605395791341602508087919439402938350012518639015768733370049058198539958731478709996329227680990400721794598574033617000816543202014436820148175632552312304096845037819795851265940803566561357002677370809043425119348871447029412670739310543353951175786445081880786994222479847926641259053594887644510884490226680996817726271487020075267992600036176634625866573353714686437230554569906426865356640810161781538253367045437601823227661702387431862578706769974328653947704710382968763737416457060507214779309469543482563185728941
-encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100aa60a2c2f79cb5cade4022666b19cb5b2068d3cc659df1e42e8025774ce84bd734188fd3375560948236d5eaab7f529d6f0dc841d8e3cec027916c875963e8afb8721f6bb8940a64af3fa2fa1ac46254f0a07388636d220594576e6ffaf915c45739aaa96264a93c07af2b48e2b6443f1a7cdb73e59d0e5e77d820e7ff3c1ea1ae87add83fdb7160d4bc37fd12ccc50973471a3dd096cb003e16bd9d47dc1f265118674ca3751d5fa02582b71399747f9e48a1e55383295377cdf3ad24fbd59172a2eb5dc103ff21a2a330daac0ef2ec7bfdf743c917b27e9c17bda19961879b6a054121171f9a5c1815c7f2648c06fd0dbaea6337c6279e2045956053aa88810203010001028201000beaf10faac2e13b84d2df2523623d458d4d8fdd2911848955d05c6e8d28659fb2d2f20290090e95accb19a90de07cdeaad53fb80d6c17fafc79916a21505a072aa37efba9c05f3ebe3c7911be1c1515c47430c8ae4dc4b6b7b2eaf475cd851e840c7259e15a51b53383670774e6537d4784cad3ff507e6010c98339bf328d20dc44ea5c39d4ff8c51ca2ed7d9fdfaa15d98ff1829ef680421901c2c220cea47afb1e488e547e24e69c7c32ae31bde93f4fd97a250bad8cdb636ba89cd9d4600fae26ffb18f1271c72c63f0544b8dc8ad501aa9b9e9f3c707d706b4d368087eaed256aec4b50047493c0d32c21fc62c348741c93819fd28416c16451fca1ddad02818100e7a035bbaca4967e91a474440171757094ce3c7efaa14e49015aadb5d3dd4e617c4d306b56637812845e9bef70f07f3977b7e5753a3d0e2f6c165ae7f79b3d12e70f90fee4ebd0ffc0a02462110e3db8942061a6386a1a7f238c568aa5c68fdd38f200742015d398ea791f8217f65728157c9a793b791a9137db9e5066c772d502818100bc4e737b915f75b84350e9ae37287c92ddfa2cbdace56bc3e5335bbd63fe59ad5d4c6c51eef89f7da8d3d899e982caed3035a6092fde0dd1a249c7d82b606beaca3563dcaa4bcdefbded1d1c9374e7331f0662b65532f1bd54c82cbd6aedd470378182f32cc52143e9d667779ea8d3c58b7af86a30d4cc63850e4087ebe3dcfd02818100c82bb7641a5e1ec5011eab6fbe038c679fe1df7c2922cfe1ddaebce29f56e90eec7a54b6de7095eb02c43464a828defa0e1139d6a65eef6c622fab9e3e68c54e19ab65363325ec77a9c37bcdd84983638977b68c0cc2fd6514968a8fc59624ec1cf35f1afc43809aed3f81d04edf10114f0861031637a193103fd6c04b226085028181009637db4653151cfaeeb0888a533438148d823ad8e1296fcba9774c130cc6e65137a174b3f3f8607b450822bdbd9b7a38b701c53f84f116830a7ce330de819ff58074110302d350289591a76c997163d2d3482bcd1ab0764a3c6d27cbbf9694a724906b9f84328a33fc41eeee6d226f3622ebe96a05246d1c6313988515b8041d02818033256d15c06d8e71c66bad862b6c3cde29c06bfa6f282d76f64b75cae25f5b87fb87571c0153141591154cae7d00efbab6d216939ec411a0c58bde3884dd2af7d03412cc5369efba7dff82b7b99a0a46206ee43c65a5930eeeeb5ed9f582b299e17a7c1f8201e517961e8971290eb8772cc6a47622bc793c15bf92c85669fce4
-Signature:8b08ed22bd52ce655bb80e59d253973ce43495c9ad327b31911791948faaca9eff76ef8a20a2561faaa8ca4a702e3a39210d5c65c9d263706913029fc9dab4da76d0e1c05d288c8dbe657073c5449dc700bf1ca5c781ef02d265acceb3eac3f92a0f94655d18172610bba9768cd22afe842ac226ed0c15341ba1d0597ee8e539a27544b549f8a92ef1243515db7cad4c34731fa8926a338241e2c0a299d6410097732630f0c72d8e56d3bf762f09a751d2bf16c77434dfe8c674a4a88bf42173a6aa4ddaf09e38d05e5916717f53986a83981d053441a24199ea47b114c87d88bc71ed5792a28b20e235986ac860c3296cf32f25a79d4957eae267a9c2a1f3a4
+D:2844482265454553427970585366246818946845773100655503276015919242360793997536199625242892966003129546067606118900922951839760968717023271941776079779895336878602427964090132054424229704976541365188005037500025646785251305958994719976498539539128385932427881099931892700745785268943297614147878684774111627433098473933132401179986210913535887220651345204758026130966375170659665328055232273450668824156514193045710662259592392055494293289830763584928988277028786777977009910606278541729462959433181098800085665100154761872246886916894987448151433508042431502244715010494602410667518817007638887977628766555449656502513
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100ab78f92f745adb5aa783bda1d77c4a16e3552c6636e5d7c416727dd5afa921837c46e56ae7d64350101e88a8512c42bd14575b60b0b6fce2917d569a533080e091bf713239fb82a4160c99a06d3db1075560a50a971e2fe9e6c8d3bcc5cebcc0ae306bb672e03c3bb24ac44fe1cc8782ec0ee719891e1f7ef3665298218292c7cc5ac3bc24b2fbdf67c63445d280c06e915ae7528ffaee4ce6d6a3f1e969726a8a771ea795d34b91cf8356342c0c7bc8e858b4b806c4a4646ccfe354be23b5046ee71fd554e777a7c4cf5f4b7573a8444605048078d95a269b768fad109ee5c1f978c2716db769b0774eb094f08a6a223dbdc5e7be0c44bfa5b56eb050e95ded02030100010282010016885b16654fdb2b5a7ff157671daa0ebfe8dd60c12e0ae075a2adee7a9adb10903030cd8f91945edcff662dd81cdcd843e806d5f9e2d1f063f5f87f671724985e0eae2d4f79417d96782967ef72ffe45acfcc604be367a070f74afbaf72af531290c256c359bc108c294f0ac03d44416c0bb94a9dbe1b9d6f16af1bd6ab75e61c4cf35b7c408356bb642862cca3e443a74c3ae59f00fa86e0e6d05d9a440b0ce0ee452f9c744202afea580024a267d7fe34424b0e4a05cc6ffffa6d6627dca7e528d0d9e10e155daacf3aa0bfed58604b26840d46a5baf3f347bb521c1cf8f650134251fd3e3b7bf0e07571347765a33c600c604359b5ad4baf0c50c65a68f102818100dcb2281566bbfb701dabf9a526ead8e6c7d89e03233d05327262e00b4e22a1e73054eb7574590bd248819aebe1f29f0d1884d567fe1b8db1911b0fb5b2f7104679fe7ceaed62d1aff24c6df0685b571596291daa67587f0a649db96eb8fd6ff978a305d85a3900a6509622865ee97bd6a568ae78c4b287b7693c31b65e58115302818100c6e70aeeb0c43dee3297ade05f49c7709d2947f2811db399d1627c8bcdffe89f88699928ceb96ebf1d0864870d43f0a3602b5eeab5df11833e43ea2c0bd9af1808266818d6d032fed519c9ffc6a4420869fa9a44b0081ef450a89a7fc199efeb313dd3457fed71e49120c3c082ddddb07c0df6f6a6c5ca9de54e8d3de196abbf02818005e816be8be358156615e6368f5615bc07793ab166ce0947925c2716e65e72ead7164ebef400361ac8a9ff5574d4a3811c38e1e5489dc02b127120f881f3aed1d40e0595dc089b08147a0b2f35fbcbd6de0ff7a549e2ca73a2c1bde6c2b8b5b87d8c0f69fcf02d9e45e5dec2ade39dd6ded27068f70ab82b267bdff0bb91abd50281802e06768c271131f775738dc396a91ee25b2b9b3f6d4b2f2d0fbb87705e59b23d8036573f8f1e6f96ffa3da8739b597f06627830e32c98c66df389dee554ba8ed99ad317755f5d5670c6eac446875c7e5e4881dbc793357de56efbcd8853716c248a1b2caa9408b934555dc9626722a835521721d3f1813bb97bd2687c434b647028181008613f3ae90b578934b05dca0278d9f3b2257735e4539f1998029f1943cf46053b03a298002e670adc6d479f47face3221b9264eff4aafef5d7d7d010d632a51186e5ecf3db0a882caf0011b1fe26278ddae1fa87c541b0c007feeaf997fde09abf7c2b711533fb4d6e65e2939d800085d167574ef4d3e4b5a2cfeedc1a8d253a
+Signature:04c15b5c0e6cb805fa91aa7afaee0039ab0311fdf528e9540daa360d5705ba92dd93da00f91a4f14adef4d296a04e6e0b156f91c011606cf283e6a04296028e6a359f13d218cfd064887730a7f86131f3181ef741952bc4e4b0b8b92631c7906714f1ef175258c5c21988a1d0de69adb8413422e804c5541cc169b7e0db81e4cc28c0b2cea81f6abb6ab1f6cfa223ce7492e73c3da0324b9ba4c419b6a080692f5ccc5b90d797a5fea7e1bbb1d89a3c4f444350cae8ace728bda3c147953d9f4af26b6128c0a8748ec741a86cd09ea85ccd67b30ee0d082db51018ef56442558f39627709bf545ad7bb897f7f1de1b1cdde0745359153b96ba7348ead81568cb
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 2,200.089
-There were 19 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 64.936
+There were 7 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1400,7 +1324,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1442,233 +1366,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:0d6159c6a9d509e71df173d39f8a8892 pt: 0d6159c6a9d509e71df173d39f8a8892
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:5b8dd86d517f6b3368b57a5da9f7f5c9 pt: 5b8dd86d517f6b3368b57a5da9f7f5c9
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:5daca603c36a4c2a6aba0975617a2e8f pt: 5daca603c36a4c2a6aba0975617a2e8f
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:f2d4ce6cce4527c0266a972d13753608 pt: f2d4ce6cce4527c0266a972d13753608
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testEncode(com.google.security.wycheproof.EcdhTest)
+3) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1705,176 +1403,14 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
+4) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidAlgorithmParameterException: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1537)
+ at javax.crypto.Cipher.init(Cipher.java:1470)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:345)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1907,15 +1443,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+5) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1948,15 +1481,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+6) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:202)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1989,14 +1520,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+7) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:430)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2031,12 +1560,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 19
+Tests run: 96, Failures: 7
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 19:32:14 --
+-- JVM shutdown starting at 2018-04-06 22:15:37 --
diff --git a/testlogs/BouncyCastleAllTests_1_59.txt b/testlogs/BouncyCastleAllTests_1_59.txt
index 5184c99..9618714 100755
--- a/testlogs/BouncyCastleAllTests_1_59.txt
+++ b/testlogs/BouncyCastleAllTests_1_59.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E..E.....E...........
+....E.....E...........
Provider:BC
AlgorithmParameterGenerator.1.2.804.2.1.1.1.1.1.3.5.1
AlgorithmParameterGenerator.1.2.804.2.1.1.1.1.1.3.5.2
@@ -1171,29 +1171,29 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E....No implementation for:DHIESWithAES
-...E.No implementation for:DHIESWITHDESEDE
+...........No implementation for:DHIESWithAES
+....No implementation for:DHIESWITHDESEDE
.....testDefaultSize: keysize=2048
....testTiming: SHA1WITHDSA
-count:50000 cutoff:2613024 relative average:1.0008606511917093 sigmas:0.3333287732383658
-count:25000 cutoff:630914 relative average:0.9999169699697992 sigmas:0.022738710245660328
-count:12501 cutoff:587530 relative average:1.0030946142461579 sigmas:0.5992934422147616
-count:6250 cutoff:571888 relative average:1.0048194050706887 sigmas:0.6599242177427467
-count:3125 cutoff:565995 relative average:1.0172198898201648 sigmas:1.667308662425623
-count:1563 cutoff:562721 relative average:1.02306763533877 sigmas:1.5795857009906933
-count:782 cutoff:560510 relative average:1.0353194723829853 sigmas:1.7107171576861047
-count:391 cutoff:558677 relative average:1.036802187367001 sigmas:1.260441338234406
-count:196 cutoff:557309 relative average:1.0304862494002165 sigmas:0.7392522605074783
-count:98 cutoff:555817 relative average:1.009688050391892 sigmas:0.16611546043754177
-count:49 cutoff:554400 relative average:1.0930096360787545 sigmas:1.1276819069732589
-count:25 cutoff:553409 relative average:1.119583845980221 sigmas:1.0356264850111692
-count:13 cutoff:552552 relative average:1.2225244613087243 sigmas:1.3896648154676654
+count:50000 cutoff:1309779 relative average:0.9979777497795509 sigmas:0.7832141425663705
+count:25000 cutoff:623234 relative average:0.9955424043683815 sigmas:1.2207628398369894
+count:12500 cutoff:610044 relative average:1.0001720672204737 sigmas:0.033320673966141655
+count:6250 cutoff:600309 relative average:1.0006669629513507 sigmas:0.09132766336876187
+count:3126 cutoff:596363 relative average:0.9886290087833945 sigmas:1.1011676348426034
+count:1563 cutoff:593596 relative average:0.9738411878567651 sigmas:1.791257968557731
+count:782 cutoff:591116 relative average:0.9685056917553598 sigmas:1.5254433276731496
+count:391 cutoff:588380 relative average:0.9826557815956595 sigmas:0.5940236551210769
+count:196 cutoff:582999 relative average:0.9614301283409096 sigmas:0.9352696829693778
+count:98 cutoff:576475 relative average:1.0406645371712089 sigmas:0.6972515668713086
+count:49 cutoff:572139 relative average:0.9587021554564549 sigmas:0.5007097549475089
+count:25 cutoff:568349 relative average:1.002744723004052 sigmas:0.02376999847860553
+count:13 cutoff:564504 relative average:0.934561946398452 sigmas:0.40866051376075396
...java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420a528214bd3ff84f349b00832add6bbe499aa5f768f002400c85d7b3fda41a0a4a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004ce0bb7ae77cb0658cb9ef6341a65b5678f447b71be0d089e21e3cf8e39a23ccfd0903fdf424d177f1c090f2ffce67575bac084a2aaec95fc25a3984b3e1ca3af
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104201556a9cbefa67feb96063d73b6e0ec1b20bdac1053a2f621d16ee02897fbc45da081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004c5bfaecf2b3cbc21ba32d5d7d0f82df2af5310110adf61b2ce038ea8200a53d4d74ff5075b814db5e2fa3b31dfd17bc5786333dcef48a1d3702388cbb541b2ff
...testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
testWrongOrder:org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
@@ -1265,132 +1265,56 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:3862242592028930855359318856049666955109054403517567571661795852861791367171
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104200889f3abc72b6d54f0ba1d77d8cfc6c3ad0d47c396638e47c51090abb3a17003a00a06082a8648ce3d030107a14403420004667a0b7ac932a1afe79be1b7eba15d354161848cb6d04b413aa7e1a69c2c0110c034604beb16cce39737e8380170909f522980a2caac2ff898de3f38098ae71c
+S:65719485009852775522561127472695184309724801911160188297017602656797228821626
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420914be90c2f80aab60fa63b93cba5d3cafc77c16b0d8b117b7f8672de61906c7aa00a06082a8648ce3d030107a14403420004431ae0a2d5be747e4ff8bec822ac50b54a8d89fd74c0defbab8ca8f9ae328ba3655dd6b0ea7094e9d3f27343ed5b9a8f639a8e2978a41605306a8def3d94db08
Public key:
-X:46351545126908041844411416378978791395309020105171017335122914303256054989072
-Y:86936607589758682544385340900690074855726303759393466913977564655975672768284
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004667a0b7ac932a1afe79be1b7eba15d354161848cb6d04b413aa7e1a69c2c0110c034604beb16cce39737e8380170909f522980a2caac2ff898de3f38098ae71c
-Signature:3046022100a2a5f96112d4b041f9ae27a79d0046d73e5d5e3745fc53340fb1b737b0458e82022100924ce8177aa983d1764d783e83dff7db18ae31189d2329759070489fc400214b
-r:73567932388115882121656487998978607584539742707255470157008231780029678587522
-s:66173558108229112641626688199136090013223829613761896047812242857888709615947
-.BC curve:secp256r1 countLsb:508 countMsb:516
-BC curve:secp224r1 countLsb:516 countMsb:513
-BC curve:secp384r1 countLsb:522 countMsb:545
-BC curve:secp521r1 countLsb:497 countMsb:538
-BC curve:brainpoolP256r1 countLsb:517 countMsb:482
+X:30352449259965993967838206768859908940094760328131767904609043375786283928483
+Y:45849396227292511240159658944980454687664273095676862219920505736280635923208
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004431ae0a2d5be747e4ff8bec822ac50b54a8d89fd74c0defbab8ca8f9ae328ba3655dd6b0ea7094e9d3f27343ed5b9a8f639a8e2978a41605306a8def3d94db08
+Signature:3045022100861861ff530baf32f1a70c9ac34922eae988f8ee1cdd14570a16b41c678f573e0220524adf45f86b4447d8a085d47b705198b58b1448766d170049286928f5a55926
+r:60653002392640142953996980265791596749698960022415122376259035263531563833150
+s:37221941242454673919603925936128014008536162235811278031556394783115539994918
+.BC curve:secp256r1 countLsb:559 countMsb:530
+BC curve:secp224r1 countLsb:517 countMsb:530
+BC curve:secp384r1 countLsb:510 countMsb:511
+BC curve:secp521r1 countLsb:512 countMsb:518
+BC curve:brainpoolP256r1 countLsb:509 countMsb:499
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1673457 relative average:1.0023790841819393 sigmas:0.9214153415876214
-count:25001 cutoff:184260 relative average:1.001173146913709 sigmas:0.32128593947904377
-count:12504 cutoff:180676 relative average:0.9948911148044179 sigmas:0.9894896443655747
-count:6258 cutoff:179875 relative average:0.9908699257661127 sigmas:1.2509867661421925
-count:3125 cutoff:179323 relative average:0.9798839777485905 sigmas:1.947725479291176
-count:1563 cutoff:178914 relative average:0.9685680211063096 sigmas:2.1523447759237047
-count:782 cutoff:178585 relative average:0.9637252979280808 sigmas:1.7569842083563632
-count:394 cutoff:178262 relative average:0.993948391199816 sigmas:0.20805568351114231
-count:196 cutoff:177967 relative average:1.0390280768047453 sigmas:0.946380567265269
-count:99 cutoff:177729 relative average:0.9684586346954711 sigmas:0.5435740468476218
-count:49 cutoff:177513 relative average:0.9255827116511287 sigmas:0.9022616706722401
-count:26 cutoff:177360 relative average:1.0022905067034489 sigmas:0.020229207467580976
-count:13 cutoff:177232 relative average:0.884400966671641 sigmas:0.7219157317523913
-..E.E.E.E..E.No implementation for:ECIESwithDESede
-..E.No implementation for:ECIESWithAES
-.E..E...........testDefaultSize: keysize=2048
+count:50000 cutoff:547611 relative average:0.9967008915088525 sigmas:1.2777392243545442
+count:25002 cutoff:207520 relative average:0.9931156850762398 sigmas:1.8854227007397855
+count:12503 cutoff:202930 relative average:0.9776568689642677 sigmas:4.327247896473768
+count:6252 cutoff:201830 relative average:0.9743183417572913 sigmas:3.517168495353512
+count:3126 cutoff:201015 relative average:0.9721751881179461 sigmas:2.69455685141655
+count:1563 cutoff:200065 relative average:0.9907810183605368 sigmas:0.6312815059511973
+count:782 cutoff:194899 relative average:0.9970954573846916 sigmas:0.14068304399791198
+count:391 cutoff:192791 relative average:0.9972646926064536 sigmas:0.09368178247729864
+count:196 cutoff:191625 relative average:1.0423932351911351 sigmas:1.0279813214756788
+count:98 cutoff:190701 relative average:1.0328234415466384 sigmas:0.5628047837393376
+count:49 cutoff:190191 relative average:1.0440308419660655 sigmas:0.5338455876968292
+count:25 cutoff:189719 relative average:1.0899569494530004 sigmas:0.7790500347325093
+count:13 cutoff:189398 relative average:1.2206149414678544 sigmas:1.37773986788353
+...E.0432c5e2ef6525ee8e635d7c8a130e17597dff8c99c6407acf7442414ead9d59f54ea5f8e69368f46389ce17743513e3d4fd3816474234b7f40a36db6d9dc732fa9739b602db07b714b6bb9fcc7f7fa8e4ed446db68e497b3e5b54b7be6df964176470c8b52e702b27adeaa6b0a3b926e4378ec7d065e786e8d61caa03
+ECIES:org.bouncycastle.jcajce.provider.util.BadBlockException: unable to process block
+.testEciesBasic:049c714e9aafc67386d97a49d0b43e57db2f8cc0124f70da46370b5571525e5b561927468d331b794654903e5fe401254ec4ec2fe8b2f7042bb7aeb2afd1db14673d898bb29db00d14d0e077257fdfff3c2ca7deb553cd6ea6ff28a6cc637eade8f48a885e
+..E.No implementation for:ECIESwithDESede
+...No implementation for:ECIESWithAES
+.048235c65d13b7cbb85a83c0a9a03d2b70a0fe4d01d5775012abf9a08760eb235dd0903090cc473b95307f416b10b63aaa191dc7e518146b3347aeef013e54cb9c7d966c0ba8d4fb0021af7ecbc7d149f7c7dac5b18cbae4c70f67eed25caf1f5b76391425fd22e57b4e3e4c75e4d528cd6200dc293b4741d5bfdc6c4d4333167628203138
+E..E...........testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:23785390121118787438025409312316433074698417193577003555839955401084148641641774590334800287679450946063680902669985696510486560867536757635254306416164153722379202628921565812731327056569367672767606950723044510550220306912770423160207032881259505158026036856627908880231860004698844495687807469657783335894279285525958718633285343393756583111310220892236875946801375554095515425906769720074062454969080978096976308541473885906077114751507530582272188603033371348968212544680906123359982900431139626591937424404261350378110480110917633251656113376207239283704341289828667127206878829227168304602899807737718287633849
+Modulus:21431984821663772027173057894200625471132131709892096988707887824207409550756624534501871024257705411037814701573727382459915098250204012195735349149496075855873740724127932844811417326605793403905568375575503375768657344218829181034413705361324852248724447344070028256394849051284652227016660599448655776944968322160703902341662084824006917749470417375685292536325915125430903097993226389649266466590490147511751863132962957553641119157005282491143862083153801113563454866093246789882855665030277150742447580659843466818225304611192691129715858770921691999799728210183510012915874126054361198145275905512378753856579
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100bc6aa53660346d565e3f9c7287517d7a5a8af073df8321d0a04be518bb5d5d83697953ea520c66330ca666f8c983a743b5b4e0f0f9cd05029400663667f0def3137a4478ff40d97e66c30bb15bb11cdfe1f7e930e602d6ce00a83f1e4bd4ab822fe9a1845b1db9c3698d7fc92e1a0b3d497c4d5b64fef8e06daedc8f872f7e62ae50705eeb8a009944a6e5b6e7587f1d185073bd6ab2b8b7289ddbb8722af49be99f9945193583863d2ae103cf1e5db02984fb7c5a83e9cb6fea7c7e1f66d421f382f1a2623182f3ec697908451784efab661f360965b9cb0606645ef6d9d1ac70af8cf6b39147674969a5a36388dce08d5649a7e25f5f313b6e4d7f62a40db90203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100a9c62655df8983faf11fdd43716a65d1baee54524cd223cfd1580a4da7803b4940dda589668123d067ea3cf17919c98bcc743b48f6674261eb214e8148b467cb4d7e613a906feb41dc96389e364fff705bfbb1933ed00ece4a8b44d3e64b761b62bccb8b1415c8629e49f2a8dedfb109fdf7a493c01fb1cb3c3360ec00a4508e98f71f23ca46592674249324326205df4ee1fddf97067e867bc403a3bf9750694228c791f8209293b6d2cee0031a7ac5915c47bad9a0876e9e9c3902ff1336da5a2f7f6f927b7db30830bb7274924576eaef917cc2b2b45f382c19e2cda33f3ca7377e22d3b64d30609c9271489a38b696c39e3e93634bf0c756b2e91263b4430203010001
Private key:
-D:1664218783288679674032462798138868179257970185408965161745336458667185919347061314737937756063813148498939664299452514020306637851260964068182227170473484091337257330285485146318560511129573148961286932153447985155378415511062587170623149507560850525689738498955815435102357356173559232723140228452870370733201065288827836420389684053828770923921109624563320236712388219504928272480506249697813197302975935165866779848475342491111445398882218711078703164698779934522084334012449232386047382553091194608168956986839294268638936617870573172427389638531091231219933730652379067357626847619814767207116698975072549643329
-encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100bc6aa53660346d565e3f9c7287517d7a5a8af073df8321d0a04be518bb5d5d83697953ea520c66330ca666f8c983a743b5b4e0f0f9cd05029400663667f0def3137a4478ff40d97e66c30bb15bb11cdfe1f7e930e602d6ce00a83f1e4bd4ab822fe9a1845b1db9c3698d7fc92e1a0b3d497c4d5b64fef8e06daedc8f872f7e62ae50705eeb8a009944a6e5b6e7587f1d185073bd6ab2b8b7289ddbb8722af49be99f9945193583863d2ae103cf1e5db02984fb7c5a83e9cb6fea7c7e1f66d421f382f1a2623182f3ec697908451784efab661f360965b9cb0606645ef6d9d1ac70af8cf6b39147674969a5a36388dce08d5649a7e25f5f313b6e4d7f62a40db90203010001028201000d2ee30f6a6cd0a7a5e18a8742eb933d7fdf4fd2b3b55fa4d2ca6ca5adda6b041a59a862f149b7cee39833053e484d6841eafd802ee246f2f6bb0e6bc91b03e67b1ae77695d98a3e3b5f734e7e0d66e94d4cc4ceac914f494ba779ff1b2c2eb1e5bb51974aaeca441f7b0c915d7dea0268455fbe40d34c439bb90beaa8f94c3ce9807b5bcf35c0e6b11b7c766fc7b2fdc99a7e53a6f4cdba7c64e908d74ce815f2b8ea0189f9fead7041f2cb4f1579123d7cbeec653b93b5d3aad6e40058182a7dd060f5e090c7c77ba2513149da2903826a3c2ae5e60413ab0aeb746e817867758fdae9b7e3dd456e570b43dccd50ad394ff8d5953172851782e944b5dca44102818100eefb6f121330cced599676eb8520bc5ff3bb18e228ea8018cbb148a11ae56d47166e91ef18af17f728c98c44e1078c3e30f3847100f9752c2755f28fb3edea57a238f2e091ca0963e4dd2ae6079801d3410dcd12040726ea0c8ddb59c2de3ef73b1cc3146b8aa80fe9b0282c46c26a66310c897840c823254996be52e15029b102818100c9d56ae928fd1b6ad276426a573d70a4efa484221d70c18c84dffd4325b5d554d5ef4e61409d2959b62609e4d0f5820bb0c624d459ae945daa1327602815178963f886cbc727e52f4197b42e8519beb2b572b91494af62e98270b82ced4f4adc670c29111ab054bd07e15f9a397d25608a6426357ddbeb512456a2ee234b1e890281805ee697e7dc990f77dd90a3aec952039c32e4847023016456f464754c0cab38e6f6e077b133e32c282919484b7df50a5b14034fffb3fc5bec69be76b15c29495afd7f91eb5dd9963b060251ebc0ee3b2351fd12076a74109ef6d74a58edca65c4b5c3a9302db8851eb495108eec967dbc1114426eef82ca7a1f2bee6e692cf53102818013526d13b92ad1ef1e0ad83cd9f135d17467a986a28ee2d892f7e685011d313917e9faf4f07c9b32cd6f42cf36f9e9e3389f1f737cca6bc5b3bc75ae8ce7c8030d2103b68a70554e7ad70d16cf0331f065d27fc96a9a87bb9713376e85a16ba741ee36183f17d664ea563712caa2226be593c4dca619e1a338f95a4bb5f1411102818015f78e63bd9d27fbd6d0a0c716a68051a9c9726ddbbb327809e5a4f0a37a61479fb3daee0c51a5d379fe14e487a2acb0670862fda53e385034ca8ca146cb5dae3e13e3165ff28fae7cf989108ea2e9f4b1456ed7c9aa90433495f4dabf0f9ad7ecf947f27af43dff2844102311cb7dcdeda3372c805395be1344556bf3fd3a0f
-Signature:30530cd928fa670b822d0f5c850f520b2680a7c79f0854f46c106b08151691379d6d895c201e4453113246c1d3f5ab06c3ba635da217604a15fa489978c6ac23f894aa9fab5d82f87cd67177c37e1006b093ffe6dc05667a1853e5ad6860e49db0fa001add190e8e3677b5c1b836d3f57fa0761371670e9b86461449b54e310dad881a60f2346440e9bd29b1a38d3bd201486b121eb99bb4333def74acf941650cfef18160f97dbdf17f26525ea9e2c0ab141dbc1daca7e2cb2ee101a4e8772b588410800e5cb46d107796e537bacab21d523b9045790487d8867231f8178d772572ed59bc8ca6c58ed0e920e09cc2b88d665a3776f1c4bcbcc543f5f7b5313b
+D:500342352825817037727921305188320444494440720755220843076782098219896190131645262031949321255386869690218601605319176879681250291023576585127105058191998352983609614537066653227359636689303201366793103355822209819278357823135154904598211227288814317722025793619285948888171857858393242097372334973472135415495880994252986845041732439234089939304608622777523465752777025997872866482845040414199527266514095590377009782821466621814794625163617648183599695171396519712307837429835351097541232409342100038801997276465170001823668355217379727726571561965217870230035177212816373471491493845395187512029715575024899506913
+encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a40201000282010100a9c62655df8983faf11fdd43716a65d1baee54524cd223cfd1580a4da7803b4940dda589668123d067ea3cf17919c98bcc743b48f6674261eb214e8148b467cb4d7e613a906feb41dc96389e364fff705bfbb1933ed00ece4a8b44d3e64b761b62bccb8b1415c8629e49f2a8dedfb109fdf7a493c01fb1cb3c3360ec00a4508e98f71f23ca46592674249324326205df4ee1fddf97067e867bc403a3bf9750694228c791f8209293b6d2cee0031a7ac5915c47bad9a0876e9e9c3902ff1336da5a2f7f6f927b7db30830bb7274924576eaef917cc2b2b45f382c19e2cda33f3ca7377e22d3b64d30609c9271489a38b696c39e3e93634bf0c756b2e91263b44302030100010282010003f6a64a76ef84ef44d5d39a9179446b430bf15802871d62eaa63d875693bdce95ff16b0407e5f51ac3b61b4d978eaa5a2de4bcc06449ede1e5926b609f67c3dd8cf4c81cb817162963dc3909dfffc1ca96914da352b324d4a9c39bd20b13e4ea15d7afb023b07f495717082d4c13026e590f47ca68d96df01c6c94a79315cd80daa2e502e12265112ed7a5fb64f75063a08e4676fd8ec2e8dafa21170324d1ccf5ff9e2daa5a1097d3dc72e6f38c8639f3b5ea7fdccd176312ff955ef33f4140d526afd485978de608d68bb0a1462318ac85462e2c9b26b7a594e49e55ac55a415fb088e36802f81904276baed8110fb2208c0750b53dcf752516feaa9ac2e102818100d19754649adc4df8f79a934aaa8a5cac2e12efd040b7d9f3a342261befc05e5c5c0baa8664e1bac915369b38d99a75923d2110349b44d9c8577a0d9675a089c948e55c5147b855ccf7c1c0635639757a704abdb18e25cac804d4f5313f041cf32581dd2ce2c0056207eeb91d1f56415bc6aceeb65349436c15ba2bd2a8a6ac9b02818100cf5dc9aeb93b210f291f08044008a138a3ccf941d3671115b657bde521dec202c731fc1c8d79cae3591da30d7ea136fe84ec42aca6a16835bae42c71776569223c0b81df27d55b75632020210db621a6a5d57d40cd623606d7848c3b2770d5d13fcb654c49d36a417716da5c25f602c5b2ef2c0aa30fe846a01e5847566ccd7902818100bc6282ce728b35e263dba22c68a138aee232cf2ea61d1a5fed0c15e8e2544bfc4417904c7ffc8cc114ba2246b5002a512974c07628617846a4a9e5f0a905851350dc27603f50a67e36eb059bc3f29d6f51e33c218d9cd669763e5bacc9f14e7c15e865fe6449280d7707d187259587e58febfc1c113c36c7bdb7ba8ffc5ae3a5028181009dccf13d5517fa005f7a8dcf2e2b63048721e44c83635b4cfa85aaac432a10d9ac5c0d4e6d1ad19a50a68cfe27eee6baa8cc61b0a0dd134050087309a5a2366f26e25ae2469dc60b7e7363ffc33f663c3ad64b8a94c0b7fc5ce5311192e1fad45187a67e776fbadc3693dd77622be3d02e6a734964ed260518b3fed9ca9ae1810281807de292c9f15c8c99b7cc3db8b28bf678260b17a478e69b9b84cf853d1e0617954ba21586249648b0128f513868cbd9a7716331a14f623fc21707fc3ef7a0d1636957dcbc244043b5996f0df052931df5e61e855996ae3494e5c4d7f90918e544c3083a1612430fe21248352c253bac4fbf650610945fc76839274ab4ac04388d
+Signature:022d1b5f39f5036a83d84d63a47b234a34fd86de0ce390d2189a8d4b426957bd474d1d0eb9f5dc4300e2cb2423611812df286e5d8796f53a2206f7892209a50dc5c705b1020ce8125b0d26097dab4dc34cbaf7f8eccdf95c71c36c8fe24bace899f2b7d76c7da80f0a47111f734ac0e1b27ae7af00b89a4406b3a6d8d98f987f8e2c4615d24dd4f6a335f95cb837d8935d10b66f8f2c0ce9a0b6d1866545c3d012c185395e779937f31c933dca5e80b97c8cee0938ae27805e863b8dbf13028b68633698f89d170bd6483558c626dbc8f8301e9ba06c406e4c0fffeed16cf051deeb946b23c8b3764a6163071c23a5d5f1846e0846c43b0410b5c42617f9b194
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 76.712
-There were 19 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 87.592
+There were 7 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1432,7 +1356,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1474,233 +1398,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:c08c259fae5affd694ddb1ea7518c876 pt: c08c259fae5affd694ddb1ea7518c876
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:67f9e8484e6a09086c83dda22c5594cf pt: 67f9e8484e6a09086c83dda22c5594cf
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:8a9f050386bb3510554fd4cd27f297c6 pt: 8a9f050386bb3510554fd4cd27f297c6
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:d013684dad5c724ddca83a02d5cbd54d pt: d013684dad5c724ddca83a02d5cbd54d
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testEncode(com.google.security.wycheproof.EcdhTest)
+3) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1737,176 +1435,14 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
+4) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidAlgorithmParameterException: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1537)
+ at javax.crypto.Cipher.init(Cipher.java:1470)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:345)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1939,15 +1475,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+5) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1980,15 +1513,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+6) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:202)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2021,14 +1552,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+7) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.bouncycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(Unknown Source)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:430)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2063,12 +1592,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 96, Failures: 19
+Tests run: 96, Failures: 7
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:55:46 --
+-- JVM shutdown starting at 2018-04-06 22:08:13 --
diff --git a/testlogs/ConscryptAllTests_1_0_1.txt b/testlogs/ConscryptAllTests_1_0_1.txt
index be71061..669a6a8 100755
--- a/testlogs/ConscryptAllTests_1_0_1.txt
+++ b/testlogs/ConscryptAllTests_1_0_1.txt
@@ -176,13 +176,13 @@ Signature.SHA512withRSA/PSS
Signature.SHA512withRSA/PSS SupportedKeyClasses
Signature.SHA512withRSA/PSS SupportedKeyFormats
...Skipping testAesEax
-..E.Skipping testAesEax
+...Skipping testAesEax
...java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
-..Encoded ECPrivateKey:308187020100301306072a8648ce3d020106082a8648ce3d030107046d306b0201010420a0102437b89e6abcde27f417049a4c192d849084b54323638f95bb4ef9d534cfa14403420004db700fac250bfa2934f96347a5812af95be69fdb7a1f54718a40d3f0821df69885bcf1634fee907b44da5a454e825fece62f09314f1f9866bc60dde29f7e73ad
+..Encoded ECPrivateKey:308187020100301306072a8648ce3d020106082a8648ce3d030107046d306b0201010420d3a1dfbe1024133fbc52ebe85c4dae7f4b3538c18a05d8079c05eb826dabebe1a14403420004b328d01aa7e43a36da2cc0995b01cca526d3dccf4c6a2855cbbc5b6b32f388a342c57b7aa81c03b8bdcf473bd43f2c4e8d2a48ea2aeaafdb8ebafda0f40d03c2
...testWrongOrder: ECDHC not supported
testWrongOrder: ECDHC not supported
..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
@@ -203,7 +203,7 @@ testModifiedPublic:cofactor = -1 throws java.security.spec.InvalidKeySpecExcepti
testModifiedPublic:cofactor = 0 throws java.security.spec.InvalidKeySpecException: org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
testWrongOrder: ECDHC not supported
.Generated shared secret with a modified order:ECDH
-expected:b84d077d5a9152702dd6dbfd4ccac7484350452aafecd2c204e976e743badc93 computed:b84d077d5a9152702dd6dbfd4ccac7484350452aafecd2c204e976e743badc93
+expected:70637d8d07b0640090db0bc36096dd920970c55a017b0f6d4060c6f7f9cfe9dd computed:70637d8d07b0640090db0bc36096dd920970c55a017b0f6d4060c6f7f9cfe9dd
testWrongOrder: can't modify order.
..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0f000078:elliptic curve routines:OPENSSL_internal:POINT_IS_NOT_ON_CURVE
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0f000078:elliptic curve routines:OPENSSL_internal:POINT_IS_NOT_ON_CURVE
@@ -223,49 +223,49 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:21146568867564984479024083837944905997251082007306305936037988135052790122899
-encoded:308187020100301306072a8648ce3d020106082a8648ce3d030107046d306b02010104202ec088a91856a00fd2b594cb4fda2bb73aeebf3f1ed538036fd246bb671ec993a14403420004f03f92c6e6841bc63e3d0aedcc1812cf03f80dc3c163252799571e9bf096d5a2590937f30671cc2a9c02341b1d3bff93077ea93ed4e06dec66057060b22840d0
+S:58673383837870792067791207160202371272386787411623861920541914249475970285744
+encoded:308187020100301306072a8648ce3d020106082a8648ce3d030107046d306b020101042081b7f55a21785ccfaaebf92a6bc817ae582fb76d31612e0fab303a30959fc0b0a14403420004e3bda627ccb27aa0e36255875c33c200f83e02c7fae013d6855e3f1d49c61abb29f0685baaa308cdee977985e7dd21a03c9d0457346547b66af8c61da33d3da4
Public key:
-X:108667408042377216306380364650602851914169198397811438578710515045895528437154
-Y:40272131295488514959386167788306727723773982423264014771879373699321921290448
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004f03f92c6e6841bc63e3d0aedcc1812cf03f80dc3c163252799571e9bf096d5a2590937f30671cc2a9c02341b1d3bff93077ea93ed4e06dec66057060b22840d0
-Signature:3045022013e1089566ec9d9a223db7f3fbc30d29bc958ea850d1702ef20949b8af305efd022100c81b1f811c37a1bf5ae64af8f222a76177e4111784ebb4f68aad715e0f93857a
-r:8991543954499217359066019013901242998661207912983857481123298588149993725693
-s:90510492022343794394036701279714486709409831748953960284747679540866083685754
-.Conscrypt curve:secp256r1 countLsb:495 countMsb:512
-Conscrypt curve:secp224r1 countLsb:512 countMsb:527
-Conscrypt curve:secp384r1 countLsb:530 countMsb:518
-Conscrypt curve:secp521r1 countLsb:510 countMsb:534
-Conscrypt curve:brainpoolP256r1 countLsb:503 countMsb:510
+X:103010097486533201561039073105950773532411700382370841047624699511087210830523
+Y:18969590340406105134274418621802034125572659736864129130570472633717900524964
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004e3bda627ccb27aa0e36255875c33c200f83e02c7fae013d6855e3f1d49c61abb29f0685baaa308cdee977985e7dd21a03c9d0457346547b66af8c61da33d3da4
+Signature:3045022100ce64a80cc18b0a13c76d9996efd8599329ea2cc2618744df99a7f373ced76297022027567205dda9800868411b38759f4288edcdab4d3147070a8abc4290e24cf24b
+r:93354291351918805027320861221834429868877634349537897384786573913995154514583
+s:17792936899545342426069519144904730708476072494287228062506803871681954509387
+.Conscrypt curve:secp256r1 countLsb:510 countMsb:480
+Conscrypt curve:secp224r1 countLsb:468 countMsb:490
+Conscrypt curve:secp384r1 countLsb:518 countMsb:507
+Conscrypt curve:secp521r1 countLsb:512 countMsb:509
+Conscrypt curve:brainpoolP256r1 countLsb:521 countMsb:520
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:760930 relative average:0.9986282831067681 sigmas:0.5312636683198397
-count:25030 cutoff:44063 relative average:0.9981408787394593 sigmas:0.5094467189727442
-count:12505 cutoff:43796 relative average:0.9974155508537388 sigmas:0.5005765104069814
-count:6257 cutoff:43653 relative average:0.9935182712522335 sigmas:0.8880441490723817
-count:3135 cutoff:43555 relative average:0.9943350062210984 sigmas:0.5493875801413087
-count:1569 cutoff:43481 relative average:0.9842869919459897 sigmas:1.07803145327494
-count:787 cutoff:43415 relative average:0.9763552776549187 sigmas:1.1488999541152833
-count:391 cutoff:43365 relative average:1.0045397355418475 sigmas:0.1554818001586329
-count:198 cutoff:43318 relative average:1.0296218804444512 sigmas:0.7219478830447694
-count:99 cutoff:43284 relative average:1.0051954412714281 sigmas:0.08953661358038344
-count:49 cutoff:43249 relative average:1.068218823148017 sigmas:0.8271092740744475
-count:27 cutoff:43220 relative average:1.1753356750007309 sigmas:1.5780210750065775
-count:13 cutoff:43196 relative average:1.0320860044452465 sigmas:0.20037703353716566
+count:50000 cutoff:148753 relative average:1.00013157954966 sigmas:0.05096054045343228
+count:25001 cutoff:53674 relative average:1.0022067916422401 sigmas:0.6043668680591489
+count:12515 cutoff:52125 relative average:1.0045874253070446 sigmas:0.8888839416548769
+count:6258 cutoff:51796 relative average:0.9972065312655949 sigmas:0.3827561889258496
+count:3125 cutoff:50820 relative average:0.9985329855289189 sigmas:0.14204306537855546
+count:1563 cutoff:49565 relative average:1.0027824094469566 sigmas:0.19052902961957038
+count:783 cutoff:49097 relative average:1.0090240305223397 sigmas:0.43736302428670565
+count:391 cutoff:48979 relative average:0.9959619824325612 sigmas:0.13829841731310705
+count:196 cutoff:48893 relative average:0.9833569060908175 sigmas:0.4035735794418193
+count:98 cutoff:48840 relative average:0.9715323677855928 sigmas:0.4881182117736005
+count:49 cutoff:48776 relative average:0.9640960656958861 sigmas:0.4353120688443824
+count:25 cutoff:48748 relative average:0.921512231861264 sigmas:0.6797240109448827
+count:13 cutoff:48696 relative average:1.1275646021007102 sigmas:0.7966406847854235
............testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:27428004659764144464458133661628547000519693533828190698315088400800675854249701362154088341195740069406428760605120320427496061935304872298018100036368191927600436980591372898728673760026312061229138511668586865400465575841245421633293237411189988184049036268965595906982704705031638440175440946431459341769305570305527260223918895037476472505064417642341131583902420774706758915108845840621476335399604380400520712460317335735036689615114531040146509335823555239326587201791114065686706264868547691599672148900115503725647678290499504789625926948188849506754143877453442218114570403851239560249466385598639063863793
+Modulus:24800707951101402873553699553449251674628835211714178315872179720911124615233985931595640593746113822650204843741036037306353931197706377891605987726713434789681736872068375685520135088743450881078404977085002672185583614817600401540926951437294503234037006219683772107395846479532912464731783453010925009703244874342402461319706235332267107127669094052580068520575680468018304640060492381032144995632237216442042989530309433850823376674229908370102378262031481535937398594269447280374948634198231677335971558004948784133272003153449219362532645213788397940568881112354385409631874198866525400058415900256121488980691
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100d9458ac656614e41c85474f08b0fd22e377b0c009b02ff7d733995c4b1ffc522f4d7c66ffd02ee899d2638162c3c04cb06823c7fc1c6308ea586f961fad19f730e2bdf2abc43314aca9197157e7297775e51ed327809afc433cc3aebc8e569ea1f5092a480156a1210be8805cd87d71d9a99c13aa95a2dd96c052a4ea1265f4fba93cea8201e01476e4e0315115f924a43eec9dba36d0aeeb6e6751fa188c3e6bab5f30686868aff7babdda31be840bc539e8047d898e8196f76d943cbd38031a20f6edce9f30b936ee22857c362eeb916029261d48efb5493b14f51545a9f0e115172164653621756797073427da5e07dcd9711db0b6585a30fce2518ee91f10203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100c4759e825e275fc4870fe5b80f064e3514dd49045dddf538e9cb04d9f7ce24729e17cbef57a5ec5ec7d157b658f34d6754fb5592f0fa74ef5e6c77527052d8a5960806e67f74c7d5de31ca7443cc84d522cdb3c0287b94cbf69aee3cb8770cdc00bbf61000b8b17486cebdac37383c1fdb191358111b11fd15edc8d6f456b825b9460a4017772e55c48d1bc2dc777558e8c2e718037f79577bfe6600eee7befd2322020eefba8d3782bc80efa3032103c2ba22ef41fb8cf7522512b95c437278c956d87cf9aa9d242600bf7e8460b120b2d5f61337d7e11eaca0d32e193a9faa3857d0a1c6803bb53ec05514216d7a9b32a113b8575d7e2d3f0f78b8db94bad30203010001
Private key:
-D:2867956405270286112864724895093230167047794831376796829392232205297569792029077330507979139724569445666187110933316115717984095067323198554102927125505014377097882028758526185693011872820243678801104398062726530690648648471033073883417767561370404375059005344952530438554949565396731011808783632843404229737512165465417201049527061611034646728261546175955693654224865859832236932035389480088088253432604460601077277055906029622401590580307887758111831618097067342149847242812456703969773435490601184416865658338835820944892712986468044717796038257696762516606008150692064247816674749875340832704789003733335204611413
-encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100d9458ac656614e41c85474f08b0fd22e377b0c009b02ff7d733995c4b1ffc522f4d7c66ffd02ee899d2638162c3c04cb06823c7fc1c6308ea586f961fad19f730e2bdf2abc43314aca9197157e7297775e51ed327809afc433cc3aebc8e569ea1f5092a480156a1210be8805cd87d71d9a99c13aa95a2dd96c052a4ea1265f4fba93cea8201e01476e4e0315115f924a43eec9dba36d0aeeb6e6751fa188c3e6bab5f30686868aff7babdda31be840bc539e8047d898e8196f76d943cbd38031a20f6edce9f30b936ee22857c362eeb916029261d48efb5493b14f51545a9f0e115172164653621756797073427da5e07dcd9711db0b6585a30fce2518ee91f102030100010282010016b7f59297222e19654de57b6883133e67693ba04d9522eb7672b14523baa39dabddeb1f3724c916052363ae77da1fc32def4ccdac10a1efac81c04e5d38719489890f590bddf7c7c30635b6d6e5bb0e4d83c20a6ab0529b70b21c801e9dd4751968a6a8c246daf44021781e293758c83cebf25f44a98c0d45c5057f3acd051ea2f1b45105615fb80bfad2649bfe294171f3987d1cd97663f038367673703a179798599b4306a0247ba1207fa206e9b04ec993165850080390f1f1e50aa23ef481237e765006edffd2e10242e23d1f3feab5d952e048f69ccfbd4dbb4e9008af8b74aeb26f6a36ec976c7fd7028ba15b36499712ee850b340046988415e6c55502818100fa83f69e3d82a58b6b6a75defe42b9f7f580c6ed7bd458a5faad0c17dd31ecee21bd39e6e1d0f0cbcee0c80d8852b61b8bee1e6892fef75cc01af0f44325738e723ae138ef78512bfdc96b6c9d99d458a6e770dcc58490fda821f0fca267afdf30d1249753443fa41a7e85c0b962170f90b468d98a316850e3751e484b823d4d02818100de0742bb5cb8ec4367bfc23e1064e8401b0b15119cde11b9eed8d8225283aad4b57a3225cb0601f05d9eabcc278df7f6eadd8156dd95ab613072564f4576a2c91ea0984b6a0282f00fd57af57edd1e1c686d8303897c30d6208e6d2128bb7a3e1aa60be92bafe856bc8385bf963e29e9233c869414985cdb8f0ba75dc5aae535028180779359ba3a7e0beaba80fc764e4327655607fbec0b79563f13a259ed62259c8426129e7ab83af5553310542d316ed981d88ef670d00967a51c05401237a2bebfb582a95275eba6432b4663425b0fbc2dfcace85058ef680dcb9d37dc3ee0e32fd3ab609de29ee709bba3bcd03b2cb8f933070a2d1c2b6d317f00be4d9fcd30d90281805055ee365ef166436969bffdb6eedbfe3e0abf7fd4f3a11456b0cd5b75e1c05120aceb323388a3f0f5def0a878f36c72423f0d8a81b8a2ff12897c63486e09ae9dcf5beb859b0d0791a31bcf722ccdb557afb044fa5d1e4a8c131cb76fc68e0fa492ca227f3531eb1860ba673d1497138d355c387e4f36e2169b0fdee523d5b50281800bdf942efaec8e43f04404524a2a03c0d2d8f2fa3c713cce0f8ecbe5dcd38e94d9792b597db3f0b82803c87902ae469d782c92ae0b9758b34c05ce176e28d721f3c7d0e5f8e98909ec0e502c09899922a1e512c8b86e9699c116b293f18e6ec58e4df265a30c282ee89f7657d5ba9399fde2176123f78f39ab3c1e9a008bba92
-Signature:123282aeb4e94b92a4e0e53e8c7d09604e577cda1bd072a894af9796078529317bff061def06c92d422f6bb5567c89090d93fb1cd5c8df59134cb0d9887fcbf9ed9504aada5a63ec2b6cfbd6ea65a4059197d49df201881c177544fcd38dfb3daf8bbe0aa05f6ed3b957cfb4cb0cc83d0025af3e97cdbf5762283bc6d742b524d77b90ec9101f448acda0e8d25fcdc381c40de0f11499824206870cca0003c759ab5f627eff53464712e27db0809b05e16712c38cc245e579e5646065ff15466c1fa5968ea5acf3d4de625de4a546ef60bd4322ba61c7cdf2d3ee400fda0a5f925e9cfe1bbae1451ec3ad3840da1e2d1b8e6f1dd82689710ff099020406b7a7f
+D:7512453335448144557208722455026542933682219763232217952098730668470141231085113580329228635229684782752519440284832192694290831776505897644142424406834537855635165484906257444023158243156308450053687163054327678231048200579199584530730455161712780234098336015886632648366912496935889318245500482310341994485902033595185372674094790630898884960204191056164968297386724769006758009645473247172408123068828892544085634491428410221200213504307010951299445970182248551684601710516652815940847725055096922863259831708672078923536263428644074262957462203764751672537936631216306582094601677242402946216324299620789130166625
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100c4759e825e275fc4870fe5b80f064e3514dd49045dddf538e9cb04d9f7ce24729e17cbef57a5ec5ec7d157b658f34d6754fb5592f0fa74ef5e6c77527052d8a5960806e67f74c7d5de31ca7443cc84d522cdb3c0287b94cbf69aee3cb8770cdc00bbf61000b8b17486cebdac37383c1fdb191358111b11fd15edc8d6f456b825b9460a4017772e55c48d1bc2dc777558e8c2e718037f79577bfe6600eee7befd2322020eefba8d3782bc80efa3032103c2ba22ef41fb8cf7522512b95c437278c956d87cf9aa9d242600bf7e8460b120b2d5f61337d7e11eaca0d32e193a9faa3857d0a1c6803bb53ec05514216d7a9b32a113b8575d7e2d3f0f78b8db94bad30203010001028201003b82957d5020053676e32de6cf464db26e9b895eb54062e3d68e14ee21ce63e404579902eb3deb97da5763866cf3666302af0f80ef562ecdc3807fb48d29cb4e7d5ff917214cb2abea1e93011cf87ad44532a25c76e6d86fe047961af695b9637b2574a7ec5006111234d5e7b0e26bf40a5e5229bf24c01235ee4d842f878548002511dc8526f9e2e2d00d83924c4d5cc1c622547622d3c72d8ccbcc1ee2d35bc4227577352fdc1bd193239e8d41ef968f9f496ae44a0b38bc5c7779201401fb2f20dba14a4b1c1a9e967d5a90b083c4a57bd6e6fcb58f1d27ad58330152e91da39844b7a39bc2720ee64f90ca87a0b4b7918bd72a8004d3f661680ca2fd016102818100e74dca19c177f14e4a79783bd38dd8de29d1128646202f9bf85a85af76a50585d6a62063db6127e87857f3615267f9062f607f7c2e3d9c7a62f81eaa1e6aeb3dcbbb373d3505949295edc5bacd29014421d1eec4b479abf3fcaf988fcb3fd2e4c29720474120d62c40cb937e65c8bfc845ff06a42b12b7b82f1c30c5a128920f02818100d96f6e16aaf56610716cb756f68d13fb0a6c48b2a49212419c09e331eb32c1bcbbf990c444cbe3f22bfc64e342355fe61083ded7f2ec86246cea91e107b8d49d087dba7f15eea9465f9fe5c9ee445ec29acf5bd00a320e57a16a6560069e137b95f776f1c11caccc2f8576712270beca9087cdba2f30f1032e1ba360ccd77efd02818100cea4eaa7b3f6aa389dc483ac3f467cb78e7860aa614024089e0a9160bf0893348d1e01d5f48a8a12e06102e8b1ac7e080e8f9195a9e2154829df2dd62232b753900e043dc47ee5cb47f31331de5481f3129bf14aff49ac5be02628905eaef884b36c3cc42be560324cf9131e5b64cc21ea96faa1f471567d5069491166f74df50281806af00acccb37f60290464fc54d6d052eaa69a737750902419264aa809a94540466cecf0c3869aeaa2447f5b66f91a0a09deebd62a7eefbea5e46df88352c0a25514fc4b14c301cc0a7b71464c3f28c4859ab3214976f16eeb24c899f38a1f6230a16b3412320df3b6d03cec4c5937dc25262f82361a24866affe97d3bbeb2061028180236a14f33d796147d8a606f28208666fdc10c5230cdece4ba745fa64633177278cd623355d1790e422dd76ea957d540d88d32165bf1424c1d96a685a5fb6b4877f5213b938e9b87be63884b12373acf290cf2556e584134ef188851e0878da8839375d7e2d2503e8c87e50bc6e211041f30781f4720db425e9a9354159152f1e
+Signature:030360e1ab1786a312869455469cde6baf932c2b667ad78181f9d64251037ac6cbfe9896ad35578adbf5ee7259a4d75a2a8538712441d01c64e8323673924c75c49d2297ede3be23ba23a781ae561b4aaa290386101c942b07656ee48603b2ec5ad30a282d998ee9e0ed8478d12dcf7068b3fdea96c8041d9017d3df021b0fccfab9e677d493393622ea27805b2bc2ba89c63b778a4401292b27236dbc982732201e4594e4a674941a3b0f607445c306a3d2986a518983919b05c17f8f1458657f24623b15a8a6a70906179fe9b8e88c2b05a4670fecf64e47c8ca10b96a7154962e27807a02fc81022b77999f4e30b391d8fb2c44c3d0e01be2374af9581d13
..Rejected legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 11.438
-There were 3 failures:
+Time: 11.934
+There were 2 failures:
1) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: direct buffers and output offset -1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
@@ -349,51 +349,14 @@ java.lang.AssertionError: ciphertext size:32 expected:<16> but was:<32>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 63, Failures: 3
+Tests run: 63, Failures: 2
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:54:28 --
+-- JVM shutdown starting at 2018-04-06 22:16:35 --
diff --git a/testlogs/SpongyCastleAllTests_1_50.txt b/testlogs/SpongyCastleAllTests_1_50.txt
index f75e878..8763f57 100755
--- a/testlogs/SpongyCastleAllTests_1_50.txt
+++ b/testlogs/SpongyCastleAllTests_1_50.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
+...testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
.E.....E.........E..
Provider:SC
AlgorithmParameterGenerator.1.2.840.113549.3.2
@@ -607,36 +607,37 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+..E.E......E..E..testDhiesBasic:8560818e80aedbdf4d5c7ad6e3fae61e963b5895281323ffb54aea874a05c567334a1c22f3cc9b82e9face0c0fe02332d5fca0af7970e94d078b6827875c64007cd4d64d96d3a5beba946c5b2c79c860d421ff1bd97dc16d5388dd1990f3fe6d5f459d2182b1768190fc3fe9ec3302bb266980e39bff26aa4e52182f4e440a6d0f885ad95c8e21354f5abe55dec3438524a7415dc7a93a5b6a08c1a06c7bb40af3dd327250ae506d95cfc328e73cf242d88db6fb807bfca0b63ef6feb4934883a53f85f003ad3c576c4878f34f7d97e61924867d538a29e2d101cc534f9e8c34d36d0051b85fccd7cdb436654b0ec19d266d48cfa9ae131c60e30bb71adb96827abbcdc6c2e476d3afde65bbf3fb9d664674e55b6d69bb219155bd7908bb86c3fca7612c
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E.E...testTiming: SHA1WITHDSA
-count:50000 cutoff:2160800 relative average:0.9965607085331655 sigmas:1.33203185738034
-count:25000 cutoff:512350 relative average:0.9201394659208899 sigmas:21.870707984769325
-count:12501 cutoff:499800 relative average:0.7750061524253848 sigmas:43.571613992775525
-count:6250 cutoff:494429 relative average:0.5774485116704964 sigmas:57.86024546636253
-count:3125 cutoff:490645 relative average:0.3956719283864245 sigmas:58.513813925125525
-count:1563 cutoff:487578 relative average:0.24880099262760905 sigmas:51.43930850378626
-count:782 cutoff:484840 relative average:0.1461965861594014 sigmas:41.35441587320306
-count:391 cutoff:481700 relative average:0.07406353200964079 sigmas:31.71247918487268
-count:196 cutoff:478491 relative average:0.03107954025590745 sigmas:23.495072506776687
-count:98 cutoff:475599 relative average:0.018484081939873328 sigmas:16.829492215666864
-count:49 cutoff:472855 relative average:0.011032648771885398 sigmas:11.990591895477365
-count:25 cutoff:470728 relative average:0.006031921387593197 sigmas:8.608016066291524
-count:13 cutoff:468114 relative average:0.003033874019543931 sigmas:6.226051461218954
+count:50000 cutoff:1003231 relative average:0.9940277312411319 sigmas:2.3130497442171323
+count:25000 cutoff:510159 relative average:0.9024501530835787 sigmas:26.715125818649852
+count:12500 cutoff:502027 relative average:0.7076250732536762 sigmas:56.61816110685626
+count:6250 cutoff:496451 relative average:0.6305670767737691 sigmas:50.586686384020226
+count:3125 cutoff:489428 relative average:0.7319140231934176 sigmas:25.957313088091038
+count:1563 cutoff:479820 relative average:0.7562438590333682 sigmas:16.691512118384917
+count:783 cutoff:474101 relative average:0.5547746800656286 sigmas:21.578505517401993
+count:391 cutoff:470521 relative average:0.37287778558988605 sigmas:21.478363644123228
+count:196 cutoff:467688 relative average:0.23250285116394323 sigmas:18.61081679027624
+count:98 cutoff:464893 relative average:0.14783185761660222 sigmas:14.611639867263095
+count:49 cutoff:462690 relative average:0.10544881943883838 sigmas:10.84585666291857
+count:25 cutoff:460422 relative average:0.08040990408803035 sigmas:7.963883841283343
+count:13 cutoff:457631 relative average:0.04592458691892797 sigmas:5.958199045012419
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104205b13dc5622df677a5bcea6dbe5ba202cb9a040e530135103f85bb52fa67642a0a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200043c8c37ae431ade0fc6a28e8a1616a7359f9ae62b49a6f25b5904ee1bb9ff3d555c85ef37f769038b4b0df25bb6ca276954b456324b11df39317c2cc2be53a510
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420a9de8e7d215c4428c4db39bf2c92f351fdaf1405a8d187ab0e5ff39cfd95ec28a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200045ee703fa7480e5c59f10044b9c7aecac0714329813b8a52dfbc6aee79cefc47a79cbec1fd7e3903acd225d4e500fa5079678ee857f7dea6fcf30d40e4beec0c0
...Generated shared secret with a modified order:ECDHC
-expected:3be7c5e1fe19c5546d43e03a5862a0985ec161d2a67621960b278232d96ee555 computed:6906970d3e439daa8cebba0ab281c265620dade9931efe90e6ff05bd0face478
+expected:a3deafec063979add736734985e846efcc7182656eb0bf0a97d8c63d0077cdfc computed:298ea95693425ed36a2b862893c7ffb93d5edd88c1701434f060d26f84c3478b
E..E.Generated shared secret with a modified order:ECDH
-expected:d11e0568e9b4910077f58b6bc7412d2606fe507cc594649b1d1f51de6a49ebbe computed:d11e0568e9b4910077f58b6bc7412d2606fe507cc594649b1d1f51de6a49ebbe
+expected:0ea49af6b2ea1293b844ba636e760cfb0b9bd6d5570c69740a62aff68d3e34b0 computed:0ea49af6b2ea1293b844ba636e760cfb0b9bd6d5570c69740a62aff68d3e34b0
Generated shared secret with a modified order:ECDH
-expected:8c228dd7fe768a80bac50bf354cc43a5f7950027c32399fb06ae7a5d9069d33c computed:8c228dd7fe768a80bac50bf354cc43a5f7950027c32399fb06ae7a5d9069d33c
+expected:446016f15f53f930280cb52e1c148cb994ff4495b02a3b2b66ad49de29564f76 computed:446016f15f53f930280cb52e1c148cb994ff4495b02a3b2b66ad49de29564f76
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -646,36 +647,39 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:21165216289227740290619742536278018060130807304271478127404687675662491239178
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104202ecb1680680554e282de6ef6146612cbab8e56e35ad77d0a75ce610af0a8c30aa00a06082a8648ce3d030107a14403420004a2f90ed74f27472aba7118bf19d7ca466194ba1280fdbdeed41be85c262650b85da7d1e432d65a502241b81a900d2b2218d0569de4683150ea0bd628342a2de4
+S:43203076717836900756319936346586270632540411146804848489922769876155466846284
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104205f84132ae77a6a4dd03ad7e57eefe140a1cdd20cfcadf19137d04d1c5d6d104ca00a06082a8648ce3d030107a144034200040830fba28f837d29b5503106a8cfa4f1ac6c634300b5e33b181a22ef7822b820d01d9ae03d7c05f2ef28339302975a217944ed4f5cad796ccbb40398771aedb8
Public key:
-X:73714728818792190191886188989216969807293089847601594866070795727771892338872
-Y:42361606995269877844613642845336946230666735792114755584284073678796036386276
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004a2f90ed74f27472aba7118bf19d7ca466194ba1280fdbdeed41be85c262650b85da7d1e432d65a502241b81a900d2b2218d0569de4683150ea0bd628342a2de4
-Signature:3045022100d8798ec0172ac7c845b1d4d284dc2a5d15c599a9e39cda415d45e1b1de9e268602207ab1fdd984c708dfd376bbb220c1d2a42c482449d77b8b3c06ec70e0e517edd5
-r:97914349015554510289527004419292854761210171669537727115680721221955471943302
-s:55496651463741538804668244670601972240447559178097900507136915026133594402261
-.SC curve:secp256r1 countLsb:512 countMsb:506
-SC curve:secp224r1 countLsb:520 countMsb:536
-SC curve:secp384r1 countLsb:507 countMsb:481
-SC curve:secp521r1 countLsb:511 countMsb:486
-SC curve:brainpoolP256r1 countLsb:491 countMsb:524
+X:3705048168733647176639323048517473255101496947199098299580004872771304863776
+Y:94133379984638511108447820422646800855474800488012415606831066622752013872568
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200040830fba28f837d29b5503106a8cfa4f1ac6c634300b5e33b181a22ef7822b820d01d9ae03d7c05f2ef28339302975a217944ed4f5cad796ccbb40398771aedb8
+Signature:3044022033062d8eb14dcb9122e7364c29631aa099f8ac8784930765850633bdce1c1bca02205fa6f186f018c3e43e9ea2c01e9703165be4b24c0f001a1965fd08286ce77996
+r:23078870785705567131299932123082898731777378162934738136662037155502677040074
+s:43264684186951086431666034941938002057962427912265109639433720523541348579734
+.SC curve:secp256r1 countLsb:527 countMsb:514
+SC curve:secp224r1 countLsb:491 countMsb:494
+SC curve:secp384r1 countLsb:510 countMsb:521
+SC curve:secp521r1 countLsb:533 countMsb:514
+SC curve:brainpoolP256r1 countLsb:482 countMsb:492
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:6087019 relative average:1.0015661437080206 sigmas:0.6065648498931315
-count:25000 cutoff:2173671 relative average:0.9890511530650001 sigmas:2.9984652224853754
-count:12500 cutoff:2093507 relative average:0.8797297736690344 sigmas:23.29022918122133
-count:6250 cutoff:2067200 relative average:0.8225251463381196 sigmas:24.301745185135058
-count:3125 cutoff:2046872 relative average:0.7781694633295816 sigmas:21.47864935511961
-count:1563 cutoff:2032363 relative average:0.6464721860423834 sigmas:24.20826719466104
-count:782 cutoff:2021538 relative average:0.505632236233349 sigmas:23.94496176250749
-count:391 cutoff:2012028 relative average:0.34904501898198353 sigmas:22.294614154929235
-count:196 cutoff:2003072 relative average:0.22399304632453096 sigmas:18.817168591097246
-count:98 cutoff:1994581 relative average:0.11417437435734433 sigmas:15.188745487343237
-count:49 cutoff:1985422 relative average:0.07588509231398344 sigmas:11.204297805008023
-count:25 cutoff:1978044 relative average:0.0627081998885063 sigmas:8.117185096553998
-count:13 cutoff:1970589 relative average:0.04095395807128655 sigmas:5.989240612216721
+count:50000 cutoff:3592353 relative average:1.0019525204901982 sigmas:0.7562079341666796
+count:25000 cutoff:2122935 relative average:0.8989545136440071 sigmas:27.672446105628882
+count:12500 cutoff:2097030 relative average:0.7901496673553353 sigmas:40.63734217644365
+count:6250 cutoff:2076548 relative average:0.7536326030355703 sigmas:33.73524518781198
+count:3125 cutoff:2053246 relative average:0.7979427014046941 sigmas:19.564113810981972
+count:1563 cutoff:2030106 relative average:0.7835446845505314 sigmas:14.822053329963984
+count:782 cutoff:2012394 relative average:0.7383877784008438 sigmas:12.671325078051145
+count:391 cutoff:1997731 relative average:0.6387899979507481 sigmas:12.371112994627175
+count:196 cutoff:1986377 relative average:0.6011079740749365 sigmas:9.672617578908083
+count:98 cutoff:1976045 relative average:0.4580277807251798 sigmas:9.292887743909754
+count:49 cutoff:1966661 relative average:0.2940365519645385 sigmas:8.559351921987512
+count:25 cutoff:1958122 relative average:0.26577390598788914 sigmas:6.358584495359096
+count:13 cutoff:1949885 relative average:0.11636886898065157 sigmas:5.5182746445383435
E..E.Skipping because of:java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC
-E.E.E.E.E.E..E.E.No implementation for:ECIESWithAES-CBC
+Skipping because of:java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC/NONE/PKCS7PADDING
+.044b666439b3b79e858565337db794213c6d3453df1840f5a009fa2d7f9925f69d007900a65842e143a92eb3467b12ec0dae2366f19726f223c2a015bb2babdc5edee5a665c9b0434287d6a61ed2346849dbb277e8ddbec3c22ecfab3043ce2dd4d3a356f60520bba0e7bb3c62b5ec5c9844be785e4e24da36941df84d
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.E.E.E.E...E.No implementation for:ECIESWithAES-CBC
..E..Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
@@ -685,98 +689,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:24455309787393884728997083411497716848241355285870714013221910345478265512227994558125045744775463819734783145707975458103100428523421012661470106970251983007258870330595783667817012702891332178633514762720565941187217701669605657298284178625841417743923070784087171704660214781686825366370806220119645998206538974877176760077988818113157836787641710741710080550617251845306906496035192171555198432039665172580317126461459884898005480370585608397054434022255411041423485491379948259146517107413064876192366689551290450859384896923035272838750279294649864536914688905388451974056406578883030562576571226342643152241143
+Modulus:22978165718898195333492636345076649397925273925863073634183628050391835477430846350414020723562357935828661827809539432525231639394234512612802740847001949169202105272137897295285397002654406097760273152562364629285724668370259016510584357333225836860516822361296253979427287862214061874450643672216320485415455933760006728374256929890888218336376487351494613915859988196435328302110900228451745793510154786673668239017756909824287673780917506319694501880487684615728030583704402667961473147345725731216353245162455525797760652789994031917389861980868219174165758009648800601286148580579768841261116165421283110130839
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100c1b92ebcf0cc3b3a9e4bfe00b287e1a697a83f7100fd9f5070f050cf3c2ba9ef47619ab78fda9e88c978ee0739e830e183f95186f2b599f1bbfff89a763dc0ca7d25e6d8600ed0859ac7adf6426eb559b913b7af022407bb7935425e64a845f44b336f6cb4d73c73615bd7fcd516769f5f959f622864187c6578a53a5d5d7f19b137eb2372bdd2d0a6e680d04498075918dad7fa60b04b0093e10a2e07702a0c7c2f18abb73269d82e0a9299972ac1a7161431f6ed3d7a2c05529b5c45d9216de3edf30a673958b386e6ac321cc9841f3b496efde9ac6c8a13cad4b066305ab10bf576ae6d8ebd4ea0929c6b48a94f8b9d667537bcd105c73a363d17f0a8c1f70203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100b605aa9a6625706eaaa2f08a5fc334bb2a64d0b71c1a493aacaa47fd78e8ab730487d5d156c01cf244a000270bed4bc435b998a4440c4d0c4ed85f8494c9af480c8ca14f7adcfec051fa77cf0d554c1af5c3df0cb5d7a331896dbb3d7b1689a8c244e1708b0d746150c26d3c62f4a8ab3ff170d3d82acea9008df6f76454d83ab06a6e132eabe824690a94c3c5dd9a65a442291298f505d8a8098defb3f2c6f8c7ebf26bc7c49424ec205dc9ddfb3bd144f6c762f3db00d8a7ee1424ac3626d8bbb4d9c15ff309f78e4f7ee730f6d337aefae1b187cbb93467ce0ae7d896abad0fed085d22019d96835cce9d155d3902747d99359b2681fb8dffcd004d8194970203010001
Private key:
-D:23567952620077366458622255995648020178190575682443633769642837412607561705400123720899946048709485014428935848448510337036082212568636766081538527642921479389588522379878528169975047763887783222764456091958256012320421789519670166612788660418229673364487804257933101571549422545990176592071863986092386310034131813253238060775047776264321192917645553793275614124650709412735383222288841523469570186569600897069669514130249355967278357255063384977251289686618087331063473992068848730488627715724989539630040108801823907303779492875988993255660075112118492662863526947307542397321951701758971978383453634546045712028809
-encoded:308204c0020100300d06092a864886f70d0101010500048204aa308204a60201000282010100c1b92ebcf0cc3b3a9e4bfe00b287e1a697a83f7100fd9f5070f050cf3c2ba9ef47619ab78fda9e88c978ee0739e830e183f95186f2b599f1bbfff89a763dc0ca7d25e6d8600ed0859ac7adf6426eb559b913b7af022407bb7935425e64a845f44b336f6cb4d73c73615bd7fcd516769f5f959f622864187c6578a53a5d5d7f19b137eb2372bdd2d0a6e680d04498075918dad7fa60b04b0093e10a2e07702a0c7c2f18abb73269d82e0a9299972ac1a7161431f6ed3d7a2c05529b5c45d9216de3edf30a673958b386e6ac321cc9841f3b496efde9ac6c8a13cad4b066305ab10bf576ae6d8ebd4ea0929c6b48a94f8b9d667537bcd105c73a363d17f0a8c1f702030100010282010100bab1b39844dc1e0c8cf7a16f9c9e9559ce7847c3a8f7c36c6b9b3dd5aa204e621a41b7304643a35b2207182600a9834a22bcc8d42bddd5e18093dc4b47be95a8cf591292de68088f69ae1c39e2a5fcc1de3a616018c90e669f1633c2f270b5120cd32203fa781f7af68de3a676d972327f949b88a67268a2a1cbd6385c3839bea189e0d0578adfe245524fff2a3b09a11dbd05834a1ef90205e536d8732062adee1617e0eba2425cb8475048febcec508bbc68e9b68428f452060d98349c8d44957a1cd96cfa8682adc717549be482aff03a5ac2b070e0984e1661fd52654f3c85bd27acc8a1e00ce575a9c7245c51e8179f4d7f2161c99cd19a5af40f9f548902818100fb525ba0c2297eeba98245fb6d539b88bdf452b048cb68f378f6689bb6ba06b32c5d17dad98d3b586a4cc67aa50e8c923469036bf361157894d3a925940aa258e12963bbea56185d9c3cc314b31fcf33b563a8208f49ad08a8d2e0cc16b71e8b20d0dcdb48ad63c2ca88e680e1cb3e8ce923d8de30b986dee359c9cc6f3ac82302818100c55458d3b9a654a0a6a63b5a334dcaf8c1aa947ad3c3005334ead088b481ecbbe359d2f828fc8ecdff82bb1dbef23933ab7e3231c20719c641389e9a167b87da4ffff9a979e6909d1b638fce7872e03a3068b59b0e9da55854ca564405ca72969229bb0aa0bfd5ab933ad3bb72c20234fbb8bf24287cbbed4ec739a8f065f21d028181008f6322b1ea75205bb61f846bf9a91cf0fc677c11e5c65fffa140fcd7f27dda3ab991f77d3e680cb6da17299a69b78e4e1026e5f3de2cc2c2442f2aaf2cf29043a35b28f2dab4fa3bd65af87643e85f20425a345f374132bee10b478449657ac0a81d62149e3786d66915886579edaaa75c90be37ae96fb3309857dd3ec961dff02818100aea451e140c376ce9fef2b444f77a015bcc14d9bcf631c1c880ef1f4ab5cf9b9e8230d56585ffdbb4f51d26d271b9588a7548ef3feb6ee16ca8e63c017f9c8686cb92daad29a3e8eed389683b39267e4d80734034152408e06acf4e04b07bb968b51a79a665ea1aab229344f07e7b0b057c0505a9e02970815dab8ab4de7cbf902818100d01e55b1af1e293ad65f58211c54f902bae669d362ec15b89b9eb3499369e0cbd7cc0fd0753e2e218dd3104deba83b28d9d806914f122bd51cddc73da361a5f148266ff008593ea41af74ae73225cd0615dd4da592ab6e7f7f27b2225f0d5e0ba2223a1acdf882d566fa21a7106b5c9b1be8943d00ff9ecf721e80a9bb0f2425
-Signature:9c237d27581f29823147a7d7e7ee0f10764f55062aea36f58dc444d1fc8981a6727a3ee2bc926da3b97a1750b7889349ff6ab3b3384e0a3956c459bee2b4b41654d15551b6585719fd5c689c4cf0f49aa0c2e5e755715de09c616ede2df627df8505543c01718440f742ff07c1e71a584645a15cb74e9f297f68723dd7e7d43a956a04abfbfc7ce95325784b52dde945bf9565d31f5fb128c460c249ca61dce315a630c07280120786a95fa7be87476b97c93d6fc5e089e7b19f4753ecceed22094a561eae530672d517850dea1650d90f84a6679aaea7af6089b86ce41e0425dfd1d14ee86147089d5a2b52c095dae4fd38c844ef191cdf8b5d20c0e66b55cb
+D:4694015329426263623980338059231978609631560299059383704082433012476095844665519797051175815906325404654990685425242442019741538187741453756812229648285122838660264970678886262558263195928058788727200466400734511144502828328135674703506467735435364815121217293636178773464951552547749521265013923182814267646337691184515025206541545603447336731325629406519662793053254402818802071469579056771437153657216133113409382620732090589190736566656813793958106138618217551401110167880128069470860896704268214607777144534570555853862819266244130434169657016344231397116295697378684111959040439689557042783274145454089823657473
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100b605aa9a6625706eaaa2f08a5fc334bb2a64d0b71c1a493aacaa47fd78e8ab730487d5d156c01cf244a000270bed4bc435b998a4440c4d0c4ed85f8494c9af480c8ca14f7adcfec051fa77cf0d554c1af5c3df0cb5d7a331896dbb3d7b1689a8c244e1708b0d746150c26d3c62f4a8ab3ff170d3d82acea9008df6f76454d83ab06a6e132eabe824690a94c3c5dd9a65a442291298f505d8a8098defb3f2c6f8c7ebf26bc7c49424ec205dc9ddfb3bd144f6c762f3db00d8a7ee1424ac3626d8bbb4d9c15ff309f78e4f7ee730f6d337aefae1b187cbb93467ce0ae7d896abad0fed085d22019d96835cce9d155d3902747d99359b2681fb8dffcd004d819497020301000102820100252f0b26f76ef684e4fedc3ca84b6c5e3fced084578d5720515d87cf53ffd3e66f2a80977f2d47bc86205967a09c1d3a3bef6a2b446b6ee1f0c96ad9debb44bf6730e353253a3820799ebd12e31a65adac3f1335b9800faa72f4a3a76f99af0d768233bb95ec6db5e39594531db3f530e6a31ff566d777d83670c9dec7f43d278736c72b4cc1f3fcb10dbf72253ca5511898dbf90c11180a67e21fb2cc798f4db0882a52a8e13e0d4bda1951d99ef630dd94cd2fa64c51dca67babc6aa3e69c095bf372c4781c383f027978d501d0842ff354a9c0837748fb0d09876e3ea504cdef6e919f7a5a38af45160032b1c3c9c5d48fdbd6e59b53ab40e2353e1791e0102818100f4b0391015e10a61770fc9eb5233295aa63dee9c2c5012bfcd21427218308f7cb0834ca1d0008a4a686b09ae4796ecb6937838e27a6693a071471e79aeb64f93fe2ae4b13be99767aac45bf1d06e206684dc3b2cb6234d7cbed826c4651e4faddd5a46a184f85da9bd011d98adaf6faa7a1771b22fee2386f4f3d43ec5a93a5702818100be6fd114c4404236cd5f5cc89b27e82cea660b2854bd58c1d0a5e9a59b85b860f1214ec51683e306c3827153988497013a4bf23b439be3fc03181dc753fc21a1e9103ff3f1498fd2e5b1b0f9f900c665a280fa2b6dc6c56035b0a58185a6a127fa96e2c219b76cbc0e3fc482c6fe06ac9cc0f65cde321ae8fc4f5e36ff9a8fc102818100d78e1ed6e2cf5b1bbd8d752e0f3deee262ad1075183c7a27e987b1475db3f9d3b8941280420317d0b0e80aa13383eb8873a567476cd8cc987cf25010962f192fa0ab1cc85da54cb210a7e6efc1d4224aee242d251857453dedc9f16cf63f9ba5e8e84c6ca1fd4255f3a0f5f7b89a625ee62b9d07825de182546c30c013d51f050281802c7f11fa69349e84118e93ae67da763c7074716cf607dc02454f4efd9c0e2d9bb11bd83ce2dae4240370aa2c1f39f3d29c9d7c36eec03110046511282eee7da9483cbcc4b1ff3f34c6e8b2f2658511d65397115d2e6440600f8b7bd07cbb0772c0f19a8041e402eb19e53a74582ca8c0924be004a9024a196042e73fb08f9bc10281802b51122d0eafb0c0e910455a7bc08814b7686e1ce8896cded96d65833dcac71eda3d7148d94effe2e7a5d4719a48820dde98702891ddf95f11649983512d25048d4e6001a3c4a4d54b25b7345feba91f2d70cb4d72eb5737c578d4acc1ca0b952414ec24d37a217f85269d96f1924271c35c5b9b33091d530dcba58ddcf7297e
+Signature:6260d6e6b2095e72f3812bd67d11e994ac8109847877e77c49d8c656f2b18dec5772d41dd3fcda241719143723256af47cbc0fe428f5ee9e5fa058ac1839bbee5567c3e304decc00fa50492836fa9518d7e47c02b15ff47579faa009ec98c8cfcd2da7932bd8fa2952dd64f3c8e38033fd6acccc242fa3bf4cd2c053646980d818e52d26591681e649ac15acf3a6d0c1bb4b208d603cb929125be56e7f4ad1f4a29976ae3a056c607e34d47ba452c05d10de88e077f5d5cf22c5f4f920b2195562e8a0e3c168602c2a85b129c6703bfbd3ee954411a63742f80c4fe4c7aaf1635e0895a8c167a277a1e77da99c9c62c9d9f3ca6a00b36aba9b9a95afc650ae2a
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 198.52
-There were 38 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 171.433
+There were 27 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -818,7 +742,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -860,7 +784,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+3) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -896,8 +820,8 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:5f843c0efc0e51d3a2897134dda475d6 pt: 5f843c0efc0e51d3a2897134dda475d6
+4) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:7e2c7ed62d796f7d54a32986008c8565 pt: 7e2c7ed62d796f7d54a32986008c8565
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
@@ -933,8 +857,8 @@ java.lang.AssertionError: this should fail; decrypted:5f843c0efc0e51d3a2897134dd
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:847bca4cafd36b7ea037d2ad5c8fc1f1 pt: 847bca4cafd36b7ea037d2ad5c8fc1f1
+5) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:ded6f2f8c733fb921b39bc8153cdb73b pt: ded6f2f8c733fb921b39bc8153cdb73b
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
@@ -970,118 +894,7 @@ java.lang.AssertionError: this should fail; decrypted:847bca4cafd36b7ea037d2ad5c
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:fcd2c472c6016af61eabb2ae54c38d2b96a9d83d81727caa1d773f5a628dd57a944fade89ee46199645cb85948006d43 pt: fcd2c472c6016af61eabb2ae54c38d2b96a9d83d81727caa1d773f5a628dd57a944fade89ee46199645cb85948006d43e0690ffd3749883a86b12d5fdda4bcd6a4
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:74ea713dadf0df04e49b8fa0361c7fed pt: 74ea713dadf0df04e49b8fa0361c7fed
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+6) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1117,136 +930,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+7) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:a01151d5ac7ea997b3b5a4dabaac1b05340535ce010062b874c5616475aea9c7f9ecd9db9eb31b0f3383aadc3cd416f4a32ebebbcd57052717451c98d0e07fece499952e731aa3920f28b237432b7e22d610ea72e853d55682628825bc0066a9a381a0e40eae717a455ea6e18e2aa88dac29488238abef6de12c3ca021fbe74ed72ec21238cf82b688af6f5dbbd8f2cc66b83bc8bf6240a53ac8cd81ad5de6f81b6fa13d0afcc5f87ecadf81d6600440b61349f2c5ea4c69e3f71dfbd56c133a525e3d1fa6327093a53a894c76335465c792038a5765c904cb2a0a2fce6f8faf0a7295a5725293de850f7575c0bd25c5706e6a7c15086a063ff5d4a648e8aa09f0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127df0702d782f760dbcd41b1414a0e0127db26a3c752aaf210dea4f54cdbc20950fe8473b6004a26afc38dfec2881b542e66952c524
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1279,15 +968,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+8) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:2c5e5e44da53d4c8ad071383112dc88527094b1c8e84954224d1531ddce63afb5c6d26b323730456120d8d180368cd17746dbc7511254e3705d882ab09aede213d2538c82c52e1c5f7c257996712ac8272dba957944b1400d5555cd81ced9b27190307a1a8ca78a9dfcb78cfb950fe2e0e5d2b6e83b4540e33c6313b1f2d4ec0dc77c75ee75ecb973e92751686f96d7181cd8441306d5d1e559812a6a1c3017adf3218a2b9924c6ca3821559f406153698fe3d17d8545cf920f7507c1521df9edf59f6cb299373b652f958b33a75b1a442335bfcd96ff978ff88b5a12665854b095b66b6253f2605962bef3c89043ff8ec3e0c230505ace5c0c542448439b019df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154df8aa8f77c056154b5b09b75ad69acad11cd862dacc8f6f780956a71c4f0fc25ca1b5120
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1320,7 +1006,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+9) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1361,7 +1047,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+10) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.security.InvalidParameterException: strength must be from 512 - 1024 and a multiple of 64
at org.spongycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi.initialize(KeyPairGeneratorSpi.java:39)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
@@ -1399,7 +1085,7 @@ java.security.InvalidParameterException: strength must be from 512 - 1024 and a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+11) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1435,7 +1121,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testBiasSha1WithDSA(com.google.security.wycheproof.DsaTest)
+12) testBiasSha1WithDSA(com.google.security.wycheproof.DsaTest)
java.security.InvalidParameterException: strength must be from 512 - 1024 and a multiple of 64
at org.spongycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi.initialize(KeyPairGeneratorSpi.java:39)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
@@ -1472,7 +1158,7 @@ java.security.InvalidParameterException: strength must be from 512 - 1024 and a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+13) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1508,8 +1194,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[3be7c5e1fe19c5546d43e03a5862a0985ec161d2a67621960b278232d96ee555]> but was:<[6906970d3e439daa8cebba0ab281c265620dade9931efe90e6ff05bd0face478]>
+14) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[a3deafec063979add736734985e846efcc7182656eb0bf0a97d8c63d0077cdfc]> but was:<[298ea95693425ed36a2b862893c7ffb93d5edd88c1701434f060d26f84c3478b]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1545,8 +1231,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[3be7c5e1fe19c5546d43e03a
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[7e4ce887536ecf2e872ae3d19f99290e95b6cfc52fe810cb4c3f8bf8f731d5f6]> but was:<[f23c402e33e5eadfe6552e59aed6c53d0e8198d6ba13ecfe617e4c35e4bc3d45]>
+15) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[8a49164b3826dce7306f0da435261bbb06e95e0a03a31f31337428f842954682]> but was:<[cd6c92fd0f378aba10b648005e3c030252929c3d6587413382160af69f85fa89]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1582,8 +1268,8 @@ org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expec
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[36fca65a3202bc6cb8220c00cc579bc79780e304cf931567380c06173c753b6b]> but was:<[0e1b9c9324efd54c01223a9e71ce74283967b25a336d59f502176749a5f8f62a]>
+16) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expected:<[0ef7200319abe723fe87683a119760a91d1ee350653657a6ab32a019fd1b6cca]> but was:<[2734fce29f661a1ac8c0125d2f9b060b48b7ab2633e66318dcff0156129f9d5f]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublicSpec(EcdhTest.java:2000)
at com.google.security.wycheproof.EcdhTest.testModifiedPublicSpec(EcdhTest.java:2016)
@@ -1619,7 +1305,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:public point not on curve expec
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+17) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1656,7 +1342,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+18) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1697,7 +1383,7 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testTimingAll(com.google.security.wycheproof.EcdsaTest)
+19) testTimingAll(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.EcdsaTest.testTiming(EcdsaTest.java:905)
@@ -1734,10 +1420,10 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testModifyPoint(com.google.security.wycheproof.EciesTest)
+20) testModifyPoint(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:226)
+ at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1770,89 +1456,7 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:333)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testEciesBasic(com.google.security.wycheproof.EciesTest)
+21) testEciesBasic(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:88)
@@ -1888,10 +1492,10 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testValidNames(com.google.security.wycheproof.EciesTest)
+22) testValidNames(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWITHAES-CBC/NONE/NOPADDING
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testValidNames(EciesTest.java:136)
+ at com.google.security.wycheproof.EciesTest.testValidNames(EciesTest.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1924,51 +1528,10 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testByteBuffer(com.google.security.wycheproof.EciesTest)
+23) testByteBuffer(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESwithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:358)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2001,15 +1564,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+24) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:042378945ccbdd0c5b26bb1f54c35a95bc19c49897450cc2d6a9225fb2e09150b4418753dc0c4afc5fcd83782636a35cd699c819a462f4ddbd686fe6f6c115c6cffa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484dfa6a1971af23484d056eaa96db3fd04d9e0301165864f9ae976cf0d8918421bc781acf77
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2042,15 +1602,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+25) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0409589d2a2ad3805c35e05f1517f04b14ce190fb9d6a60048ea2975f141d55af4a48aeaac2f93f5e3054260d0ce000b580a3906597f07b4f7699702b568f44d59535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde457535d051d860d2e8c76099c0c42cde45725101d2ffdfdfe09018e6c50fe54ce8cf62783cb8cfee8de31a52735554d65e9e498ec36
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2083,10 +1640,10 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+26) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIESWithAES-CBC
at javax.crypto.Cipher.getInstance(Cipher.java:540)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:386)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2119,7 +1676,7 @@ java.security.NoSuchAlgorithmException: Cannot find any provider supporting ECIE
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-38) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+27) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2158,12 +1715,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 90, Failures: 38
+Tests run: 90, Failures: 27
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:55:33 --
+-- JVM shutdown starting at 2018-04-06 22:11:05 --
diff --git a/testlogs/SpongyCastleAllTests_1_51.txt b/testlogs/SpongyCastleAllTests_1_51.txt
index a3fa293..5d4845a 100755
--- a/testlogs/SpongyCastleAllTests_1_51.txt
+++ b/testlogs/SpongyCastleAllTests_1_51.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
+...testDefaultTagSizeAlgorithmParameterGenerator:java.security.NoSuchAlgorithmException: GCM AlgorithmParameterGenerator not available
.E.....E.........E..
Provider:SC
AlgorithmParameterGenerator.1.2.840.113549.3.2
@@ -625,40 +625,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:2f68d63122f642547885f1c37d8a4ed5f0db8fb6384f22971035b2830aea07906ed65f046a232aa2fa998bf89e839fa31d522522314cf869f24f8d5b046c268cabb899e3a482526cb1d12f21f46f275491ff093588140948082e0aa3e976d782c53bacff51c024dd875ce23d81afcf90ec7f71115a866dae4bea167e678b379c9ccbf856132b311cefbfe85c1b14faef4265610e01db697b2f2265fdd6e8d5ae6ab06ee35ef40e68b91b5d1090cfe2bd5373b61da0a9ef850ecbecebf01d7ad54249496052aa3b319513d84bc114886f657965fd156d58e7d56b4a2853a1a9e1ce145ed7d546f545ab190a7d73dd58d89f31ac53daf600c70ce5ce4f308866fbc1b6aa403ed0cb50e3d07c5bf9f00355198b623dda2adef9dbcd749e44b78a4ea63810f5
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:1442700 relative average:0.9992940126104897 sigmas:0.2734277402205895
-count:25000 cutoff:502096 relative average:0.9361647875171927 sigmas:17.481992919984467
-count:12500 cutoff:482153 relative average:0.8919041232491123 sigmas:20.93267652249388
-count:6250 cutoff:473808 relative average:0.7233099503474363 sigmas:37.887345407983396
-count:3125 cutoff:469340 relative average:0.5324444895669084 sigmas:45.2708676333718
-count:1563 cutoff:465943 relative average:0.35846391826893204 sigmas:43.93000004074221
-count:782 cutoff:462891 relative average:0.2285210558344185 sigmas:37.366987033855324
-count:391 cutoff:460064 relative average:0.13977408048191778 sigmas:29.461952855375802
-count:196 cutoff:457352 relative average:0.06334425029075058 sigmas:22.712694867771123
-count:98 cutoff:454316 relative average:0.029398230620978728 sigmas:16.642353548947813
-count:49 cutoff:451613 relative average:0.012407552424759907 sigmas:11.973922074601331
-count:25 cutoff:448784 relative average:0.007476071404757228 sigmas:8.595509360274125
-count:13 cutoff:446467 relative average:0.006229920961670575 sigmas:6.206092154462585
+count:50000 cutoff:2649748 relative average:0.9989703147351917 sigmas:0.39879538824375865
+count:25004 cutoff:511946 relative average:0.9341234222726377 sigmas:18.042487042037948
+count:12500 cutoff:499521 relative average:0.76891839576085 sigmas:44.74876024165607
+count:6250 cutoff:494245 relative average:0.6217220830385246 sigmas:51.79783703146654
+count:3125 cutoff:489117 relative average:0.6120460821426355 sigmas:37.56347657393732
+count:1563 cutoff:481610 relative average:0.7454300789135964 sigmas:17.431999480873277
+count:782 cutoff:473214 relative average:0.7416517023721549 sigmas:12.51323520970434
+count:391 cutoff:468567 relative average:0.5954116539039972 sigmas:13.85678169892013
+count:196 cutoff:465714 relative average:0.40593372573814 sigmas:14.40534158118564
+count:98 cutoff:462610 relative average:0.23777559790132888 sigmas:13.069425982478151
+count:49 cutoff:460134 relative average:0.17159165999662798 sigmas:10.043917340097435
+count:25 cutoff:457098 relative average:0.1254586320656239 sigmas:7.5737504129156346
+count:13 cutoff:455523 relative average:0.049079407201732435 sigmas:5.938497198661
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201010482015530820151020101042040e4aa13a0908c07bc417b76e42b0620c07aa6791ced828ee9b6f03d34a02921a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200045c5303dabd781afbab92e49a8f120527eb6c5ceff3ec9a6644723fc31ef26019180f3dd23d0da67cb743a411c54165473e4674038ed1bd83fbb14dd1d00a026c
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420af1c15b158acf753ea84fc5c75a14087dae95cd42eff592a7ca7b1b3a7c41e71a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004c5e1dc2bd8f0c3c7fff56ffa2185be200df438ad56b84c7c8e20b3f5d2e11faed09661334e363e27b4f6927f350c9849f49bd3f00c64bcb83e3b45f33809f0c0
...Generated shared secret with a modified order:ECDHC
-expected:09d256a9dd5d58dc5b158c24bbf250dce8f046bca172296664df1588d85377fc computed:5e5a391bd585a2ddabf6d51440252bb15d045bbea812695428168cfef72561de
+expected:897b6a4ad3d1e44eb0d2ab2ba18959157d3fbbf5ae5841ce8bb231cd324c1110 computed:b49dd61ae2b99dfe32a6a22fea2e6eee234626a41fabcb48e664a1027c7b602a
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:64d5b40c2abb4f532eb1f98034236dd0072605a30d45ea3d87abe80dd425f211 computed:64d5b40c2abb4f532eb1f98034236dd0072605a30d45ea3d87abe80dd425f211
+expected:92363e080dfda8a3b53cf3b4c82c1d7d504114f469790f2eadeee642590b1bd6 computed:92363e080dfda8a3b53cf3b4c82c1d7d504114f469790f2eadeee642590b1bd6
Generated shared secret with a modified order:ECDH
-expected:3f0d8eb3bc1f923f133e33b5371b094965b3ff2755fb1b50d992352ea574a521 computed:3f0d8eb3bc1f923f133e33b5371b094965b3ff2755fb1b50d992352ea574a521
+expected:8d759ae0dfe127f249e0d7883f5e38398cd81d54f1ba5acd4ea40d7b2ab7008b computed:8d759ae0dfe127f249e0d7883f5e38398cd81d54f1ba5acd4ea40d7b2ab7008b
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -668,35 +669,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:60029207935404252215372609472487012281051621660974849972908773009288808352763
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d03010704793077020101042084b753e0f2eeca87dc1e3c36431dfcb9b8e52fc0f9c7ee4387408a05e2afcbfba00a06082a8648ce3d030107a1440342000469ab5ec139f41dac43ca6d92256670fc4c36c69e5b975cf8b5dd1f8bb5bb0b3a1f4e02210554208c7823b699d386fe49bc5cb0d628824546907f8c036f43e234
+S:9094444072748246649444402021602785984926626648446504359414807756617899791665
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420141b45deeacdfc563db26f775f3063e5d0edf018e9c831ef86e0d29850fb5531a00a06082a8648ce3d030107a14403420004542dc9bb0011232a2158c46c30a2ff1c314675f594b4b36c1b3ce0af08f69851afd85b6ae028816930c980bc5fc584ecd7b6ae2f9a7d8f61d3960fd1569a1fe8
Public key:
-X:47795633922849603658258639109307626413375185524046843823407061476675923151674
-Y:14159527070866074972183236858235735459684349214413921283191474685963592262196
-encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000469ab5ec139f41dac43ca6d92256670fc4c36c69e5b975cf8b5dd1f8bb5bb0b3a1f4e02210554208c7823b699d386fe49bc5cb0d628824546907f8c036f43e234
-Signature:30440220081a9feb487bfd2934e985a07f118d5550d087489963b16f889cde6504583dbe02203786cc13f53fcb0eba7a730d01c4078b027889aaf1cc37ac9b975744d8b73712
-r:3665544533240466658855829344999169332358743208571792842873895430395788803518
-s:25115372673081441268020947124756150755688813996875729386534828915960258705170
-.SC curve:secp256r1 countLsb:514 countMsb:502
-SC curve:secp224r1 countLsb:528 countMsb:514
-SC curve:secp384r1 countLsb:468 countMsb:536
-SC curve:secp521r1 countLsb:510 countMsb:504
-SC curve:brainpoolP256r1 countLsb:527 countMsb:533
+X:38075179691442185480337490770226634475160125840787894380124466580894724298833
+Y:79537018408342269974423865313444348549408990344774910652362258604627605463016
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004542dc9bb0011232a2158c46c30a2ff1c314675f594b4b36c1b3ce0af08f69851afd85b6ae028816930c980bc5fc584ecd7b6ae2f9a7d8f61d3960fd1569a1fe8
+Signature:304402207b9b513b27967cad1d06f0af293bb553ad1d629fc29c04915cfeb9e16db75fb1022055457351985d264c9c99790ac400dfa5b6c8372878b98e1d89935543b7520724
+r:55908902307042444881499919428524840384000251628004914790732501905902547722161
+s:38569300477678700343634812304070908737546225943888477482972902600371701155620
+.SC curve:secp256r1 countLsb:504 countMsb:541
+SC curve:secp224r1 countLsb:507 countMsb:502
+SC curve:secp384r1 countLsb:548 countMsb:523
+SC curve:secp521r1 countLsb:526 countMsb:514
+SC curve:brainpoolP256r1 countLsb:505 countMsb:520
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1771670 relative average:1.0033387230667357 sigmas:1.2930818835065685
-count:25001 cutoff:161055 relative average:1.0031736680872798 sigmas:0.8691621834408926
-count:12500 cutoff:138588 relative average:1.000366803014808 sigmas:0.07103109838450014
-count:6250 cutoff:136620 relative average:0.9839907540992668 sigmas:2.1921562771196634
-count:3125 cutoff:135480 relative average:0.9598524432685757 sigmas:3.8872704652930934
-count:1564 cutoff:134617 relative average:0.9511731496658734 sigmas:3.3445501466089933
-count:784 cutoff:133837 relative average:0.9412381901889609 sigmas:2.849796323847734
-count:391 cutoff:133115 relative average:0.9299775296930789 sigmas:2.398205718045788
-count:197 cutoff:132491 relative average:0.9427089466143495 sigmas:1.3927736699263595
-count:98 cutoff:131855 relative average:0.8602939458942499 sigmas:2.395459825757226
-count:49 cutoff:131319 relative average:0.7837801211291079 sigmas:2.6215267106754143
-count:25 cutoff:131013 relative average:0.7627604226078927 sigmas:2.054555008046494
-count:13 cutoff:130374 relative average:0.7909012792471007 sigmas:1.3058210925695213
-..E.E.E.E..E.E..E.E.E..E..Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:2153875 relative average:0.9993313231691722 sigmas:0.2589774229791077
+count:25004 cutoff:151526 relative average:0.9885319122879633 sigmas:3.140916408829085
+count:12504 cutoff:148681 relative average:0.986926101849549 sigmas:2.5321545378526795
+count:6250 cutoff:146764 relative average:0.9840340588058398 sigmas:2.186226535960624
+count:3126 cutoff:145338 relative average:0.9703751017291201 sigmas:2.8688773511458288
+count:1563 cutoff:143977 relative average:0.9888714167784313 sigmas:0.7620439057110697
+count:782 cutoff:142401 relative average:1.03123876696358 sigmas:1.5130660517822128
+count:391 cutoff:140736 relative average:1.0282695900389311 sigmas:0.9682076650682487
+count:196 cutoff:139417 relative average:1.0397695318712452 sigmas:0.9643598971191726
+count:98 cutoff:138448 relative average:1.0031912365752718 sigmas:0.054718308805459845
+count:49 cutoff:137376 relative average:0.9265021838800244 sigmas:0.8911136623560686
+count:25 cutoff:136493 relative average:0.779643239836243 sigmas:1.908345521974484
+count:13 cutoff:135999 relative average:0.7927182675903063 sigmas:1.2944740040030898
+....04ab97362d6809b1677f33eab2b05a4f60b5e64907c94bc51bcb676062f156329981220716114d7d04371eb7ca974a93a678b9cad3d408d1dd65caf8e9c56bdc55198e7a89b4fc65caa77ba3070941c2080847258c84aa944532edaebd246b321f05353d581f671befd3e668edecafcd0885aa77b563267340a511edd5
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:04d0fb0b8d816677274a10f66b1a71b4157bccea1ee3144ce975f9117c4ed7ebc4e319eaea4625dc12b63ba749078d6f5ca6df58c02fd65788575ea0347db6defef0e26168c4369b720194b05c2b3f4115b68e31eaf873a62f9c5e4aa84f298f0eba8d0596
+..E.E...E.04b205695a81dd1c64aae70c6460197d74628b7d1f1d86c69b574e5c8d6ec38db902d709cf2034bd7e3574f2eb59e2279bbfb969b5e92d17d12a8c8850c6fe21d6b5622b57227da82002207c2a812e760cd545f72462332cd18acc39945cf804deb9d0ad95160580d12a211c261746fa3730c7967a2fa251e4a3320434e0bd24c483a6fad5
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E..Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -705,98 +712,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:17389861460887756275146108160673303324613866984509301774910043538939770113230327790634087793732560657184062650234241790747382801739889488433468217170761382277127199715396858001336288234763579494703417710709642705096997146109239142357632456192932071554982062522436451247600542458750613449072779298955068343719727597700836101293266315123526289535517061422306880090727644206275120513095318390910838251077437241718202772814816705154728383344921171725887376167539709822649958816705432750567171308920273660872531641601910804039314064338219191218058338528390603427108773812506419179014394055752842180621952407290933655769939
+Modulus:23958713946156173867691737373131641927113572830280104221492646724425820349637100563709949813947655663291993851119168949238730297455630845274580516696783691160794663937010073662099058791157222223372553938557589173946473243407537510130406910066686641134387557941936004359573312737601845608374071557183011334802670419159415710017373967750262093877733388307396520634541212211584484507408418929024255142624835963070657057143205127643934948957250909588843568084541818887692911733280279217839121878847314478539450207771637227946159366600714388003928998071288692174545792412867752224940666785091760495721584312638646492009033
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010089c115b7b629a5c7756b8fbdbd023ba8061d63b1fc5f683d72de164ce7c91e157363cbf3abe92914bc1480c486a41d2abb2f7f12968fc17b877ad96270b99695099d562a1794bc0fb33325b87a232d4facd81a998fe29d86b001fc3b33b66fd87b9f17b44be804e6ff1adf4bc64f9a336a66a7df9b838903e51c2ea9f841ae867b245bc1e62015a2577d01e95a6466e9a3ac2cf30d1057183bb84c1e3f6bda0d3d7fe5b3d21c5b7bfa2a1306be3cadfc95eb72ea1fba0920c8d3cf7fd021fb629d9d237a23518f91ed49e9efd17ccef09895538300a5b0f6e066ebbf58eef8951712dabb6e5bc5e6c16bc12b059dddb63d79c8b91083efb7704a165006ca13530203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100bdca216e2d6b5eedd0fb2d44e2933d8406406b64f519563de051a585ad450fa695973fd14f5100d5dfc161691f30e37c1e9bc8c138069abd0ca1ff419bd1804c0fa5383248eb580f9ea7c0930fa6065e9504855d08c423ae98bb9aae1854b46c4ead5b0054cdb81e99c06d690d7309fd9b258ee5a046e629acff9df900c5dac6643cee5c337845492b84555a2ae587a2710765fe9a3b123ba9b0a6489f4064eb72716fe31d452f0843fe0a9279cc0a70fe5d1898cca3a94911dc7d18f1be4daf3b8d72d762c3c1e286351b2bece7fe3cfdc2d1ae49a76c0544964928c7b02ccbc472a2ee067387a5077a884741f50cc7c11448de1866622f60038928f6f712490203010001
Private key:
-D:10461990290673702708644899103697560210001610501933758798558878139880025878884376216932737438870979776179154098805799553314735326716211647618212381808883222918695869972361678399632073065905647379604900338707291950753992454289868027295676220803132974003537433222982809707346906145591332942765789434963462390041822748418548990416897424215859344597127514071291287011539005608361468358445283339094643056594007082131253960441329932558462468955594349545678329763864237348051723644610518398488893813992708365633552428235066020667888076947440794747558727479081464752006965014632266886597818696630963929891052407471643101307393
-encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a4020100028201010089c115b7b629a5c7756b8fbdbd023ba8061d63b1fc5f683d72de164ce7c91e157363cbf3abe92914bc1480c486a41d2abb2f7f12968fc17b877ad96270b99695099d562a1794bc0fb33325b87a232d4facd81a998fe29d86b001fc3b33b66fd87b9f17b44be804e6ff1adf4bc64f9a336a66a7df9b838903e51c2ea9f841ae867b245bc1e62015a2577d01e95a6466e9a3ac2cf30d1057183bb84c1e3f6bda0d3d7fe5b3d21c5b7bfa2a1306be3cadfc95eb72ea1fba0920c8d3cf7fd021fb629d9d237a23518f91ed49e9efd17ccef09895538300a5b0f6e066ebbf58eef8951712dabb6e5bc5e6c16bc12b059dddb63d79c8b91083efb7704a165006ca135302030100010282010052dffb34df3f07218c9efd876522e6c91b84aae9f5af6083378c2d566f4c2bf133cea27122c7cf934de3f7e4442c8fef9955e5d945038f9fc5ce3ee25e770904f917d332d7a4ffcf623c2f416119b0b4f283c0dd0a178835f3c5fdfd900afe16fba8a7162d64952e73e3b2db5f9f9c61ba6db02972e21b98604a2838d1c6923c2a2c213a1c7af1c7e497cadef83289601813ea83794320f63d6546e9ed5b3202acc7cfe424046e7d95d58643e8c9fa00e549678c0d89a92f4b5dca4a76599369514beb68f9bc44915fabb8f56d87920c3afbb98d1eef014cfe14e959d4d47528f1c6ca66201b410eb05f0b8ffc025276942ffac2f8d81bf03be7f0343f49220102818100d5237ab3d0da3e8ca40a6aaf728ebd8b4a967254e1e449691f96be8944ca4a19ee7d7d9741bf47356f166e2b28e9da3865191d102066564ce5be1b734ee3784d582a8ffc6c1c4c849ac03c9f53dc4787391573cb3672326e56049aa2d255467eabb906a696d0cb8fc1e0959d56cf550dc8295a12a1d0ca692ac533bb54aac89302818100a574c4722a6ec1a3d3b4c4f1a21e1c8f809cff43a2428e63ac750c8fadda35c3ff21980e1934008cd880d3ba0f746a82fb2cfefe66f7b7572b39ec3285d743ab0b2f8a15683892410e4dc86bcbe5faac874312475b46ca1c31224d116bfda588c73d48e510769531d2e9dcbc906119ad2af7ab38e33d48501dd56bf13c34024102818100bd5379c056ca367ba98f933aebf0bd90089e614ae3296cc853860d145425b8f315f524e582428dd77a291b8d7d17557f78d67909852e4284a6235bb0eea7828a79c1bd0b056191daccb7ec61bf1551f85d0da04127c902e11dc9932f04d538fc763fb217b2aa1fd83fe8e61dd029f5ac7b5bb8260ad533a77d9594a157d128bf0281800d7b42367b36a318923b7c80a3d1084ab91411c895040f4e17d341bec34fb069d3f40ccbb949ff717a82a4bdd85c88013c2e2268e042f6f1675844e2a8fd2d4a5692fd115978a29222743c0c6c84c4b4222158efef84091bdaf50c8a8ade140add11254b64d804b816936fa4fdaeabc4ec6759d03cd3d57c91b1be25ddddef0102818100bbad2936f4993c5fdac6edb83af49d194efd4df59e529062c477898472e3566a942b2604ec58dbcfa3bef3e78c58c741bafaf56b4e1c6bee76daf57e8da90be02cc622d2de53a31dc2e2e7e58ac34a3b1c7dfecc0293f4497f73f88c529df0c7e30098aa30988628c5533f9f00cc0940091111f2bbf5ee02a0267c5a57ef086c
-Signature:62d12ee8d6d2b31b2fb804232dc16a3303c3f0fc0cab5e84f548674410c4b6ec2a9aa0b4f0f510719cd07836a967a9faff981d331d3320be45218d4f8f2110cd4374003b9f14d09cdc2d9b58a55a45b2dd6c9dffd305b5fe5532ddfe4c72a49b4b977518dc74a664a255ec3c94df2bcdccaf00d0102eb4fea49b681f1214770d10e36cd4b5e1b2730a617c0ebc80a0afa129b38688eacc35cb402563607d897253c42740b5cc1c43d614fc04f0375b496251c9ed577df61f273d0fb80d1cc9b7e76bfb903f059b4c85f313c60ebccebe8932eda3623aeddcf3f3517f530614894f7d119efb8a980449b6a7e8552871607243babff8467f74d4276fa68b30aff5
+D:22042733358216467942175274984365251409695896781582452113144035077833578952373752469436427269813812745073074160353409691674908555707229770155425283957905754645944658082395584197169916976236566690273761574061498036716306066565465030605963273408623185587363354954712197977704692995200282020881685438941465911519342502660593986014559256195654988937775232549076968862386970929745958240429889299461906472218534080003172402397094782000818559994988382488723698320501488864964361516287914832302156866290735457190941864765343875236026049523137529864425975175924504609436616853385892521088730013028634800353359041215505161406593
+encoded:308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100bdca216e2d6b5eedd0fb2d44e2933d8406406b64f519563de051a585ad450fa695973fd14f5100d5dfc161691f30e37c1e9bc8c138069abd0ca1ff419bd1804c0fa5383248eb580f9ea7c0930fa6065e9504855d08c423ae98bb9aae1854b46c4ead5b0054cdb81e99c06d690d7309fd9b258ee5a046e629acff9df900c5dac6643cee5c337845492b84555a2ae587a2710765fe9a3b123ba9b0a6489f4064eb72716fe31d452f0843fe0a9279cc0a70fe5d1898cca3a94911dc7d18f1be4daf3b8d72d762c3c1e286351b2bece7fe3cfdc2d1ae49a76c0544964928c7b02ccbc472a2ee067387a5077a884741f50cc7c11448de1866622f60038928f6f7124902030100010282010100ae9cb17534c47c6a40c3573af15a9656498a2b448f5be844b58568cc3c4635c8060949e5c11bbdb108545ad2e4a78e243be50826fcecd6a0e86682fa51e9c628349cc5bf3de788f595fab0ea9c931b79199137420936abbd8f37cb7031627d3cc886261b7fea65638201d0a7be8000c91b5ccac3e95a5198365a57752888e065e16a40081ff2ad5e7bc10ea67534e711d05e39a09792212e4178cd4bd8e0bf8fb31d509b43535cf16eae43423ea3086d2f49a16d0c88c65c2e320df90d493514844d717bf8f66a1972cd0f3ffcf50cf2fea497ef7716c11b7a52bd5dafc84af1e0ad466366dd155cd220c31181f625d205a31f25725f88279d5db73f003e488102818100dce18af02f63a183e653be6b8a4e118a28139e3701eca22ddada4026ff2662ef0ce5abd15550b8aad46bca40048edf75d5b80280d9f57102b6885b3d3fa06efd63bee7627f1e3364dadc587d75a69910f8947a97e67832ab229ee6f9d1938fce0f3594e0e98af1407ef70fa7dab13394ac19bcdffeca7a2838d7bd888a69df8d02818100dbf714d0a816e49285490031b17e0968ec0e43e546a42151d4838717a5afba1cc9e4bd8baae2d53eb7237259fd856ac493b5c2ade1ac45801cf998857a1046073a211ffb9efde3794d07b59e023021eb66efadebb2550fa1f4a9dffda7ba33ecfb3edbea3531278535e2965544ca8ebef034b5bbeda2dbcdcb9c56a0e6d700ad02818037cd6f5980cf6de5b1d1e460acdf4e45161ce6b2c4f4b0805f33165403d001dc9ce88540ec89e92d975ee808c65e060c7202fbf6eb99bb8450f32001d84a42e0174c0a8ef2c8817970658ca19d908a492453f6a8db9bf0491605091b821c028faf7dfcefd970b5c4728f1e506ccaa9da5ca45ff843198a45111f480defd2119d02818100b8188901414d37ac3185317665b8b8a369bd5eb1cb779eb3600b5ccb3bce6113ab1d984e068da62fc11317a79d79462c93fb719e19dc16a6ec99313fb5335d88baebf25aa36c962f757ad854103cbc86ca361af7c2df52201826fce2ccb818b1646ded9c8d3c40794aea032c0651093b60ca9cb756621158a1ea8cce49a4f45902818100c640c88cd8fa99ecda7907e315af91eaa6a5b3cdee0838a2f3afb57328523e4daf13849a2fe860744df406ffea8076d7f7ba41d133189a274604e010968d8be675b128d152054b0f7b0faa08b0bcf21e9ce4bbc48bb9283b8ff2b6fcc64dd42a1946ec84525fdf62d818fd522b95ab6fef9dae4ae669e7844c897c6b1dfb225e
+Signature:73c5b5d04bcdb7773c2d7c1f5fe84b1bfbf7f61fcd8eadbc81eb8c414599e77620a1857127d9dc58f804c687808a923e6b5f609b0c92470dfa4f57410fac15bd481f719d0f23c221d90f8459a07ddef92abeb4b76616b1c9373a05ef5d331270ad3db07f13c51575dc16811f9a5c93ccaa184e749d4358c9f94fb0eccee760a5355b20ecd5b615043d8570e43425ce9a0f6ce31e0415e676b30d8ec0475b57cb7ff0312608e535d10d7f51e0530900f9d550a3492876c19fea0d544b5dc48a25fffe52d72cf44003bb0ca039d307c205c41d174c8d16ab33d4241e5995df17a7fe03fd6fc18546bf0e0063fafb4297c818a3e5a9e05000a2681cf56e4668cb4d
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 133.609
-There were 36 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 82.411
+There were 21 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -838,7 +765,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -880,7 +807,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+3) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -916,192 +843,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:2a7f49d6ebb6497637c9a9ba54ed680b pt: 2a7f49d6ebb6497637c9a9ba54ed680b
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:5edfb0ae9a08d0d86f035cdce3f474db pt: 5edfb0ae9a08d0d86f035cdce3f474db
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:40bf4821abc3e94f63a224971752801a pt: 40bf4821abc3e94f63a224971752801a
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:6b35e8060d4976ee78540e201c50117d pt: 6b35e8060d4976ee78540e201c50117d
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+4) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1137,136 +879,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+5) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:35b6159fcb0971f0e2c49c37d27b0d60b59b3d7f297bdb2a78951af552956b0684c0fece97a1977db70c18cbba18c881eb06cfe4770e4fec251ede9e70ed686f0423f12e8235a1546cb2e3728532f560274b69ff9fc0081f8ba97428334b2db3f7bc3bb495dca883ee293638adbb0b09d7a7090d88d67ccc498f70de7d03bba85fdca6c99db5e78833f57ffbf6277ca0207e65d2d61d6dd7e35f2d165e242e4a30306c85143b8e5d93849b99cbd1e6e04d41d7baae73e0ef1bad1aa6d605bee53c0e85ee05c658a36fd150a784a19d8d2aada8086a36b6601dd380c45ae41130b74e321a2ca7edb7d2a5e00386e38e644e39262d1af79eecb0371163cb583a7ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622ab9254bd0d446e0b2086ab9190e0a622a4c47b4eda425c2bc166d5f957a7b6491bbfca7e8629f15ec2f5bf103595e7d338e3e3811
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1299,15 +917,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+6) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:a7d6f48f14d7138634c978dd6c838e74fe22176f6a20a240bf991e4d6e526504aad77da1d07f81402daaf097a2e7187f6f6fd6ddc49255af97675ac7a822a7b1753a1e63d260b0622d37d1e1db1ef28d0debf4b2f55a71cff8c935d66597dca4de2faac7bcfdd888fefa3dd055b0f5e58807dc5267765506580f81c9f9598bcc975b3f3c21b916a797cb0fd263e711d04520a95e08a12c81605b9c1fa8946bebd7133e8bb75eebe7e5fa893af10c27708fcb2d2e1a28a784b6dfb803a75ce8828aa1cb8087bdd42085546102fac17438b3ffcd6166d4403f35f576aea99c629d5f9c5288614d9368893849a04ac4daf220478aa377fbe54e69c8aec511e5dc19c76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aec76b739d7e0359aed22171644d9ed92959ae56eee2f2a8eb42dd73e20f6ad04428d39ba3
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1340,7 +955,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+7) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1381,7 +996,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+8) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1419,7 +1034,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+9) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1455,7 +1070,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testTiming(com.google.security.wycheproof.DsaTest)
+10) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1491,8 +1106,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[09d256a9dd5d58dc5b158c24bbf250dce8f046bca172296664df1588d85377fc]> but was:<[5e5a391bd585a2ddabf6d51440252bb15d045bbea812695428168cfef72561de]>
+11) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[897b6a4ad3d1e44eb0d2ab2ba18959157d3fbbf5ae5841ce8bb231cd324c1110]> but was:<[b49dd61ae2b99dfe32a6a22fea2e6eee234626a41fabcb48e664a1027c7b602a]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1528,8 +1143,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[09d256a9dd5d58dc5b158c24
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[0967da2f2bf25c09d5f82caa6c6b05a86202dcba7018c7d2c2e5e7859d24e2f6]> but was:<[80d3464650b783eb8fb79869551de661153d6d3c9c8a0001e621f9abe6c5dfc0]>
+12) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[2c6d96a31900a98686c0d23b892beb841419d9c69371ac2afa1a9633e91cab4f]> but was:<[0f40dd59ac86dc8bfc3c8f1d78bb9e097389cf688f2bef94aff92aeafa0ff048]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1565,7 +1180,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[0967d
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+13) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.spongycastle.math.ec.ECAlgorithms.validatePoint(ECAlgorithms.java:193)
at org.spongycastle.math.ec.AbstractECMultiplier.multiply(AbstractECMultiplier.java:22)
@@ -1607,7 +1222,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testEncode(com.google.security.wycheproof.EcdhTest)
+14) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1644,7 +1259,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+15) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1685,55 +1300,13 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+16) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.spongycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.spongycastle.jce.interfaces.ECKey
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(IESCipher.java:158)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1766,177 +1339,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+17) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04a57d0e5629dfbf18cbbd85c74357df748ef79543f229d6594c64b35ea386690e329e94dd1dbcd76bb2fee6d1755d18512ad8b94c1f36d66f4d1d40aff6182bd7fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a5941fb64949acf3a594136fc74fd47f9e21d676f40890251a438536cdebb44cf02d603af33d5
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1969,15 +1377,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+18) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04c9d7e77da74a45e28731f996078e8e99b8bd798f51e3223443802638d3279e170d13596313c1a6111c6f8f23e5933f0b0e2a12719798008ad11c122daa72bda5d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec7d55e0eb1c12d2c9c942a9ae75afc3ec751a3c0da5e37002854c983177498606ac5b867f2fa37adb6de2222355fcd5ca3429a4887
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2010,15 +1415,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+19) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2051,14 +1456,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+20) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.spongycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.spongycastle.jce.interfaces.ECKey
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(IESCipher.java:158)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2091,7 +1495,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+21) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2130,12 +1534,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 90, Failures: 36
+Tests run: 90, Failures: 21
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:52:02 --
+-- JVM shutdown starting at 2018-04-06 22:15:02 --
diff --git a/testlogs/SpongyCastleAllTests_1_52.txt b/testlogs/SpongyCastleAllTests_1_52.txt
index f6bc8bd..c2e5f34 100755
--- a/testlogs/SpongyCastleAllTests_1_52.txt
+++ b/testlogs/SpongyCastleAllTests_1_52.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:SC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -642,40 +642,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:bc28ad2ea42a20bfe2a31e538b87b9f6e88a26cf7c0e197b4000583f9b737d62e96f8d46798c0620a37ee982d05ecc5765360e01f6db639226b9b9830ba71e8956f0e2a9623ec4e19fd61f7dd7e9c72aafb101a004a2b525448fb4b0cb69d95a874ae7f462aeba400a36edd98b4a2a34580b4063dac31af6c2c9f779d7cd38495ad459c4340642c2f4915ac5cb75d72b9337b0649aab86576dacbcbff893f755b5830e6089c65575b093b3acbfa96bfd8cc3c30e376c23f093e4796965d9db18091210a7999a7aef42ece072ebeeff7dab69a0426b964f02dceabe87be8231ae58d1760adf32cbd24a07bbab0f0ca81ba1f39cb0614dca8c80e2cb2bd4fdcd400e3335a4300cefb810c3ee8c7a9facc4c7cd1e688201b4f51faaa20a56671cd768a7d655
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:2013816 relative average:1.0005211706886208 sigmas:0.20184853975599024
-count:25000 cutoff:497621 relative average:0.9248162864891436 sigmas:20.58990792345098
-count:12500 cutoff:487012 relative average:0.7503492237371477 sigmas:48.344664941689025
-count:6250 cutoff:482130 relative average:0.5564468145509515 sigmas:60.73602128092902
-count:3125 cutoff:478587 relative average:0.3771581393135834 sigmas:60.3064038439833
-count:1563 cutoff:475381 relative average:0.23637339744449837 sigmas:52.29030390754789
-count:782 cutoff:472458 relative average:0.140241904318251 sigmas:41.64283400934501
-count:391 cutoff:469587 relative average:0.08941683691066368 sigmas:31.186642500689118
-count:196 cutoff:466840 relative average:0.04637788002453554 sigmas:23.124107482266673
-count:98 cutoff:464134 relative average:0.022288610764084463 sigmas:16.764258135349664
-count:49 cutoff:461781 relative average:0.015167401476362457 sigmas:11.940460683151155
-count:25 cutoff:458945 relative average:0.009494423514997748 sigmas:8.578029918261622
-count:13 cutoff:455426 relative average:0.0019926700637027035 sigmas:6.232553777839106
+count:50000 cutoff:1071862 relative average:1.00032625147371 sigmas:0.12635665243541538
+count:25001 cutoff:526688 relative average:0.9208327166710407 sigmas:21.6812870605697
+count:12500 cutoff:513393 relative average:0.8488801537510271 sigmas:29.26423239018487
+count:6250 cutoff:506851 relative average:0.695520161471051 sigmas:41.692618966958996
+count:3125 cutoff:501354 relative average:0.6635165770952098 sigmas:32.57986732962798
+count:1563 cutoff:492931 relative average:0.7950963273764886 sigmas:14.031039879176241
+count:782 cutoff:484058 relative average:0.7557025200866109 sigmas:11.832676488922903
+count:391 cutoff:479517 relative average:0.579911499708474 sigmas:14.387647837451963
+count:196 cutoff:476490 relative average:0.3857267496326727 sigmas:14.895334711133637
+count:98 cutoff:473822 relative average:0.24883151744578907 sigmas:12.879856451829813
+count:49 cutoff:469964 relative average:0.1399928629053618 sigmas:10.427032394238365
+count:25 cutoff:467494 relative average:0.06799337839067345 sigmas:8.071414108089876
+count:13 cutoff:464728 relative average:0.054468876100412955 sigmas:5.904839976176309
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104203ed8d0d7fe5eabdc36b61e6100fcd6a53e7ac480504c34057c0e794e0687898ba081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200040346fc3d1ef758b4a9c7baf90f93bca1e65ec1cac0b3ff7493ddee8a120b87b63b5a9b7aa39eb724c48ede11435d077d5c22eea9e87221b9995ef2b76db52ee5
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201010482015530820151020101042025b7c30f1f9e5e4a37dda65924037bb00a2192dbb45622319f06a84a48b6de1ca081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a1440342000479206a89e0db8f97898b03c001ad3470c11c250b99e9517180a54643e7412f563ee69031ac0c146b6f408061f5df762816c3f2234e5950e8b1a444a2073e9d0b
...Generated shared secret with a modified order:ECDHC
-expected:56723be7006616e4b2c6086424ea2efb25b5310beaa58e65dd27a1bb9514debd computed:c0ab5447843f5069b1623449b359e6ae7ae752be51504cbab3f3c845de51fe99
+expected:d18ef7ac5de7a481ff860c0008577fcbe09a359fa1ffac910b203d10b25335ef computed:ddd8a15d4911ef5b60064d1b8403cf4e273a19e52e19df193b6f64ea6a9229df
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:247188352f52ea97bed130bef7468ed597b092ebd73cf8e9049e1517b6de6f09 computed:247188352f52ea97bed130bef7468ed597b092ebd73cf8e9049e1517b6de6f09
+expected:3258c3bf7776a3bfab880718111e15160e3a7de863cffd0af0a153e216e44cc1 computed:3258c3bf7776a3bfab880718111e15160e3a7de863cffd0af0a153e216e44cc1
Generated shared secret with a modified order:ECDH
-expected:44a59c01090b0823fcf8df4a96dccb82a07b31ed592d7e9ca91f583710dc7238 computed:44a59c01090b0823fcf8df4a96dccb82a07b31ed592d7e9ca91f583710dc7238
+expected:1d4fa27b17409cf0975d1f6ae7fd63507ca201f2fdc1a1cd611b52de3d650adc computed:1d4fa27b17409cf0975d1f6ae7fd63507ca201f2fdc1a1cd611b52de3d650adc
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -685,35 +686,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:108972129689722840667836410611095294820977576015456777557628724903229376323469
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420f0ec0a28fc7c6750ff08c550b75f6770ab7374d96f74f5edda112ee627f25f8da00a06082a8648ce3d030107a1440342000484d63aa58260833a58dc5c344ea2c2cf58f7f8154308c661104174141888077f92bfd738cdd2069176c201f2fd1de121d6dad1c79af248dc067c8a992f56981c
+S:2070262542191720157518475257764846863378246913815126843297091463825448222501
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104200493ba218ce3f01a301ba91f1a0e8464361874792d5296efc260ace4bb87bf25a00a06082a8648ce3d030107a1440342000460eaa6c01c2a10dbae419dca74307044caafc708bdf3c09a6c532a197b74817653f6f6e524a304915feceb127009f83c3bc858eb18bba80722fa83f249076b05
Public key:
-X:60083806048263352345787553975015487647903199479787263326148442493903878752127
-Y:66376629089426556777139401778429803339047642124206495693459806290982422878236
-encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000484d63aa58260833a58dc5c344ea2c2cf58f7f8154308c661104174141888077f92bfd738cdd2069176c201f2fd1de121d6dad1c79af248dc067c8a992f56981c
-Signature:304402203477ec28662572e26ef0a64188970d756896122d767a07f54f1e265a7f2d27550220393f191bbe0e3d7a4145b5341049b0971be7156570177dd77e0fb4feb0da35b4
-r:23732152828331448469343028831689006638024878659328103489566900264437237491541
-s:25893317025919645600809258453378712278542036769743922405585774193481164142004
-.SC curve:secp256r1 countLsb:502 countMsb:536
-SC curve:secp224r1 countLsb:492 countMsb:509
-SC curve:secp384r1 countLsb:525 countMsb:490
-SC curve:secp521r1 countLsb:515 countMsb:517
-SC curve:brainpoolP256r1 countLsb:510 countMsb:518
+X:43836626546321091598011380208949534719483990864730772997232041479568731963766
+Y:37978314817633994187314530426258626091615508811464088050772464637754399484677
+encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000460eaa6c01c2a10dbae419dca74307044caafc708bdf3c09a6c532a197b74817653f6f6e524a304915feceb127009f83c3bc858eb18bba80722fa83f249076b05
+Signature:3046022100ed967ad9606eaef5a7c2353ee3e07518d9212b65c85d5f8d38c2a7b868702168022100851a1897cdfe73424b650591eddad6792b4b1b4c6a1d57b4692810900d6ebf6a
+r:107464020047469139439117101911542302625991646765195333600170368019173651521896
+s:60203716619816631904955381256465359062312822551226124410941087018239302483818
+.SC curve:secp256r1 countLsb:554 countMsb:542
+SC curve:secp224r1 countLsb:504 countMsb:550
+SC curve:secp384r1 countLsb:490 countMsb:534
+SC curve:secp521r1 countLsb:509 countMsb:497
+SC curve:brainpoolP256r1 countLsb:527 countMsb:498
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1349021 relative average:1.0008522393849575 sigmas:0.33007089449220883
-count:25000 cutoff:141710 relative average:1.0002607858250687 sigmas:0.071419139533895
-count:12501 cutoff:136303 relative average:0.9879947272322085 sigmas:2.3249040653999122
-count:6254 cutoff:134982 relative average:0.9866090843899195 sigmas:1.834213302994258
-count:3126 cutoff:134027 relative average:0.9684979253506026 sigmas:3.0506632512084217
-count:1563 cutoff:133238 relative average:0.9607263173693625 sigmas:2.689315423863007
-count:782 cutoff:132509 relative average:0.968013965074055 sigmas:1.5492603672222829
-count:391 cutoff:131852 relative average:0.9721180940476727 sigmas:0.9549298388331353
-count:196 cutoff:131204 relative average:1.0113283216786593 sigmas:0.27469720196690317
-count:98 cutoff:130707 relative average:0.9961816676865307 sigmas:0.06547076085466334
-count:49 cutoff:130145 relative average:0.9820143269659918 sigmas:0.2180646965225656
-count:25 cutoff:129557 relative average:1.0056098939874312 sigmas:0.04858310705653051
-count:13 cutoff:128770 relative average:0.9033315043626859 sigmas:0.6036945617632102
-..E.E.E.E..E.E..E.E.E..E..Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:2182237 relative average:1.001366211631821 sigmas:0.5291314897436976
+count:25000 cutoff:147981 relative average:0.9922424577430902 sigmas:2.1244904424545186
+count:12503 cutoff:145650 relative average:0.9880661985174798 sigmas:2.311248019786708
+count:6250 cutoff:142814 relative average:0.9955975961085377 sigmas:0.6028239796505982
+count:3125 cutoff:139553 relative average:0.9950818974821837 sigmas:0.47619322866108493
+count:1563 cutoff:138163 relative average:0.985577682826308 sigmas:0.9875865318725444
+count:782 cutoff:137217 relative average:0.9539019324672295 sigmas:2.232784063401621
+count:391 cutoff:136373 relative average:0.941717067314949 sigmas:1.9961372658963699
+count:196 cutoff:135629 relative average:0.9352712244134591 sigmas:1.569589392386579
+count:98 cutoff:134895 relative average:0.9562182684474272 sigmas:0.7507003165151961
+count:49 cutoff:134282 relative average:0.8885773154305528 sigmas:1.3509282555300228
+count:25 cutoff:133733 relative average:0.9636349123897053 sigmas:0.3149308968136194
+count:13 cutoff:133203 relative average:1.0369482604433717 sigmas:0.23074181251315928
+....043071178eafe379354af2893d0cde816f06142ed8b9cdbc2081b5c5fcfb959a94d925dee399d18dd5cd5acf2dff642833b5b5f8cdd634b36bccb18555ba572e393f6dcc39082009d9b1c596dac609cfc61df419b7ba724dfec64fcaf784a4464b6e2c0c302b4ed3fc93ff6efb9a9f206b4d96346680adca072885171e
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:0447d588aa47cf58c2d2dadfa2e5b131604dc76c61a7e8aa86992e869b1f56eade123555939288ba5f2f43a598abb25bc62056b683af18d9eb5509bf6ec7c91a957eefef97f70f416aac4fdf8df59caa05938b13de5c4d57792f152978d2185b960a20d3bf
+..E.E...E.04796cc9a43e03aa821a66dd4ef5d462475a342689be59a5d86d826ac4cb2c4453f887f9864118ac8f857d1e7781eac8c4f52dc1ac1b617437eec82524fc2888294da9bf7a3a098b5e9504fd82c6cdad3375af85c89c3e1ecf359f97196f8891af8f31e201190aa676bd88668876aeacbbfc39826ae61d4651992bac0ec2496a556909efef
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E..Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -722,98 +729,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:18671285101361454617793239269871934235031593846066486180636775991866348355452273977380944022124213556443224099465899184429391805683711102048318032455918775894572809176846862825826208518631714135798078123340227823918210509801014006248428513953864923111288629700994358350909804735343779215618545589870051882667521913694184308857335269038819776474811836434089918858271117191442940835779244997303224474501411062631500516504390891983126320442318780124266851022628295027808201832846253699122709824369899164860438571917779188026901185407943730007852984668994815540150115929693634939564799866374727537688435560904821178810403
+Modulus:18637806897651975934113786550241185423872583707438613613360346719727655647432935053746715001141245002596952790148069260210589122084408524165222289613490166042547235061066579355210171343386660979661823623236414103382215762875820466899957422918386388615729107988957218530333148888875293085562447827169216431120437389078645871393159172114175050189878932439430949563796798176639089551946812871165393687180835067528936136210986129390140577546713817704505499602320021094594915733186409307800039389634793174075410101528018052231740113287279578838874917371092196805563520527312148847844427379998741493606720328616912327127651
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010093e7b28c244c4451c25e487bfd19e536c9df99657ff9f1e86ae41f127fc0f524e76c2f3af0c5bce34d70b15b2c6b0a467dc3eae546f886388560a9d833bc44bf65a87e4faf5b97cf7cab5f6114180645209c717b56e515fdc361f0782238d2e88992031d560429e9d849de60c0a14463bc31347274bd29c3c951648030c86264cedac0d14c80b25d9f1189a9328be5f1a4fd7e2038233742fbe30df2f528bcd95d7b644a0108b61b87664cf71e51adc0e488ff28d2a72f8d1d91d532a7d6d857f7bccacd194a716dd8d5f635dc3aa8b154a316987f9d6f40b9231ebafe1ee78a0d9016ffcff5249e7af5df7a3941e486d25f437e37c5b43de6505b6d5916c0230203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010093a3ce8057ea213a61a1be9723f6160d1a96cf69fc2f006134a9c87e46fc56eee4bc1fc3f78084fd87b3c24547bea84d4d1b078c207597ab24a26613a638e05694f90f3dc9d7b283909ddc7d4663de91776db8fc0c0969815a98e4cd7e0d39a569e2ff9e1884be030f63b4d54bbda0ed7407e7737792e73be7b956cab9e3a1ffc1febc5b27f19f857620ec06ca9a0451f7d2fe22f415761bcec268cf3412925f89a9de3d854d9492aa9c2f3f62661f50533ac37a2ba4460f06b4d630a58356566cbd7e3d41be00c16e219a99a81e348c1e42db13add76ac1f943c3c430407c39705ab3d6c2f4095ead83f14561d57362ff46726b90b4ad96a4d125a11371b2630203010001
Private key:
-D:9181940698106082379066150547457200794373151625263237302832638867233174254968511497581678210614481570877651853177387808642062781411726583577448492729630685388500954681486756214253824165692380104103579044465450089828036170718477812645995431225401110928997684462721015232486566318497866248686545093854187743205864151873965829054693529113316283628584901467207384660730320379214426369930952272082192570716026238859812139421549568789594209780760906420983380760020957777138301079754541491326840583198035754311756455871812456536634369535379219308101107460562551316954377612096970522383057194758548045984107895960097885838193
-encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a4020100028201010093e7b28c244c4451c25e487bfd19e536c9df99657ff9f1e86ae41f127fc0f524e76c2f3af0c5bce34d70b15b2c6b0a467dc3eae546f886388560a9d833bc44bf65a87e4faf5b97cf7cab5f6114180645209c717b56e515fdc361f0782238d2e88992031d560429e9d849de60c0a14463bc31347274bd29c3c951648030c86264cedac0d14c80b25d9f1189a9328be5f1a4fd7e2038233742fbe30df2f528bcd95d7b644a0108b61b87664cf71e51adc0e488ff28d2a72f8d1d91d532a7d6d857f7bccacd194a716dd8d5f635dc3aa8b154a316987f9d6f40b9231ebafe1ee78a0d9016ffcff5249e7af5df7a3941e486d25f437e37c5b43de6505b6d5916c02302030100010282010048bc27b4fd60b83450d696e4ca9a427b88193ad18c76f93ce7dc195fba8dc4c08a424c93bab63366c0bd8baa9f9460303c46edac2513b0c5f8e9897cf62c3eceb50a805b658c3082ebf746e771bf42ce19f47566475c4f4d451953ed703eeb91499e11840ab9ef76bd53ce555c45b2612dba30e59c7d2e1dc7520c8f71ee095c73a05ef3a5dcb38002b7b4d2e4c3edee1eba7c6bc336093d95616079ab375f01a745792c5c7d47d1f1a5f7ea808ced88a317f155c2febfb63b752372f214ed05f4ae367e01054429204d684e20e55d5889852578f5fdcaaafbbcd040a078284148fb4eabbbb85c4c2468f58d6a2c1fcec71e18973bdc1a76a22b5a006234db7102818100d5493bdf8e3d5fc7ba1d387070dd324f37a63d8bef1b35526c2a19afce2a9a79738c0f10921f1b3f5fddd04574590a52799ec53d587b90f9a74e94c2854d2f32e2e0cccc7e3f42a903fcf23c555b5d3a00561877935e5dffa0d2f474917d6e80e004b3c23503ddad41c2a77979c6463dc66d10627279040c136936767155f03b02818100b1868168d20fffbd9dc9329075d19930fa4b972c6e71f52f9e012caa931d595f7576a00ad14a96a1e74e34233118c89fe80e05cc9773e78cc9d25f4be8ef5b2af6369b3a3cb35ea19787be88088e6656af19fb56f6e25b8a5c03a81f7b3341784f093bddb8651cae41cb341376d8ac2bb692f49fff31ce5953fcbd900413993902818100a6386bcbff2b7fb0c5302ea31aa298a9ba21f9c74bb235ad2594edede04bbd95b76248ff4e11a6078eebec7ba4801c1648a85ee93f4315aa2b2487b4cd7468bb4cab8b9037378ff8ee9dbc1f1f1a941e36d2e240967e2ddda1f5a6040ebae55ad4bb75687e2ea41d79a97d21a3b0cd5f297c280fc14ce4c5907f27adc90803af02818100904d5d73ef0cc23d47bcfc352110370df0e6f10354e39d020fd5b49112f490695ffa052dc5e2737f379e0213791d44377751aeb517874778d1b5077194eebb94b87ebabf240849abe0989eefc4c4bbbb4aaa3bfbfcc312d5ece5ac0bab0186fe5c808d01359a3b2e0a9d3abf77a3b88fefe094a859b00aa3e1f957bd7112dd410281802f2aeee6aea289ff31343409b26d55be55751c26d6510c03fdc52e5d40f78ff84c1aa17c7c69501b1282b96a693e708207fa0fce99c38ac88272f232ade24f316cca9b9d2dd6bd3a4518fdfe2abde190631da4cd0d741720c3524b01f8e44ace9ba72d87caa26ea1e4d509082fc99ecfb9bf1fdaede05a50593ef76da0bb7978
-Signature:3d96d3890a12bf27fdc175b6feaf324750e5c1fc1a8b8e15f1baebdb5949adcbd0c9006e60484a5a031e2658b8ec0366ae3ba911a5c0997764683e58da0f419498d37401f65515bde8d690ee69b8dc36a40aac368e8684c2d017cce37d1fb8e2e517a145bedecb1ca3ebf586d21e124aaf7f7c757c097c06cd389015814480fae05c6c9c4a54f07ad766c952719e444fd33f00203b48b33ab4be18d3ea8a2eaaf39e49b07bbc343f4f564f4f7b333d71d89a9c973c14228ae72d1fa69f0ec750b0dcc2c9ca3f434ebf0cf90d8b633dbc9d6e4880fab6e9a74707d417a6b91f8a16c8f9909642b5aca9d3262dc006e84d09712198a1903316f269e9d5f13336c3
+D:8648179009683027727183121732652310126187730145462994033634254600407678231204290019140906712005512314096973226549930363046889775280938450338959821583933288819351838170911617531958150518827354935250561612259019376594186205487796212802351423332592735062702323480540595625485314520205344503592688686150050683894047091799471119005911911865857024460205033381406514860600353107987465823338217021289208551936592858695549837010502078931077771525844245036677057557722708065983378944330665655993752523540653412261065669130943406350625220487816301721458455719270127013750248707610554952616424406748766473841764969650139203096433
+encoded:308204be020100300d06092a864886f70d0101010500048204a8308204a4020100028201010093a3ce8057ea213a61a1be9723f6160d1a96cf69fc2f006134a9c87e46fc56eee4bc1fc3f78084fd87b3c24547bea84d4d1b078c207597ab24a26613a638e05694f90f3dc9d7b283909ddc7d4663de91776db8fc0c0969815a98e4cd7e0d39a569e2ff9e1884be030f63b4d54bbda0ed7407e7737792e73be7b956cab9e3a1ffc1febc5b27f19f857620ec06ca9a0451f7d2fe22f415761bcec268cf3412925f89a9de3d854d9492aa9c2f3f62661f50533ac37a2ba4460f06b4d630a58356566cbd7e3d41be00c16e219a99a81e348c1e42db13add76ac1f943c3c430407c39705ab3d6c2f4095ead83f14561d57362ff46726b90b4ad96a4d125a11371b2630203010001028201004481bbee5ddcec3234df629aab3b231c4d7c311e52c05482c67709eb5e70f4bdc13171e3f2d295e336b6b8ac810ffcf47194db39b04e20646f8953a8467719d1d32a8661fb68b512cb6614cba47feee4bcf012e81185c4891b4adad0676f279293c19b2ef6dd9175c60c53faad3c7e91f04742a4979578ea9929ad16408f59b9a85a2435fd37b2c6e90af661607d6f5b7c214b2656648c4f188e3481eec335e08f3938b55cd9ad4a2aab5c37e4b82eaf7ef79c4ffe22ac44a90494b137c8ac504d76a77e23168c088cfa5f800cc7d2ccbce76da43ac0b34c468fac78c79151a98b8a4c9946b824195bf20ffec262edbeb37faecaead071c20dcf9cf59aabcf7102818100d4b3170fd395804a11287355bc5d5d2af57187974c6448bff743833179618060986358edf847ed7d12e688e4873b601e824b60184fbdc6deda698e6d5e190dd3371795035a44351ae3d61b03933f9698706b2ca0859280d1d4dec2f3b8158efb760af0f83e84ad726f0ab04e1daa76df01361433d9db6cae836828e392394ca502818100b1b21bb8b8b55b1904028719d27e73975042974317e22eb9bb66be8ddbc86230bc5c2803b0630f8e7ac131365d06db369e14511e3065c2d387041067e725044ca4e564c878ab26a0490ba21d4f7a8f91977b6de6bcacfaef4d30a1fcaa4171964ad3498c693fb46737cb5dbfdeea59861ec62f050a1c6049326af7add541ac6702818100a42b76e9684e442ee6ff69c60b15a50bbb565d699234f551f5efce1b29acf0019e9d4fce9d8c26ea1ae485549e6c5dcc2e952f1e94adce09c45b24eb956d91162db7adf4607fb4dd846d857c44f317b1a15397a66e729dab57ba788ed4cf0f05581f29cef1b2468dc4d7632d680862a7cdaf87f85d76d773fb493206349eb5610281810086076991730097adceb07966a8b66849816838df8a6c38022fafd79af863b46c3e26e4a7a3ab94584b8edca7bc93275592f69018cd387433486b70546eac250a0a765c0639be1e6c57ac46a30507d4b26427dd45649ab4cb3ad5abd900324c92a7eda6541a2ecacbeff19cccd43ebf37c28e8978ab9faba08a3ed48271900f9102818020fd804a212beaa290fc23f3fb304f059b0b95d950f23a8ad8f0a3fdab9629ee27af3a22270e78a06d72660271c7e562a92f1f776b4ac1e9daf39b8f6d217dfc18ed7f8118f6a9ac1c7e7be25fc9407bd5cb34a1b80a7a5b9520bf790f5cf6aafb7bed3dd3561b17f85831eb1a3d711025d2f97fe65490d4955d9e7d6807d9bb
+Signature:5be50989c5effa6ffbf0ef6c85a2868bd47b0f00a7c83f673005374ec86828dc27f8e0788f33244ad932a8c6b711319334745f1f72213e760d128b88d984d17965a9da871a531d266759d0265be9996f02be53709c912ff207f5e53c79f27dcf1501b08e6747fbee74fc993af260251fa66c04ec119b26886217941f5b7fecb4b6d7344e4d130d638a01cd7e6398ed3ac30ec3306db0d823e0b1deee7973a1ea1a261ee6b4dbf2c2d695ba1e59d744872a0294c7af37aedcd919928f8c4067e3b32e3d086e4576d674bca3f5bada7b188ca1bb4a020de2d31a8f37fb6dec877dd7b42cea1601ec2e1f8164b782e0c86cf938d2f361d3b7a9b78ea712f429081f
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 69.965
-There were 37 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 126.398
+There were 22 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -853,7 +780,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -895,7 +822,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -937,7 +864,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -973,192 +900,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:894c2fe3575bc1afc2c9ab5f4e4c141d pt: 894c2fe3575bc1afc2c9ab5f4e4c141d
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:c30446fb5988a0a6d861d8d403ed83cc pt: c30446fb5988a0a6d861d8d403ed83cc
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:ce0beab7fbbb631ee2528003c1793ecf pt: ce0beab7fbbb631ee2528003c1793ecf
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:8a3ebae51bdbccb850f892251de37aeb pt: 8a3ebae51bdbccb850f892251de37aeb
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1194,136 +936,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:6f9e1181115feeda3e47d8a180ea93018dd3571df8025d29e4bef0bf1a975509878254a02903fa96f3e4b018a5631caeef8a2f4fd0a2a27075064e255f9c3027cdea31ea204aeab0f516e6bf8fe2462d8be49144b4f66db0df76cc65b14693c32265305c37898239b2a346b3f65c19aef529323897d4aca1a033a5729db4f56bf9616d63778f8a649db3872618fb833ce1220d09cc2d8ca00fcb18f118f1402c554f1b9fa8dce4d6f049b9b70e7747b0c931f60665df0b77b785333c8842fe4f0452506772a850dff7c7525430c01b4077c0ee55151318d4c4e4c0cfdfee4ad0f241332150738d6e66eeee1c1f27fbe9fba3bf4a1863315fcb787a9276cde08976461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc776461b8576b52056d0b12a1400fa2bc701fdabd76b4af24f80a2e07a1b153a6dc06f944658ca48abbb67ca094bb0a5fc0fddf0c5
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1356,15 +974,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:5c5e4f65a66e93414e014470f985aa9656ae37d9bc2fc425859955807d765d52519092921c94587c5a5e10266fa0264c870aa8c06b8a6dbe562592c319cdcbe2b2372f4717e2f8f833f6cc6390ec4a63f2c88c5753e9889689196380e00903a658cd2f812a0905427fda1c797d6358775b32b8a3275b24fdb5ad5aa657a2872f6c14fe4e127e14e8284048e73dea865c948b7ac5d27267869ee7197772819e5baf5884f75e1943e15b3dd7008b8583515216e4b8cd1e41113b1002ae82f86623c1973413ba7f29d2347485b88f856820515e70584d997bb8301b977dee6ee709e9dc5c875a93960a65e19c15746309ccc38028a11ed0693e088c15216e25b3c0c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98c8c3d1693efd9a98ef78d145a91e9477672eaebb744868ea10e713ac3829116c6bb8129a
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1397,7 +1012,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1438,7 +1053,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1476,7 +1091,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1512,7 +1127,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1548,8 +1163,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[56723be7006616e4b2c6086424ea2efb25b5310beaa58e65dd27a1bb9514debd]> but was:<[c0ab5447843f5069b1623449b359e6ae7ae752be51504cbab3f3c845de51fe99]>
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<d[18ef7ac5de7a481ff860c0008577fcbe09a359fa1ffac910b203d10b25335e]f> but was:<d[dd8a15d4911ef5b60064d1b8403cf4e273a19e52e19df193b6f64ea6a9229d]f>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1585,8 +1200,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[56723be7006616e4b2c60864
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[fd2c21e7f19a89b56a6fc9fafb16c25ed1ce727bb3e3a5644ccdf3a9fc6221cc]> but was:<[0bb80aaeef881a718910965ee0860dd6cf42d75f8556ac4d7c758f8288e473c6]>
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[10a15250f531a0a56a4e39bd9585e008e041eaa0267b11672f587d4b27aec5c2]> but was:<[8707f9fc74e49943fe232bbcfd12cd89e3b47cc47930e6703f0111914c4b2fe7]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1622,7 +1237,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[fd2c2
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+14) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.spongycastle.math.ec.ECAlgorithms.validatePoint(ECAlgorithms.java:205)
at org.spongycastle.math.ec.AbstractECMultiplier.multiply(AbstractECMultiplier.java:22)
@@ -1664,7 +1279,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+15) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1701,7 +1316,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1742,55 +1357,13 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+17) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.spongycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.spongycastle.jce.interfaces.ECKey
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(IESCipher.java:159)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1823,177 +1396,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+18) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04a54f1157d2fd9162376a2fb49013fdf69a5d4cf19acbedd08ca8d973124532cc3731462a4240a83ec5799de119c7e8f03753faf1a5bed640c220c6ec4168fb4997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be997d32d3678037be94adf172db28b257a516d269418533cdf3a9f73ce7ad033679cc0496c
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2026,15 +1434,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+19) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0415f896d6965a485e6e598eb2dc4d179cbb7a79a3c6da6f2c33db0c538d4034cb06f7e07e70c74e7a71cb3ed0a481336ef2430ab1c0da417c50edad93215c2aa6cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d5cfef355f603354a3727262c43fbbc9d582719e2b4c878b20edcdb8c2ba01e3445ef386568f97c8bede3b1389d7cef1c9fb17f406
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2067,15 +1472,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+20) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2108,14 +1513,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+21) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.spongycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.spongycastle.jce.interfaces.ECKey
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(IESCipher.java:159)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2148,7 +1552,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+22) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2187,12 +1591,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 90, Failures: 37
+Tests run: 90, Failures: 22
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:50:59 --
+-- JVM shutdown starting at 2018-04-06 22:13:12 --
diff --git a/testlogs/SpongyCastleAllTests_1_53.txt b/testlogs/SpongyCastleAllTests_1_53.txt
index 5db8384..4700f0e 100755
--- a/testlogs/SpongyCastleAllTests_1_53.txt
+++ b/testlogs/SpongyCastleAllTests_1_53.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:SC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -810,40 +810,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:b0345c7b1fe5fa3717540060a19c55af0e03f4eaecb35f00f2c0543716f8bffe7b3f2958a8503e4e1a65be3ba3de64553317edfde31759fec7c0df4a7eaec4046960a5496ff8cdd5edc38787fad24fa9223b6edc8ef53a47f63270cd79cc2f4b74bc5f55bfbe3ecce452406b337321f0cf3ddbf53c8d40ced17f1a4e1774bee7569653fc2f0eb89788db638e88ee56c2836b00127f9cdd447be07c8ccd31bbdd37bfc14e19852394ff0cacdcbea7c226fc718bd1efb285e595c7ffb4e2079f95eda2d6ab1f8463ec5b48cc34f63f8abfca3b074333916fce9c40a0c56f384b349fa73539b49ed1a300449aba0b3530108642cf91637b257055db853569dfec551c66d40d91787a21480bdd3df0e491f95ee26c4d5351d22e5233dc8c20e342e2ba17ef31
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:2347480 relative average:1.0003781638887816 sigmas:0.14646224433881122
-count:25001 cutoff:520234 relative average:0.9493506016315525 sigmas:13.87118642063802
-count:12501 cutoff:508092 relative average:0.7657290840272829 sigmas:45.36818242157501
-count:6251 cutoff:503183 relative average:0.5731156025938323 sigmas:58.4582295738312
-count:3125 cutoff:499554 relative average:0.3836639987177209 sigmas:59.676476715858506
-count:1563 cutoff:496405 relative average:0.23441470286071908 sigmas:52.42442801310566
-count:782 cutoff:493159 relative average:0.12630113836341486 sigmas:42.31806231546527
-count:391 cutoff:490200 relative average:0.062257088803950804 sigmas:32.11683909222188
-count:196 cutoff:487157 relative average:0.03104971504892858 sigmas:23.495795729610357
-count:98 cutoff:483872 relative average:0.014291723243676701 sigmas:16.901376193037674
-count:49 cutoff:480607 relative average:0.004704706892251161 sigmas:12.067314113377451
-count:25 cutoff:477162 relative average:0.002495060907735101 sigmas:8.638646176543507
-count:13 cutoff:473918 relative average:0.002824899008264202 sigmas:6.2273565097461105
+count:50000 cutoff:3909153 relative average:1.001876362106745 sigmas:0.7267119190877899
+count:25001 cutoff:516074 relative average:0.9134320973420684 sigmas:23.70807066801928
+count:12501 cutoff:503064 relative average:0.8442887671288186 sigmas:30.154556696277247
+count:6251 cutoff:497045 relative average:0.6660291980055096 sigmas:45.734493770627466
+count:3125 cutoff:492419 relative average:0.557464185377712 sigmas:42.84834600331135
+count:1563 cutoff:487172 relative average:0.619240402558351 sigmas:26.07299824195468
+count:782 cutoff:481100 relative average:0.7177242320902544 sigmas:13.672174774469488
+count:391 cutoff:474241 relative average:0.7239468337032053 sigmas:9.454569068983304
+count:196 cutoff:469847 relative average:0.5080453296582617 sigmas:11.929266776737641
+count:98 cutoff:466558 relative average:0.317615617646482 sigmas:11.700454816472638
+count:49 cutoff:463689 relative average:0.18456559483436716 sigmas:9.88661673990607
+count:25 cutoff:460724 relative average:0.1287135451106296 sigmas:7.545562039074792
+count:13 cutoff:457946 relative average:0.04074078721832652 sigmas:5.990571863766774
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104208b0707ee670d914532508f2f49650b6102bebe27dd855f9ff1240104199eba30a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004bbe87be143797cc1ff90d065fba2706521f9814590567117c24dd472c6c43a1fb954ba4523e0d7abc69a65378fc9703575ab65e5a3d4dcb32f44fb7ffa32116f
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420d9136ce6e0ff329706e409b0e0b296727190ced248f6f90d7b569d46ed3b9340a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200043a3a2eb62629b2097e05ff2b27b4b67d7ae2c9324b471196f7e08d26842cf77cfd5da43e0ff0eb202dced9cc6ea9a76adc7894c460b704cc447498abbf7941aa
...Generated shared secret with a modified order:ECDHC
-expected:cca02fc01d229bb0dba62f945fb4115651268c2b69d0f35feee39203f94c57b0 computed:eafc4f6d601b3c3ce49c2e3b19c52b70c6383b1bf22085f5d0dd2bc317d665c7
+expected:9c222c56d023a53745d8f2976107ca41942ef9da0dc59440251455af717ff587 computed:65651d0e34c3e1dd2177164950439326de45efb428ff48a21bf7519dd66c481d
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:934722c18bf0894e211d50ac1e2f5c42a1e2a04a699c9448c24ffa1ac05294ce computed:934722c18bf0894e211d50ac1e2f5c42a1e2a04a699c9448c24ffa1ac05294ce
+expected:566c0b11a79e969a89f4746a4c9dd7f816a9dfe54b292581134703ae237de2d4 computed:566c0b11a79e969a89f4746a4c9dd7f816a9dfe54b292581134703ae237de2d4
Generated shared secret with a modified order:ECDH
-expected:405f1dfcc858d528402acc0a32b38a5b3a9e0b3a659255da268bfa68fef2c7e7 computed:405f1dfcc858d528402acc0a32b38a5b3a9e0b3a659255da268bfa68fef2c7e7
+expected:24ce6cbd2a5186f4eab3015484720ae409f0af078ed03e93650773c75da59e92 computed:24ce6cbd2a5186f4eab3015484720ae409f0af078ed03e93650773c75da59e92
..E...E.Invalid ECDSA signature was verified:3045022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0000
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
@@ -853,35 +854,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:54962724040208771502048735453514484436081262716750144390813892195028610633723
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104207983cca4af4d9822331e358b9ffba3c25cb3234421429bbb30763033c708cffba00a06082a8648ce3d030107a14403420004653e53e19b6954a2f42c19180acbf299779ede574bcb965a0aaede8b4aeb6b772ea2667d97fb6647fdcc8a4bf1dca3225bf1a2d742194a5fc006b8122c09501c
+S:51566367027224473160800783557722155193526739383718477443511140775494437860215
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104207201878975b96c127505c091c04ca0fffcc6fe86c520d067ba161edfc7887377a00a06082a8648ce3d030107a14403420004fbc1bbb110fb69c4602c6628a75885f53aea6e6cf802f3eaf0e5cd41009371d0ca87ce136c225e2048976f899a0a52cf4b92004433fcde38d3772a9f68108233
Public key:
-X:45793721152227684488757546336705184767461632876537050741218303234390218206071
-Y:21093327623450633970403609752831497143153978513512341125092398233072546959388
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004653e53e19b6954a2f42c19180acbf299779ede574bcb965a0aaede8b4aeb6b772ea2667d97fb6647fdcc8a4bf1dca3225bf1a2d742194a5fc006b8122c09501c
-Signature:304502203385a1aaac6f492dd7b81409f428f37304599a9d24c894f5ccbe72ba74942e480221008c4df4fc873a11b20177dded6e6a522a8fb520b8a9655088f7647ce204d57db2
-r:23304061719874372131946377261521614042071886123069849678483082516852179742280
-s:63461536859901454611811898561357568794879002173262840690775457233358919400882
-.SC curve:secp256r1 countLsb:528 countMsb:515
-SC curve:secp224r1 countLsb:536 countMsb:501
-SC curve:secp384r1 countLsb:498 countMsb:537
-SC curve:secp521r1 countLsb:506 countMsb:509
-SC curve:brainpoolP256r1 countLsb:505 countMsb:511
+X:113872821878167923617239008312522127562036967219793272721806459972750285173200
+Y:91607142050939183411672354992472252925899630386052754715518876561121397998131
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004fbc1bbb110fb69c4602c6628a75885f53aea6e6cf802f3eaf0e5cd41009371d0ca87ce136c225e2048976f899a0a52cf4b92004433fcde38d3772a9f68108233
+Signature:3045022029da4b1ef5ee90bc5bf011122e60980161c823767545c326a2d4f4a673cd56f6022100e764756fcdd77d09639ade189c82210f631e1864412e6d4ff2a71543d6e821b8
+r:18930517917709670575343630245094196793830198350732409324320157036074731656950
+s:104661763247766695285082350220928675917995708541755097947042440402546488517048
+.SC curve:secp256r1 countLsb:535 countMsb:547
+SC curve:secp224r1 countLsb:522 countMsb:515
+SC curve:secp384r1 countLsb:519 countMsb:505
+SC curve:secp521r1 countLsb:508 countMsb:536
+SC curve:brainpoolP256r1 countLsb:504 countMsb:518
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1747580 relative average:0.9996574047858796 sigmas:0.13268655587788353
-count:25000 cutoff:268374 relative average:0.9925956944893289 sigmas:2.027752575427173
-count:12501 cutoff:140920 relative average:1.0019794726883902 sigmas:0.38333857044322617
-count:6251 cutoff:136827 relative average:0.9796106919483214 sigmas:2.792144332702131
-count:3125 cutoff:135595 relative average:0.9665446084356145 sigmas:3.2393043592428277
-count:1563 cutoff:134637 relative average:0.950044864977316 sigmas:3.420741476707362
-count:783 cutoff:133845 relative average:0.9503920709411149 sigmas:2.404321863504601
-count:391 cutoff:133114 relative average:0.9559651957438712 sigmas:1.5081518674961263
-count:196 cutoff:132461 relative average:0.9115106599967908 sigmas:2.1457524593931345
-count:98 cutoff:131896 relative average:0.9106481787267896 sigmas:1.5320645879540733
-count:49 cutoff:131400 relative average:0.8807705353621229 sigmas:1.4455804335842797
-count:25 cutoff:130866 relative average:0.8319768171728839 sigmas:1.4551234475299986
-count:13 cutoff:130357 relative average:0.7783839473761399 sigmas:1.38399180504896
-..E.E.E.E..E.E..E.E.E..E..Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:512613 relative average:1.0007680695670675 sigmas:0.2974720641981657
+count:25001 cutoff:149586 relative average:0.9989562194964666 sigmas:0.28585678039876394
+count:12500 cutoff:146664 relative average:0.9874858585020547 sigmas:2.423353080681261
+count:6251 cutoff:144971 relative average:0.9803344245328739 sigmas:2.6930352393857455
+count:3127 cutoff:143183 relative average:0.9983538275585745 sigmas:0.1594409578951173
+count:1563 cutoff:140527 relative average:0.9751652531149768 sigmas:1.7005909141182731
+count:782 cutoff:138631 relative average:0.9554631477988941 sigmas:2.1571657804963595
+count:391 cutoff:137535 relative average:0.9434333727942085 sigmas:1.9373553692247425
+count:196 cutoff:136605 relative average:0.9786309410760696 sigmas:0.5181721407265277
+count:98 cutoff:135919 relative average:0.970806324692133 sigmas:0.5005672575453383
+count:49 cutoff:135325 relative average:0.9027762843048923 sigmas:1.1787749069919071
+count:25 cutoff:134719 relative average:0.810155806225826 sigmas:1.6440989456941033
+count:13 cutoff:134150 relative average:0.9257214805171706 sigmas:0.4638692054942661
+....0495e1b349a22cb20c39a5dfbed6bf72b8937cc36a16cd165a39c69a7ce7a17c3caa27adb153b8cea5cfaeeb3ad822f7e2c6aa4ceaee88dcf3a557b7b6d17a78fe4dce445f1dafaf956c2fd84e426ee64898c0b618fa9afac328871ba2f2e11ddbf25ca5d93c4b8ef60e34808abc752911bb6aa08910edeb4cfd52a2e6
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:04ea8d8f5e046aa638efd51bd1bf8e14bcfdf7582c066dd777371c0cb25827add293d399619ecf55ecdd10f38d1b383701fd6e57cdd55c7d27b8f2d30d852a6f5e539ce71a38989eaaa41d018f21154842ff173a1e16fb368938617b11ea3333c0d9d7d013
+..E.E...E.04a021ce2eab1e6ac2acea89d9392bef26c71937ba41752dcae6d69d9f80cc60cbde18fa7b18ab7b9ca2a41c0aa38abac5ef5b98134c81934ee7b69adb799143ded6f22f3055a498cbeaab7dc3144d4abb6b8ed60b0c5252e81c6fbda566f3efa132081d4b6fed277b11937f03bbb28302fefea8f868dde38e3dcd0042ece78be9a1b5578a
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E..Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -890,98 +897,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:18674025209725352209406551339351986057186625947250377407674452996082831565612841183142703322387121053705884289705689161754571486925423197611425765976703487503910088107995743677337286463105497110405637122365780101238955051197149128725435661912825993639454973047923157993421846144777794436525679271405018694981105726242213917195554948192605590356418392070552753501942045409534434597558236153144756194953406234523779797989165162071408103635153581136297960185083362076818922619694728858692967364021012995537437581998476333676265647946467968028404937968928764344792004501764119458411324224899323545932116790955458357670911
+Modulus:21641897791792848753455614997020723463508144418209999790375781113078536847629200720816332665810825326834951580892819114697240609939181862020996844616924285407604025907217373062424942692329122653236043989130228988251656684148837968197481231031902810552402732564448938924865563447443691019895955447965054057707019954435533577822269128969009016625639367554452247802046669959088986431159574452005986015634728969285347238726442508213363079938595222674334254972817266155583575441802980205946731455079860941105947323202571809696323279962252086741797388948342496909746127113231303789277540419877464322703957616693478485755771
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010093ed410fb251a41971672f956ec25d5a4084b344b8afdc560214fcd51280937d6520584a90e8f8cda11af7c7815381710ff78932ee1704ce15ec7f4063010515687be0ffa82bc489a40c1662cefa2fc1d2649fd8aeb4b294add6ba0da09abdd756a0d18033e6e3d11ce474e9991e2a5d0478a600818c6a5daf2e6be70ad71ef25ade1271fd8538194550e4ef85d54dfa4430202321dcfc76ff6f6ab211c1581df5c76564f608f91fe1f353fe15e92a8f9ced4f1e8f43964e4fa3f2dbf49e2bc4e4b87130d5eedc3c0e034020ad587dd14ac9d9b2017400b3051b0d73c9e911f60da1bb36961d06e6c085fc65e17ac895f6b775c6b4c3f392d682286e0960b3ff0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100ab6fd5a129af0f3508065137f750054f55d2e01566ba2829438c184d1c8da04bc16b28a0dcb1f00796506f25534fc17a9b9bb1775203d4137d020fff744f24c4a299cbea72f4638220174590581e54e856c9af9a1ef32d70e7072678c891f9016f42409bc8751662491b3f227a2e12137912ac032f0fba206e2412952b19737ff0fedd9ce5f185a788c1315003f600d342779898c2d6a3c66c4f5be9a8409e8b5c9a9b15134347fecae8ed6ff7e02388b47b5face628956e85b7461c29e36994cfaf876cdc4ebc0be7e03e57b71ae0f60c7d6f268591bed4905d02f528a242b92ceb38ba2cc259db78de832f772a73d06b6ebf7cb55b614e9eff8fcee4a5877b0203010001
Private key:
-D:2978463852743627365380268873311965916288078505677833819711324246884261384490456213854626818879603527387393510235341392004829878585096185126451218880242939940466792056286975428524446578251091159117294426661115086107859638832473256977996841081751836542918089526068339571619673737756721931809556821703719432055703165141374024290032783183048324002412148804749712558618318512812988490736136047776364213772195387927255381252890527347893026752774095142125982488398789872651715610177094026863893439520869789885192598746493527912008249939788277202930421135245048749268753187215754935016597035981422241179182572435265663766561
-encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a2020100028201010093ed410fb251a41971672f956ec25d5a4084b344b8afdc560214fcd51280937d6520584a90e8f8cda11af7c7815381710ff78932ee1704ce15ec7f4063010515687be0ffa82bc489a40c1662cefa2fc1d2649fd8aeb4b294add6ba0da09abdd756a0d18033e6e3d11ce474e9991e2a5d0478a600818c6a5daf2e6be70ad71ef25ade1271fd8538194550e4ef85d54dfa4430202321dcfc76ff6f6ab211c1581df5c76564f608f91fe1f353fe15e92a8f9ced4f1e8f43964e4fa3f2dbf49e2bc4e4b87130d5eedc3c0e034020ad587dd14ac9d9b2017400b3051b0d73c9e911f60da1bb36961d06e6c085fc65e17ac895f6b775c6b4c3f392d682286e0960b3ff02030100010282010017980ef986f2989eea449005609e25afa07cc9ef1b1a09a5ba3d48ba5f721c94328dff271d87db2f4913f9135c204a9412fce368392b78bbba29777e788c1018830ac72f5fce6351a4d5bcb853d4f9cb0b58bb5a1f3b790457d9d8e1158db8dbe0d853b204153e9efae1c17804d117e6b030e221508869eab967491497d909f9554b6cef2d0d6e55794d9c4110f423dc9dbc7ce35be16fd2ea1fd1a232cef462373873459c4072e0a3ac8aa4a985bff70d8b07015619cfc6ed197cd6422475dbb522d01c9c329cfc8fcdec94fb00f186608603925cb7f7d1f449e40812f68f086a9d4af5787111116f0cb33dc15964587caa6808409dc9778a66e15b46c3902102818100dce215efa6382cd6224f9020395342a320b0b8fc0faa6e2aa91f3a030906e2cb82802bf19516e9206c2358a915a6b3b6555b784fe6f4441a35f8f5b26b8ee172d853693cf95e6b9fb3afa953e85b82ca78d5d6c28365aa7cb4064f5b6b1974f301762fbb6534dad9e0e85c0660a846070f0d52a61f6e18fb593eedf76de894b102818100ab71da9975dff418b415d73ae180ec18ac4caaebfb21e28fc9152639cfb5e5f97c5910e48fb255b86c8cf17b59652e114d33574ce75e94ec19da8d197e9bf08ef4e53bb0d90838023d1f31bac7706a8c83542f02645b78091abd7fd107891ae4e23fd560056c49479f9e5aa321b8c72282660f9152735cec2e51b54de063bfaf0281804a242154d5a859746f03e1cecf2f2158fc2a158d95fc910a04c694845c4d51671a20c79f4979ed3a92d1b27adee79bbf021bb7e0aa17279cdcacfa5baf3ac075fa22d55a4021ef6225c03ac80d605a20783adee15f958a8a5d2b190c0880fcfe6c692d506b82384b95f0a8a30362b84eba40b0934e4d785935f5a78ebbf7aba10281802bb69dec1ef7f93f0b3bbe630ef8563a7c4418188f31b698bec69bb685d5754bc57ed825ced5c3b1804bf78e61dec07e3cd6e85d7d68ca43e0dbaeba5f63d7543bf0eee54a9123e6be3ae3ed21c8f201ddc26b320af09f8c82baea8a1b87c3c9b43e5e635b3e9ef89a24402bf3ff2f1707748a679d4438df277841e8175c97950281805bd7da6e024bb430d2d30d02c65d440553d84a4befbac12b2789f4ea9c1fc16d405c5cb888c5123ebf2f278286b97e4a4f3c8b5ca78d9ca6fc49c08ab50399102878a19f0c0f593c3bf6141190b3835aab27e5cd7b0a73b053364362597b13b72c677766f3edb53d7d069778e9f9920ee24595ba2b54619cf0d1750a85b68ab1
-Signature:0234b2ad1c4b5d412e50064bdae2b4d0dfdd9dad2a89d9fef27bea192e31fab0f1ddbe9b4765112ed0c055be4e0461d11c297828031cf8b96f45d0f101d16aeee11930eff36a73a7ae9188528bd158ef3b59928c263d24e4805872d71bf178f2d1ee3af1d6f9cf01b12e19f938eccce124ccf66bbc1585f6e52713d02436db9271d5b1fb5c136d6fecf254db60be80e8ab726940f481b4be35c8397391d99a3800996e5ffb3db00f99c8b213e22a447d5015edd1a28c664e33cc49f16cdca549b7f186cf71182c1ef2fa9ff9c156f2fee7853e62b5daa11648059e1e0b8f03c0244b22c1e7ab3942a3170a2eceed9416f29fb42462b7bafa138af62aff96bcc3
+D:1686289440679161117529351327987035176562923836483045667783907201335666088048255389792767486426949349702956806808813049257693504045873814462215548270996900429283152391705532989658863998327336692688860622709210283176023999536232068672664874899131966707140158289826487428778033778542978900363133748798900598832406044057246029417148819646550601426379908741888395274104260880275569776649818383357081296853029821368853864506478504760029517274540956517440792396076991838441289585838214511372953110639196949918231895116809047332628018334458842991411235783827889928023538233020367944696477602799953878944313479804584844088373
+encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100ab6fd5a129af0f3508065137f750054f55d2e01566ba2829438c184d1c8da04bc16b28a0dcb1f00796506f25534fc17a9b9bb1775203d4137d020fff744f24c4a299cbea72f4638220174590581e54e856c9af9a1ef32d70e7072678c891f9016f42409bc8751662491b3f227a2e12137912ac032f0fba206e2412952b19737ff0fedd9ce5f185a788c1315003f600d342779898c2d6a3c66c4f5be9a8409e8b5c9a9b15134347fecae8ed6ff7e02388b47b5face628956e85b7461c29e36994cfaf876cdc4ebc0be7e03e57b71ae0f60c7d6f268591bed4905d02f528a242b92ceb38ba2cc259db78de832f772a73d06b6ebf7cb55b614e9eff8fcee4a5877b0203010001028201000d5ba4ef2e52cc220b3286d0900e25a3c561ad812d6472eda82c39d684538aba6c633fa2ad1f963ed91902580bb24ab6957a5fad16f0626d744f9d547fc90ce9df6b91667eb7892b61f9be3b5d8a5b7e5108dd0c6abdf2fbf99c668481c851f92924a5e91d88f60a097d3c81a0b887430a2b88c8a4b99a7c9d686524475befd2571c7ee7f6adeaf80ac93a4d30959284f2e347713175f8d8367c80b2db1914b2e43f6fca2f81a663ebd8dcf841af8e9f755edff9d8cc96dfade0a3cadcd8d07a2d418d2fe6d7372b3904f0306c2ef5ea41e27a7f37c561105b69d9842d3afef11f5691d524c0eb6d2b5c2fa4ac8cd1ff926370d5129bba73fd6e51327e80543502818100d2eb96d2f462236542b0b2c69043c91182fda17857d8f5d6b20f42620492f7f6700a804b4d5fe37b383d2f7347b4ba04239c63601707a65bd97c9b02eed45419758e77f42381d32cf3cf45c6a42780aba5442247f5487156b3c43c790866e2234d74b3211b44314cf5feb1bbab54b852ba030ce826802f45ad46ed52799e9ce702818100d013ed67baf8dac0eb7cb3414ad9b1135e288f276423bd5157e7c1ee51fdb8d4cb8f39b6aecf8538bd1e5a7e65bb8d42e4a00d624d5086958153397fb80dfd64ce52f849abe2b10d441e8bdcae03f09c3a9e92be6a5b421ff71b39091c3cdf638d1c79d4cbe7fa7b121588de312d69412a03561c5e7d182176f5099e0bfc3a4d02818032c5c368c4ab5b19e513e3f5288528c1ae669f97f88da1a02cfcbf5e18fbc7f4eac39c5e8421b100d868e2233dffa3479bcae9a117ea1f81bcb8e217b2a62a1876d3f4cc303ff035c1fb0330ee1314463d62495e490d473b37cae543bd6206cdb8b77ee75948f11535a239e69337b1a7385fc39b9ea8fcb8291e09c2f0c3ddc10281803133d51a873adb376d37d28768f4ab0ba26342de94ae62d0fe515e2945981281b714ca17e9a446a3510d01670c155a64ebfcf0cd42ecfcb6139ba3681114b5cb85825715cca0512f8ae1123f7fa28cddd47ab4c6740dda4806bd9832104c50a290b6a01472970b42d8d6e0c371ab844d156b2e8c8cc755d26bf7ab6b84f802ad0281805aa1ea6517e54f99fa8631e92b7331dd783ba711e2fce88e7f38c300dcabcb01c7d15e1de5ce25c1fa0a76bd77948ecb0c0646586fe7878e711bfb38da9228388dffd31f02254f5c1fb46697251c73fc9fae4967b905c58238649f2b7154c2b19b654766d0b3a2776ecf604f3180f133219f71b5e28f46af8163e6b200846a53
+Signature:75cb167a2eaa334433b85a5d06e6a8f7d69140ccf189b47a47d8db93134388bca6c0f44cfa8cd5582cce5af3fd442ba66de2b205644fe4de888366af78608e76f75814db0b443590ec2a97fe328bea909d80d8729e29318396e1f29feddec605062f9aa8c6192b04eb1fd9d4780dc7ce8e3180f3d677a4fbcc7cba128126245e9c7256b539ccbdb5567937a22277e21daee02b77f0899aebc8defc5c5493252ae81ee91093ecfc5dab5271487dd10fc2d320e01ceb7b0f5cb360d25b0c728103b1f70a477a808779abf1798e244a1fb24d7be5d9586ec503cac97025a997af43673861abb62ce0be3951b4b9027ea56f76d0623cfe7470c1a6ee82ec38b86804
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 133.526
-There were 37 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 115.343
+There were 22 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1021,7 +948,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1063,7 +990,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1105,7 +1032,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -1141,192 +1068,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:e2d6f4be37466a27513aa2bddfe5f49b pt: e2d6f4be37466a27513aa2bddfe5f49b
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:5e3b2149e8dddb183cdf62d4d8700af6 pt: 5e3b2149e8dddb183cdf62d4d8700af6
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:49a18123cc6d0acd7347c5990335a9e8 pt: 49a18123cc6d0acd7347c5990335a9e8
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:51dc76a026d2f103da583a67fd2b9364 pt: 51dc76a026d2f103da583a67fd2b9364
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1362,136 +1104,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:1be320ae39ac0d35b67c366cc06a31c50eb7cf1d01f7a17f8cc2d2272bd0d668f4e97dcb48f74647391dc7faa02d2d51947129f4bf49b83e6357e478ddd360893ea07f43c47fce055c1dcfa27e71c978b0ba22062da24091608b03cc2b74f2cc7c7292b41f0547164e65efeb74ecd7d8ef15885ecf38d8cb9f78e7c67fe383c71c85f5eca8ff51af87205d7852e26b149f81253d43e63285654d3fe3c74eb8f2b06a09dc21dc9859e9d9437e70157f780a7ff23c7a9b44aac62cc92b15f6f40e98ce3a48378b4691517605ea175ed06e0fddf6099abb7b465ddafcd1ee84c8453b63f9f1d40f201e31ff60d1e9fae6d4929d3260770583e6b51286fc1923c2a9570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1b570ef9c40917f66a05df2c99a77c4c1bca33e7a777636f0a0459b1556ebfb8e53555253e15d68bd1dee392f3812207fd0db425a6
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1524,15 +1142,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:d42ff054be61778ae3b366a23d96add17af5f5d8c468ba9e52282756a9da4e561f6c5e148b338076c0e60d1c832f9d16d1a63fcbf1e4b23db499eb3037be9211e7204393fcd91c5c1644e26bed48d83fa3b77dbcc3f901b22d92f2c85b04df36bfec3f347effc2c20ad58828fe0c0735e8299b528cca6e1bb39d13c2b48d2403b71390e878a768e6d8fb4fe5f0ff00c3cde490c7ab1249c8011a375bac9402948017894c564bc075f111e4c043dc1d4b45a65bdc560bb27b6925288ddbf1364c6d34d2c0c4cf4595079a9aac515ddd5c740367cff977177b86003ebf978669b7bde74b0777a5ca25d09038a352be91eeb974130046fdfb22dd1e295467963a98da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693da4d26461c79c693c22a516922ae1f4a34cddac7bc87eb5a30d96b8c96ae789c9822e059
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1565,7 +1180,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1606,7 +1221,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1644,7 +1259,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1680,7 +1295,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1716,8 +1331,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[cca02fc01d229bb0dba62f945fb4115651268c2b69d0f35feee39203f94c57b0]> but was:<[eafc4f6d601b3c3ce49c2e3b19c52b70c6383b1bf22085f5d0dd2bc317d665c7]>
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[9c222c56d023a53745d8f2976107ca41942ef9da0dc59440251455af717ff587]> but was:<[65651d0e34c3e1dd2177164950439326de45efb428ff48a21bf7519dd66c481d]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1753,8 +1368,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[cca02fc01d229bb0dba62f94
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[9fcb29fbf09815caab49e5a4831c3f98e494d40c5100b6515f86380e5f08ef85]> but was:<[612ba65eb8135a660b4fb7c4981c56211638618e41fc7b4769c85521a10630d0]>
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[a590182318622bc7e4088d89a85524fc3d733fd9dc8a05412f592a37c262884]0> but was:<[5940c9879438cef0e4a485a49861c5285ccbc9f1e7fe060b295f9cfe5440e2c]0>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1790,7 +1405,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[9fcb2
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+14) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.spongycastle.math.ec.ECAlgorithms.validatePoint(ECAlgorithms.java:214)
at org.spongycastle.math.ec.AbstractECMultiplier.multiply(AbstractECMultiplier.java:22)
@@ -1832,7 +1447,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+15) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1869,7 +1484,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1910,55 +1525,13 @@ java.lang.AssertionError: expected:<0> but was:<4>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+17) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.spongycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.spongycastle.jce.interfaces.ECKey
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(IESCipher.java:161)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1991,177 +1564,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+18) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:04e8029e0abb2efc51a9979d4994c27fa19cdf148d9d31e8c23b15024705b98480fa863c6baedbe3ec4ee3e3aeee7741e6a2077cd08c5f4b06c75591fb170d6d220cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9c0cc40a961a550c9ce5ba525219c0940aa73788f855e40462b0779a69f53984544aa2d8b9
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2194,15 +1602,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+19) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:043aef473b0aa9775a6f252c399be42d2d8a35557897715919da4aed678a3999946969dd766286e72b71a32ed28c16643eef12e59ac70a44a78e52820c2f24bbc95dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec4267305dae73cbccac052cb3e4e8b3ec426730f91e89cbc42b8bffc0b53e8ea48bd108481d61970cb27acf9ebc355d61397b2b15a59988
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2235,15 +1640,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+20) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2276,14 +1681,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+21) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.ClassCastException: org.spongycastle.crypto.params.ECPublicKeyParameters cannot be cast to org.spongycastle.jce.interfaces.ECKey
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineGetOutputSize(IESCipher.java:161)
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:757)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2316,7 +1720,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+22) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2355,12 +1759,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 90, Failures: 37
+Tests run: 90, Failures: 22
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:54:16 --
+-- JVM shutdown starting at 2018-04-06 22:17:32 --
diff --git a/testlogs/SpongyCastleAllTests_1_54.txt b/testlogs/SpongyCastleAllTests_1_54.txt
index 02f186c..e5699dc 100755
--- a/testlogs/SpongyCastleAllTests_1_54.txt
+++ b/testlogs/SpongyCastleAllTests_1_54.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.E.E.....E.........E..
+...E.E.....E.........E..
Provider:SC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -827,40 +827,41 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E..E..E.E.E.E.E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+.........E..E..testDhiesBasic:d64ab7cfbef9e6b78db4ba5cd6fac5d5dbcdf1e0e0b3797b4139e4be4b339860d26c772dfb68471bbcb29080fe8221570530c1f08926e3c20704074b4792b8845c59a9fb53391255933cdec1abe519e0afea583be1f09bbc19d469e70541d6f8221bb9d260a1c7580ed56fa8a950d85a15a501090cdf6556bb180323abea7566bde9d936072e08fa409f0f7c1f22125604f5e87c1465090fb135529ba79d46afa6f2861ff572c4a55b1fcb8883bfe49cc6cf4508f2e384fe98a0a3ecece734cba17f78c4d2480cd7d80bd58aa49c41d2c8e764bb282ef262d3ea6f7c84ec1511bce921fe2f0c6483245bd7dd2c937fdb6492feb8e4dad21b31bb8d90b2fe2ec443f31494c468decd6fe5ffbc566c111ce4686692589e796e1de7758e2297dc07b6ea6a90
+..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862363000
Invalid DSA signature was verified:305c021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe8786236
E.E..testDefaultSize: keysize=1024
E....testTiming: SHA1WITHDSA
-count:50000 cutoff:2199709 relative average:1.0002402909823298 sigmas:0.09306429728069811
-count:25000 cutoff:536397 relative average:0.9453880984966427 sigmas:14.956085180819517
-count:12500 cutoff:516725 relative average:0.8849496423446364 sigmas:22.279405958721526
-count:6250 cutoff:503453 relative average:0.8492186848606438 sigmas:20.64658188803015
-count:3125 cutoff:495208 relative average:0.7358028378571123 sigmas:25.580780227366617
-count:1564 cutoff:490076 relative average:0.5650317259423022 sigmas:29.794533024653177
-count:782 cutoff:486559 relative average:0.39790148104102907 sigmas:29.162957357672887
-count:391 cutoff:483447 relative average:0.26299474210271384 sigmas:25.241757623972063
-count:196 cutoff:480315 relative average:0.17351719331678064 sigmas:20.04114297860447
-count:98 cutoff:476986 relative average:0.07768434267205057 sigmas:15.81441919563196
-count:49 cutoff:474299 relative average:0.05391112000058344 sigmas:11.470718060444469
-count:25 cutoff:472795 relative average:0.018692767886274206 sigmas:8.498369919278794
-count:13 cutoff:469816 relative average:0.014410930481285283 sigmas:6.155001766387713
+count:50000 cutoff:2868142 relative average:0.9966597309436668 sigmas:1.2936806427030345
+count:25001 cutoff:532062 relative average:0.9161752919850585 sigmas:22.956800850277165
+count:12502 cutoff:519437 relative average:0.8535508634280159 sigmas:28.362022040011585
+count:6250 cutoff:512568 relative average:0.7075957231902769 sigmas:40.03910457991753
+count:3125 cutoff:507737 relative average:0.5777473146249108 sigmas:40.88444045872701
+count:1563 cutoff:502464 relative average:0.5911406599285522 sigmas:27.997163896894996
+count:782 cutoff:495760 relative average:0.7170622639669308 sigmas:13.70423754749541
+count:391 cutoff:487942 relative average:0.7751315729505386 sigmas:7.701538451788633
+count:196 cutoff:483123 relative average:0.634691629669122 sigmas:8.858257209805748
+count:98 cutoff:479616 relative average:0.4319547232220966 sigmas:9.73994755232734
+count:49 cutoff:476854 relative average:0.21498108260712528 sigmas:9.51784854879022
+count:25 cutoff:473482 relative average:0.12266376554741856 sigmas:7.597954666965158
+count:13 cutoff:469022 relative average:0.03730763437716194 sigmas:6.012011896388043
E...java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
java.security.spec.InvalidKeySpecException: encoded key spec not recognised
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420bb86b8c0e2687469ccd45f1c05457e08e6c9a5bf94b1828925c7916594ca5df8a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004436914c442a425aacfbf3068301ba0be6fadd21ebbe96aaf8bc0a02b95897fbe393bc34b0c4162b9fe2ae6b24c5fa4ab6771adb5525b8899508352a8c4691898
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420524106b0f5fce8f6d7b43ad67613c886e57f92b020945ececfe6713e9b703d67a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004bd4240ac795f09c8667bec46d6a876b027f40972709efe96a7c3c3baa7429dc27f1780b352977ed5932370a69e47a6d07bf4578425e12e28f53ce18122757026
...Generated shared secret with a modified order:ECDHC
-expected:a8cd6bb19fe21c9d4786cdd932474220c95130043ca3f63c232e73c6bb918a5d computed:5f16ce02e5d7e3b6962c087d5d5d48ddec2e48535fab46b9eed022a56677c7a9
+expected:e33456b775320479023fc9011787ec2ba42739362c07a516af6fa568d0f06d2c computed:15af670fa4208e20e7fdd9ad99a376009e8366ca761a6da9b6bead1dcdaeceac
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:fe0acc5b55731173c6c86b7b950330a8ea05f58d6f1c7b318221e7344fb960fb computed:fe0acc5b55731173c6c86b7b950330a8ea05f58d6f1c7b318221e7344fb960fb
+expected:46154c6c7c4df28453edf2b8697475196d1c46b530abb9554598631e1e430db6 computed:46154c6c7c4df28453edf2b8697475196d1c46b530abb9554598631e1e430db6
Generated shared secret with a modified order:ECDH
-expected:6e69cc8114e47e0e160634631d58e2ab312a26b4247f317c55da2b2bd43a3034 computed:6e69cc8114e47e0e160634631d58e2ab312a26b4247f317c55da2b2bd43a3034
+expected:1336bfc44d164d1b5225bc1b78909e981a3dad9c2ec214754eb6ec66595fd6cf computed:1336bfc44d164d1b5225bc1b78909e981a3dad9c2ec214754eb6ec66595fd6cf
..E...E.Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
Invalid ECDSA signature was verified:3067022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce
@@ -869,35 +870,41 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:45370290052080199999603295713897197170639239109092174809555923496648361317771
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420644eac95324ca5ecf2eb16be7f37ad6d8f429ea106cccbafca4b61818843158ba00a06082a8648ce3d030107a14403420004328eb78ea2325769ca52bf339abbd8afb36c95b2a4666f027966bdc01c39257907ec3b594fd09384b0d186c876d009016888b2aa4224a8b107c77b35119f4bd2
+S:13197616575385457934789773268285260313487350664558438265466576320676538941207
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104201d2d9615c222927ef887ffa978feb3fee13fccdf82aab594ec2cb1f95f78ff17a00a06082a8648ce3d030107a14403420004b96093519bef1d7954422d276d251c8626735860cf925d88385583918cd66a5657f5458a44b00d85d510398bd1bef0ec890bd27353df69375ae173ba776dd175
Public key:
-X:22867801577337039926970250890728407037700219873906433156949598409290591839609
-Y:3583575458245751771667559407818502332873699816132877097828362726859358555090
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004328eb78ea2325769ca52bf339abbd8afb36c95b2a4666f027966bdc01c39257907ec3b594fd09384b0d186c876d009016888b2aa4224a8b107c77b35119f4bd2
-Signature:304402200fd24f59f3022dd1bfe81945c76ebd1db90163fe55c38806aabb5618dcf8ad9c02205a51fd30914da48d79eebf28dc5cd43808683ee2399a9ac37fbdc975d1327f59
-r:7156278275340889622328352283901482213458730888514423885005234783576055655836
-s:40853018435946424800733959862952586498981052115012905995392826995271810580313
-.SC curve:secp256r1 countLsb:503 countMsb:494
-SC curve:secp224r1 countLsb:511 countMsb:488
-SC curve:secp384r1 countLsb:505 countMsb:534
-SC curve:secp521r1 countLsb:527 countMsb:544
-SC curve:brainpoolP256r1 countLsb:506 countMsb:503
+X:83848511063013436465508454409248694630564862562462597319015940042011872488022
+Y:39784575305819108329174161250436115346343837723961051474243708339637143327093
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004b96093519bef1d7954422d276d251c8626735860cf925d88385583918cd66a5657f5458a44b00d85d510398bd1bef0ec890bd27353df69375ae173ba776dd175
+Signature:3045022100ec3a01863af8d81d05498725621f337cf309df9212fedfde215d33a640e8137a0220232fe524f9f70d4a9a8488f45e66a3f4f72bb21a0c8110013351c6dd419e1fff
+r:106848319915997695616083237069576046541548232890318554910626400275973148251002
+s:15915573009254794603461306844361121095866412107205866765747883529165908877311
+.SC curve:secp256r1 countLsb:488 countMsb:490
+SC curve:secp224r1 countLsb:517 countMsb:495
+SC curve:secp384r1 countLsb:515 countMsb:501
+SC curve:secp521r1 countLsb:529 countMsb:496
+SC curve:brainpoolP256r1 countLsb:531 countMsb:507
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1358428 relative average:1.0003605807237672 sigmas:0.1396523138113912
-count:25001 cutoff:145290 relative average:1.0026330200920879 sigmas:0.7210966709012002
-count:12503 cutoff:137090 relative average:0.9860327493315513 sigmas:2.7050710116638754
-count:6250 cutoff:135680 relative average:0.9750242382800296 sigmas:3.4199470212254535
-count:3126 cutoff:134678 relative average:0.9600982745610588 sigmas:3.864086058176965
-count:1563 cutoff:133871 relative average:0.9448782788479783 sigmas:3.7745300403371322
-count:782 cutoff:133179 relative average:0.9518953021432865 sigmas:2.329976254923605
-count:392 cutoff:132509 relative average:0.9155624944619983 sigmas:2.895603252101462
-count:196 cutoff:131940 relative average:0.9044887568787522 sigmas:2.316024560920904
-count:98 cutoff:131433 relative average:0.9503394929761472 sigmas:0.8515003180343758
-count:49 cutoff:130907 relative average:0.8198940766908537 sigmas:2.1836682694088165
-count:25 cutoff:130503 relative average:0.8836963368259186 sigmas:1.0072192686194321
-count:13 cutoff:130059 relative average:0.943355020557978 sigmas:0.35374778323474565
-..E.E.E.E..E.E..E.E.E..E..Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:2207606 relative average:1.00025998133875 sigmas:0.10069033953033107
+count:25002 cutoff:150339 relative average:0.9901086201368237 sigmas:2.708974290427527
+count:12500 cutoff:146956 relative average:0.9762910128472875 sigmas:4.591225619895068
+count:6252 cutoff:145417 relative average:0.9587951525963654 sigmas:5.643108781149587
+count:3127 cutoff:144153 relative average:0.9483853429001765 sigmas:4.999166650060891
+count:1563 cutoff:142852 relative average:0.9504486481424627 sigmas:3.393091910351749
+count:782 cutoff:140964 relative average:0.9559349795210842 sigmas:2.1343123637199533
+count:391 cutoff:138906 relative average:0.9425591314362389 sigmas:1.967297338059103
+count:196 cutoff:137516 relative average:0.9237898650100401 sigmas:1.8479975619601048
+count:98 cutoff:136593 relative average:0.9955481882278058 sigmas:0.07633267090953835
+count:49 cutoff:136013 relative average:0.9637103155359539 sigmas:0.43998904097659575
+count:25 cutoff:135239 relative average:1.0303366758514751 sigmas:0.2627233195375146
+count:13 cutoff:134360 relative average:0.9365724527428254 sigmas:0.39610490566437523
+....044f32615161916595f68ed25a6475bc148c0635632567a590ea1491b9de652b8601c7fadb844da8a1ba59024f800a2a5e575928b3c7d6c28bac95be1ca41e87205c0261575f2ee0d890cc373613348c707ef2a437629c80b20518849b638bba1b191a953c86abb506303796f9848af28ebddbd36d78056d745d1e7070
+ECIES:javax.crypto.BadPaddingException: Invalid MAC.
+.testEciesBasic:04d35933a2691b0d31d69c8c64e2184290dbcbbf211d98565612538c9cd9cecfc62b515732723fac93effbc8b9d3709d32917b165210bbc21b46a85ab387c4ed6599ee059e703b47c7d9472023d0450c32420ec1068bb99241ca5f87ef8b19ca2322953d9c
+...E...E.0490f2798707835e14c961bbf628feac12d0fab50e98f885bf75e5f4d9738dc95f41fc41abc3a66e79239e710b68e3a34cd492c0afbb8519b839737f632e914fe0696932e5425a77b4c74eee52c6a929662149147165a9dd5e3411b4ed63c03db5890478d3f9e59d3ccb831171acd1bcb750df55aa5057d77b91e00c5eb83b164c881308bf
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
+ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
+E..E..Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -906,98 +913,18 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:27806080787662867565999437203492846703089263238525353887404726752951995185028423176128042179803599219181474425008000033548592167404337912144533325861694099011645797877749913713849629172340348145225610965981258760652487706685987261001228380423453952823347628989002763124879551937268312425250223671195130508506000201608348923316904560366160678043300468083770022805967234317543288103886143509694186913372307538071559470838796314015231511847174510210638668553136388941974102271117392723688566739599867078593500265704258094828087715221465678614696337439939847232203770057533004566017370811092326002292759518569127881628879
+Modulus:21041602163541629292619143577028674538062726383004618529874270635066507030633323055258938063644490499889323585633716757733844445502942124567155073292996288457793122056192457557282361716560325478777498942262807210016232665217011891791923282117831080393012563898383985791719528845612799395459822432361593594016994915954387840027898729909837640568462274178945737588177207012845396344276953582775129329998720917716944120354258951273647857818070482269904628377624752858849166875322338871433413567650362341119471455110229660504335324889940331128490019494429833569795191157737058317736968986683940692596045355478358831333289
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100dc443f26cf630003932eeaa7a325cc5e3bd0f68abc12c3fc98eaac8f5bd876a0d4bdbcc59bd854e5ebff5c9c1ee3e899e0ccdefd7e4ee47aded3ab16ccf3ed48b5cda0f00345265691376c370b7af1dbc28c684897379a7b9cd1820e66002753e9c40df4e56cc3cda811b4928f97839eaec26fdbba7bb95f38a61870a4c6083be004752c6e8eaff5c31e46d7067d5d9c87c782b818ef5462d621d5414fed40baa5977d06ebd998a2aa1dd5f5e4703319443fc19f07ede774785f6f03d2540c147add8e20c5ed53e377373aa0352bece3c1478145232a5ebce40cf3ca373d601d1890fce7f6f0415a4557f38aa20ab927547329c9e68cec45aef8441ebcda5ccf0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100a6ae7d155f384e9817b3f9ff09ae112ef49e11df2a0c773801224d710e5e84c126a027a240bbadf145129e9ad7df32f4d69df8aa2c7d069caa109f7cc1b6079d8e8f1271274dc2fd7607d587f5724f7d5dacea5f7123dfa09b8f96d7385e4d5e186f18d5a3ed935304cab40ab9670d84ecb84b5a593e1348cb4fb423b64b9342fb776bc1ecc0229c1582691f54d4694b0c9a7e5b93b450a1b6f7d4c43104d8c012ac0310e27d759fa14fef8e457478fd93831887ab6ace505a6bac5b2cdd8e646651c44360f31ee685bf2201435d86cb1f9ec4da2e3292e777aaf507ff7d9e89c0db121ba3c3238eee8eac0873eeafdb11da4f394abe1c0da75a86e5a48effa90203010001
Private key:
-D:965097045918139922335882323352382043231971417365747668887548791075496361559800620280135698587463372200407817854822935791667775202644826141336422762104869674918854615040691574648976249915063428511220477144493999739040929095651703460500086302443148013420023397576711656846148294957652237107321189212381660181997270678604835996761394708919026435975971078426380197529994783125400341172795231740965734972265882502272905322949854496859438860871014820782734475706704253013976130643743859071631617445341262352627342718358146694626404804635941467073789743383406235574682192560107175110052622612122368675283835776149344062529
-encoded:308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100dc443f26cf630003932eeaa7a325cc5e3bd0f68abc12c3fc98eaac8f5bd876a0d4bdbcc59bd854e5ebff5c9c1ee3e899e0ccdefd7e4ee47aded3ab16ccf3ed48b5cda0f00345265691376c370b7af1dbc28c684897379a7b9cd1820e66002753e9c40df4e56cc3cda811b4928f97839eaec26fdbba7bb95f38a61870a4c6083be004752c6e8eaff5c31e46d7067d5d9c87c782b818ef5462d621d5414fed40baa5977d06ebd998a2aa1dd5f5e4703319443fc19f07ede774785f6f03d2540c147add8e20c5ed53e377373aa0352bece3c1478145232a5ebce40cf3ca373d601d1890fce7f6f0415a4557f38aa20ab927547329c9e68cec45aef8441ebcda5ccf02030100010282010007a5216bff6c0d916787b6ad4ad9ad00e2f7f06c05a06bc7ab51b9db8a9c8b6c2ef61c448a3c354b7afd74ac16866289b4bbbcf6f4c3583acb867291c006020906b109bcf58ac38c8da316d11cf23a22c93086636946e21dc2e64d554d4504186d82032f54d1deef41be1b93b002da414fb4d547bdc3e83dddd6d0a7ad90675e06ccd6c80db839fa2defe4b72fb05a9e2da31f439e8b86a43a7413688c251c551ffa4b1eae4c9c7c380195435369f4742eb1d502fdeb3926dd9252a37073e32114d4144ff79d8be7096d932b4698b7905e29c821b855291fcb30385d7314d47603620b66e49cfef76cb302681bae415c4a40830760be3dfcc6c34e79d8d18c4102818100fc451b309d4c26b9d1759aa334a0093a33557404281de71929f704b2942e66a455d6931e840ed6fe7f5cb47229802b95186445016428f033657acba8ece43d5a08b9922b3e07494fb287e774c38f6050dfcf1be9adfea43dd61e6fe59359d4218e110a14aa643b025c3524358e94272a9cf471ab6e4bd8d8e8dfe6772dc1bc2d02818100df86004c57ae4ff0ec9fabb4acb3a761b36fb4825e282d63f5a96798b0011fc34b5138baa0be703751b788cd7b9e69906c017c12a7df2e3d9db6b2500b53cb2afe9d673eeaeabf550b4b2b288b45b8de7749782bafd1d4595ac29929e128066919f307ba6337e3a1ed5d221d2b5b4adf7fbba61fd88f3fcd7a27fb8953974e6b02818100d8e230f622c60da543c770235063268bbb0684afee2d8739c33273ff7416507888b3e9d81a8107a5d5a9c6194044c9336dbd06f6a33def04c1024985f9e4603abfb58b4d520ec1a09b44ec611ea06d961a54dd12925c92a7f72643dd84497e6f3accbb75f8e823336c42e3d687b627d6230aa58f554c302a8c4bb2c053be742102818100ba6986d62449bb61b1f577bdb64a1dcddd57cbb2edd3940749597e8c583c97c0c78f75402fcea2c77fdf10b84de04f29a2e99a0ff4f0ac1fb6e826cd9aa4c74b940cb18e475c7f34edb642c80d5e984ef02cd58b9995e502a02eaa8dc2b91e9f8884a66d4b51d105ba6f7183e224c0cca43a5ad1344a436b99f4be5248e4670102818100be1d1c6820b10f1d57d0ed6a5c7e5f6a35fa6d44738833132566a8e422eaa27183ea2c21a01737e0a82a1abe7f4559eea873652dbc2a983a4d13e1c8f880111e05c412e82fc5782a3d7faeda07eb8eaffb98602aede044623fde7fd9110c91c85fc6f2ed56691d61608ad6baba59e7bb8e2bc6067d81e57a7838a961d67fc2b9
-Signature:0db820e19e4f71648476e8c9c5865450809a0c2911ce94a127dc6ea84b1e72f2ec2d5de2e67bf2bc7a44a2f5464cb8322a720dba4fa2fed0cb8f002540218ffbba8e6ce05b45c371ead23192ceb5f76133bdde059e21bdfcc59415174245d4a02a935a8256f2aa66b45922d437e541dc01cac58219a75a935ec6fdc366d602e4adf2445b9851afeed4667fd526218338536a3aa481a8b97442ee07000bf3b8e4a77adf1e0a12275d2d28bfb856e016a2c7a895d5ad6aabb89623f956837c770510135f036cacf62d5936ae17defd8cf9571278f4625ad3a04a9194b4ea3b2ccb9593f92ca70e8334443e92ab9fe9cc1b429786a3c7efabba3e44aab3e945a80b
+D:2157071640992941947334508996784520955856606607019188086011875539949865381163464622224959570633314149617871134017122023236260950411393818208102771868089713657989884958642126220281696556032631135529038964914363950752919101595442183728337222804044251546766786861639879892910381228149741256670229290504926477583673662684854670600103564992313547223787228135436809408840398211635916980092559587609071934619204368588253862999778434711265767424528974177669688989047437862117643497147576859749367957190510379191429372291521223569573280668121942472713232818302154312703834425502795446414175543453031034217498614924031817061763
+encoded:308204bf020100300d06092a864886f70d0101010500048204a9308204a50201000282010100a6ae7d155f384e9817b3f9ff09ae112ef49e11df2a0c773801224d710e5e84c126a027a240bbadf145129e9ad7df32f4d69df8aa2c7d069caa109f7cc1b6079d8e8f1271274dc2fd7607d587f5724f7d5dacea5f7123dfa09b8f96d7385e4d5e186f18d5a3ed935304cab40ab9670d84ecb84b5a593e1348cb4fb423b64b9342fb776bc1ecc0229c1582691f54d4694b0c9a7e5b93b450a1b6f7d4c43104d8c012ac0310e27d759fa14fef8e457478fd93831887ab6ace505a6bac5b2cdd8e646651c44360f31ee685bf2201435d86cb1f9ec4da2e3292e777aaf507ff7d9e89c0db121ba3c3238eee8eac0873eeafdb11da4f394abe1c0da75a86e5a48effa9020301000102820100111659375c2c1b0e877b8958e666a457527773f0935074d656736c49f745a44962cacf55585a8521f3494dde24dc3a4e9443dc8ea181edb018d51c6c7f35488193f041dd3cc0c189175505446b5a9d20867e680681c44234264e6991c5b3112e60c5dedf63ef4287a3b99e0c6d664da1ff5c83490f56084711a4a99c719f3cc8da07869f7bf2de902114e42d2e263c9034de0e14ffb885b55292670be9c90459232bd7f227268bd06c67fea3cb93e6435816aa8768face5338c8df96b83eb7d8bcd681cd93e945c5c1ceadb843df2082d35ce7280c6179909ce5be1a1759e7e51753f2856fc044d2103f76f528b3eff6346ebeb76e88c8abad33ebf43076958302818100e50325a6d3e2391c1dc9197aba81344d9ae69542d5702aac1a4dd636694e5681beadcbc5bc86f50628f853549fda9af16a610b3bf664aa75aaf111b29d5e0fae38d9e36fb365a3e9b2da32faa7617f06a558f3596e7ef409d12ae75420c4ddfda17c106cc710a9de5146042d72e49201c6b2b5471cb3178fc26082e282b5c1f702818100ba52f24217f53b2ce07fb51c4b176a03779950e882eb3783197bbb5d69f138b766e98a4d7ced56f8e95c6dba41fd8d86673420b008b10af3cf8a22e032c6622c71d12b426154f24eef305227a44b938d896de71c0eeb1ee8fcd94ae26f3fd20e5f27c30b803fe9e96ca99091c33667eac4a6800c3bb6cceb41cb29412152e35f02818100d19b9fcaa2045ce12f21f10033d42e5b197c1301a8f9911514be496263e01fad8128f1697ab4cb6f67f061d502bac33653779f20b2d45070829542ed88bb9efe876a6690c6523144a53eb18a59c912cab26c47cf83230f9a2ca86832c80b6863cc7a114e7ea4f1d559ee0bc4cd74076f38be38cd6da73dd986bf6f0c833678e10281810092033a71ed107285229131beb061f2e430af67262ea261e84cea17d486975098f8feff30e63ba03283bdb907837b4d930c015fb453bb5a17e2861ffa8e0fc5138b461d9e7163fe57393e26c3860eebdcb8dbf58699724bd0cd8503181b9269ec754955a207a90e87ac6ddd2b3d4dbf75cd11a5baf078ba718a27c9768ec4c40502818100dd91d7f72bab1ca83da75e581f4dba02184f7db89e78fef1128b695ddc7d9904c3e5617b3c76844e1fa30e9e9df897c4a00751a6491a0f08f410964b9fa894c80144d41cafc95f0ac5921f4393f860be24b92299d47ecfc8c32acf04db24911e6752adfdab8a1ede59d3e8175683c0b7962d2994f1152c74d5cd9ee12ebb350d
+Signature:935805009b8a737f880c70123725242812cf06c9770018b7f18a412cf8ad013708a2dc838330051d35bb21c2726cd51bda7d94a2a5f8230fd5e58f531b45400c3957f709a8fcb3f59d8b20fc59b50b4ac41f7b0ad3f1c109bbec7c6ff981f4236929dadfc0b755e8002266873e9d607dad0ad6084428dc5e29a6f821e78166c49d33a424c5ed4cdf62e0f6adf5ceb9de0f3c40cd7263ab8dcf2a3d8de6e92e208a636d838e14c44363433d255cae8e721d38521fee09855c0bf83e755dc3d1531479c494d3d866727c53288c3e3fd408d58a50efb9d05cff064949bce138f26e20710990a35c4f5818faf0c70b9757378f8112c9e92c8498c8ea5a010c671a8e
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 74.775
-There were 37 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 78.324
+There were 21 failures:
+1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1037,7 +964,7 @@ java.lang.AssertionError: expected:<26> but was:<22>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-4) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1079,7 +1006,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-5) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1121,7 +1048,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-6) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
@@ -1157,192 +1084,7 @@ java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d85
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:3ba697fb542d69be3358db2fb8f97f36 pt: 3ba697fb542d69be3358db2fb8f97f36
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:b76f4b4ec207d72cdb438bde06cd0fbe pt: b76f4b4ec207d72cdb438bde06cd0fbe
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:7dc7e4f192cd6e13a350e558b478cc21 pt: 7dc7e4f192cd6e13a350e558b478cc21
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:d954ce42d92de5dcd99bbbaa8bce4b5d pt: d954ce42d92de5dcd99bbbaa8bce4b5d
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
@@ -1378,136 +1120,12 @@ java.lang.AssertionError: Generated secrets with weak public key:0 secret:000000
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testDhiesCorrupt(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesCorrupt(DhiesTest.java:129)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testDhiesBasic(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testDhiesBasic(DhiesTest.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
+6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:b866de368c1ec367bcdb391a99858fb1154c38ae519cb241a0b837302058cde3a1a0779c750dc9d4f703aa5818885ec3b88f5bace971c207ac8e6ed3f84130bee9ed04e94fb02dea071a583d22640b9f5be4b13ceb929fab4f483a6828daf72d7731ed6eeb9e3a84596706c7215e6d6d2484471196a2b836901497c443d8863f61b85a704e9745646e4858833186220391d711e20fcb6b8813f727a199753ae19067d39d45dffa25a06794af381610567f314d129928c676123d32be31e36a2cc0b979396d7972e4c3fbbc0aa61237690d4cff6b9939c0889371cf0a69df015d6a38670e40b08a3ece2f5bacd98b53417b910c646b35e36743970788f5b41f41872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0872fe0af007c14a927c0f612cfe2aee0209cf8a6e22b17a447fbfc7eeff1a6d0dad7544bc2e8f14e29cc002d70aa0cec44e551da
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithAes(DhiesTest.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1540,15 +1158,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:196)
+7) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
+java.lang.AssertionError: Ciphertext repeats at 256:a134c14b6ffa795da6a85302fefb74e95cc90387359a68957decb58a5f847e68decbe0b795631f686c0bdd9fcf8bf0af6b1ba8566c484214dec53e6320010a7cc9396dbb22edb1aa69a6f29bbe041c85ae25a20342a34a7653ce077de220ef3fa4f92c2892167933e170b5082b85f1b04efd4124f2e591e6bdbd624575da211afda26a21f619e016cf266c43c440cb963df2f4a193f59d792922d738319768e9acfc24dbd84cb120274c8609f2208d859d65f85944eae958baad2e2e0167edbd802edb8a28b09398ccd095761437f7c48d7177359938ad54ba299d5aadde5b91923235cab582e8adc113098f9ea04ef1cec186b9a66a444e7b8cd8c5a462bf5debdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afefebdacb6bdc64afef38df1a86179cfd53b1f9032b5007f3550e610a92d43ffcfbfa17ede4
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:185)
+ at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhiesWithDesede(DhiesTest.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1581,7 +1196,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+8) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1622,7 +1237,7 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
@@ -1660,7 +1275,7 @@ java.lang.AssertionError: Invalid qsize for 2048 bit key:160
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-20) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: DSA default key size too small:1024
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
@@ -1696,7 +1311,7 @@ java.lang.AssertionError: DSA default key size too small:1024
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-21) testTiming(com.google.security.wycheproof.DsaTest)
+11) testTiming(com.google.security.wycheproof.DsaTest)
java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.DsaTest.testTiming(DsaTest.java:1190)
@@ -1732,8 +1347,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[a8cd6bb19fe21c9d4786cdd932474220c95130043ca3f63c232e73c6bb918a5d]> but was:<[5f16ce02e5d7e3b6962c087d5d5d48ddec2e48535fab46b9eed022a56677c7a9]>
+12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[e33456b775320479023fc9011787ec2ba42739362c07a516af6fa568d0f06d2]c> but was:<[15af670fa4208e20e7fdd9ad99a376009e8366ca761a6da9b6bead1dcdaecea]c>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1769,8 +1384,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[a8cd6bb19fe21c9d4786cdd9
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[e4355da5f3f4e5c720f0526cafa98b73249b056a7e5c1a9fe34732c94779d38b]> but was:<[353243b1174f47878b73383ab0d355f0ac45f32723b8e46d2c885a89f73ad7ee]>
+13) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[b89181d8beca2367ae0c3a660961cc24552516629d0cb32929b1bb5fd7b57522]> but was:<[08f821c5945a54db836e7d4e14f998af424f5435c7ec982f0fce201bc3a88d18]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1806,7 +1421,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[e4355
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-24) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+14) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
java.lang.IllegalArgumentException: Invalid point
at org.spongycastle.math.ec.ECAlgorithms.validatePoint(ECAlgorithms.java:214)
at org.spongycastle.math.ec.AbstractECMultiplier.multiply(AbstractECMultiplier.java:22)
@@ -1848,7 +1463,7 @@ java.lang.IllegalArgumentException: Invalid point
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-25) testEncode(com.google.security.wycheproof.EcdhTest)
+15) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1885,7 +1500,7 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-26) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
java.lang.AssertionError: expected:<0> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -1926,258 +1541,12 @@ java.lang.AssertionError: expected:<0> but was:<3>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-27) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-28) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-29) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-30) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-31) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-32) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-33) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+17) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0445e6a294d351c3497db2c5560a6b8bd36912bd97d574f9c4e2954fcd114a4d6693f1c93bdf3aa1ac0698bfd4cf3cf1e5cb87d9ca8e16bb99a07bd6835c644ace3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585be3514c958f2c585bef5f37cfdd6a243345b3b4e3783b22025593eaf89c6240acec7b871ff
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2210,15 +1579,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-34) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:288)
+18) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: Ciphertext repeats:0423acc507fc0e08e1f9e6ef20669d8d095cbea4afe6742432aac439073f1afe4ec43846abeb1ea20bca7ef29fbb904481cfe8c86bdbe5528c4f3de56ca4a0991a39f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c9039f2aa48fda8c112125f632056708c907932d307079dff5e9fcdd6c9697ce55fdd5f36177568e4499af3eee9f9ea2de60e1bc8f9
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.assertTrue(Assert.java:41)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:293)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithAes(EciesTest.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2251,15 +1617,15 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-35) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+19) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.AssertionError: expected:<1> but was:<2>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:555)
+ at org.junit.Assert.assertEquals(Assert.java:542)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:214)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2292,14 +1658,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-36) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+20) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+javax.crypto.ShortBufferException: Need at least 102 bytes of space in output buffer
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:759)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2332,7 +1696,7 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-37) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+21) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -2371,12 +1735,12 @@ java.lang.AssertionError: Exceptions leak information about the padding for RSA/
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 90, Failures: 37
+Tests run: 90, Failures: 21
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 18:52:14 --
+-- JVM shutdown starting at 2018-04-06 22:14:31 --
diff --git a/testlogs/SpongyCastleAllTests_1_56.txt b/testlogs/SpongyCastleAllTests_1_56.txt
index 1c78e21..de56f25 100755
--- a/testlogs/SpongyCastleAllTests_1_56.txt
+++ b/testlogs/SpongyCastleAllTests_1_56.txt
@@ -1,4 +1,1383 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E.Terminated
+....E.....E.........E..
+Provider:SC
+AlgorithmParameterGenerator.1.2.840.113549.3.2
+AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
+AlgorithmParameterGenerator.AES
+AlgorithmParameterGenerator.CAMELLIA
+AlgorithmParameterGenerator.CAST5
+AlgorithmParameterGenerator.CCM
+AlgorithmParameterGenerator.DES
+AlgorithmParameterGenerator.DESEDE
+AlgorithmParameterGenerator.DH
+AlgorithmParameterGenerator.DSA
+AlgorithmParameterGenerator.ELGAMAL
+AlgorithmParameterGenerator.ElGamal
+AlgorithmParameterGenerator.GCM
+AlgorithmParameterGenerator.GOST3410
+AlgorithmParameterGenerator.IDEA
+AlgorithmParameterGenerator.NOEKEON
+AlgorithmParameterGenerator.RC2
+AlgorithmParameterGenerator.SEED
+AlgorithmParameterGenerator.SHACAL-2
+AlgorithmParameterGenerator.SM4
+AlgorithmParameterGenerator.Shacal2
+AlgorithmParameters.1.2.840.113549.3.2
+AlgorithmParameters.1.3.6.1.4.1.188.7.1.1.2
+AlgorithmParameters.AES
+AlgorithmParameters.BLOWFISH
+AlgorithmParameters.CAMELLIA
+AlgorithmParameters.CAST5
+AlgorithmParameters.CCM
+AlgorithmParameters.DES
+AlgorithmParameters.DESEDE
+AlgorithmParameters.DH
+AlgorithmParameters.DSA
+AlgorithmParameters.EC
+AlgorithmParameters.ECIES
+AlgorithmParameters.ELGAMAL
+AlgorithmParameters.ElGamal
+AlgorithmParameters.GCM
+AlgorithmParameters.GOST3410
+AlgorithmParameters.IDEA
+AlgorithmParameters.IES
+AlgorithmParameters.NOEKEON
+AlgorithmParameters.OAEP
+AlgorithmParameters.PBKDF2
+AlgorithmParameters.PKCS12PBE
+AlgorithmParameters.PSS
+AlgorithmParameters.RC2
+AlgorithmParameters.RC5
+AlgorithmParameters.RC5-64
+AlgorithmParameters.RC6
+AlgorithmParameters.RIJNDAEL
+AlgorithmParameters.SEED
+AlgorithmParameters.SHACAL-2
+AlgorithmParameters.SKIPJACK
+AlgorithmParameters.SM4
+AlgorithmParameters.Serpent
+AlgorithmParameters.Shacal2
+AlgorithmParameters.TEA
+AlgorithmParameters.Threefish-1024
+AlgorithmParameters.Threefish-256
+AlgorithmParameters.Threefish-512
+AlgorithmParameters.Tnepres
+AlgorithmParameters.Twofish
+AlgorithmParameters.XTEA
+CertPathBuilder.PKIX
+CertPathBuilder.RFC3280
+CertPathBuilder.RFC3281
+CertPathValidator.PKIX
+CertPathValidator.RFC3280
+CertPathValidator.RFC3281
+CertStore.Collection
+CertStore.LDAP
+CertStore.Multi
+CertificateFactory.X.509
+Cipher.1.2.392.200011.61.1.1.1.2
+Cipher.1.2.392.200011.61.1.1.1.3
+Cipher.1.2.392.200011.61.1.1.1.4
+Cipher.1.2.410.200004.1.4
+Cipher.1.2.643.2.2.21
+Cipher.1.2.840.113533.7.66.10
+Cipher.1.2.840.113549.1.1.1
+Cipher.1.2.840.113549.1.1.7
+Cipher.1.2.840.113549.1.9.16.3.6
+Cipher.1.2.840.113549.3.2
+Cipher.1.2.840.113549.3.7
+Cipher.1.3.14.3.2.7
+Cipher.1.3.6.1.4.1.11591.13.2.1
+Cipher.1.3.6.1.4.1.11591.13.2.2
+Cipher.1.3.6.1.4.1.11591.13.2.21
+Cipher.1.3.6.1.4.1.11591.13.2.22
+Cipher.1.3.6.1.4.1.11591.13.2.23
+Cipher.1.3.6.1.4.1.11591.13.2.24
+Cipher.1.3.6.1.4.1.11591.13.2.3
+Cipher.1.3.6.1.4.1.11591.13.2.4
+Cipher.1.3.6.1.4.1.11591.13.2.41
+Cipher.1.3.6.1.4.1.11591.13.2.42
+Cipher.1.3.6.1.4.1.11591.13.2.43
+Cipher.1.3.6.1.4.1.11591.13.2.44
+Cipher.1.3.6.1.4.1.188.7.1.1.2
+Cipher.1.3.6.1.4.1.3029.1.1.2
+Cipher.2.16.840.1.101.3.4.1.1
+Cipher.2.16.840.1.101.3.4.1.2
+Cipher.2.16.840.1.101.3.4.1.21
+Cipher.2.16.840.1.101.3.4.1.22
+Cipher.2.16.840.1.101.3.4.1.23
+Cipher.2.16.840.1.101.3.4.1.24
+Cipher.2.16.840.1.101.3.4.1.3
+Cipher.2.16.840.1.101.3.4.1.4
+Cipher.2.16.840.1.101.3.4.1.41
+Cipher.2.16.840.1.101.3.4.1.42
+Cipher.2.16.840.1.101.3.4.1.43
+Cipher.2.16.840.1.101.3.4.1.44
+Cipher.2.5.8.1.1
+Cipher.AES
+Cipher.AESRFC3211WRAP
+Cipher.AESRFC5649WRAP
+Cipher.AESWRAP
+Cipher.ARC4
+Cipher.BLOWFISH
+Cipher.BROKENPBEWITHMD5ANDDES
+Cipher.BROKENPBEWITHSHA1ANDDES
+Cipher.BROKENPBEWITHSHAAND2-KEYTRIPLEDES-CBC
+Cipher.BROKENPBEWITHSHAAND3-KEYTRIPLEDES-CBC
+Cipher.CAMELLIA
+Cipher.CAMELLIARFC3211WRAP
+Cipher.CAMELLIAWRAP
+Cipher.CAST5
+Cipher.CAST6
+Cipher.CCM
+Cipher.CHACHA
+Cipher.CHACHA7539
+Cipher.DES
+Cipher.DESEDE
+Cipher.DESEDERFC3211WRAP
+Cipher.DESEDEWRAP
+Cipher.DESRFC3211WRAP
+Cipher.DHIES
+Cipher.DHIESWITHAES-CBC
+Cipher.DHIESWITHDESEDE-CBC
+Cipher.DHIESwithAES-CBC
+Cipher.ECIES
+Cipher.ECIESWITHAES-CBC
+Cipher.ECIESWITHDESEDE-CBC
+Cipher.ECIESwithAES-CBC
+Cipher.ECIESwithDESEDE-CBC
+Cipher.ELGAMAL
+Cipher.ELGAMAL/PKCS1
+Cipher.ElGamal
+Cipher.GCM
+Cipher.GOST28147
+Cipher.Grain128
+Cipher.Grainv1
+Cipher.HC128
+Cipher.HC256
+Cipher.IDEA
+Cipher.IES
+Cipher.IESWITHAES-CBC
+Cipher.IESWITHDESEDE-CBC
+Cipher.IESwithAES-CBC
+Cipher.NOEKEON
+Cipher.OID.1.2.392.200011.61.1.1.1.2
+Cipher.OID.1.2.392.200011.61.1.1.1.3
+Cipher.OID.1.2.392.200011.61.1.1.1.4
+Cipher.OID.1.2.410.200004.1.4
+Cipher.OID.1.2.840.113533.7.66.10
+Cipher.OID.1.2.840.113549.1.1.1
+Cipher.OID.1.2.840.113549.1.1.7
+Cipher.OID.1.2.840.113549.1.9.16.3.6
+Cipher.OID.1.2.840.113549.3.2
+Cipher.OID.1.2.840.113549.3.7
+Cipher.OID.1.3.14.3.2.7
+Cipher.OID.1.3.6.1.4.1.11591.13.2.1
+Cipher.OID.1.3.6.1.4.1.11591.13.2.2
+Cipher.OID.1.3.6.1.4.1.11591.13.2.21
+Cipher.OID.1.3.6.1.4.1.11591.13.2.22
+Cipher.OID.1.3.6.1.4.1.11591.13.2.23
+Cipher.OID.1.3.6.1.4.1.11591.13.2.24
+Cipher.OID.1.3.6.1.4.1.11591.13.2.3
+Cipher.OID.1.3.6.1.4.1.11591.13.2.4
+Cipher.OID.1.3.6.1.4.1.11591.13.2.41
+Cipher.OID.1.3.6.1.4.1.11591.13.2.42
+Cipher.OID.1.3.6.1.4.1.11591.13.2.43
+Cipher.OID.1.3.6.1.4.1.11591.13.2.44
+Cipher.OID.1.3.6.1.4.1.188.7.1.1.2
+Cipher.OID.1.3.6.1.4.1.3029.1.1.2
+Cipher.OID.2.16.840.1.101.3.4.1.1
+Cipher.OID.2.16.840.1.101.3.4.1.2
+Cipher.OID.2.16.840.1.101.3.4.1.21
+Cipher.OID.2.16.840.1.101.3.4.1.22
+Cipher.OID.2.16.840.1.101.3.4.1.23
+Cipher.OID.2.16.840.1.101.3.4.1.24
+Cipher.OID.2.16.840.1.101.3.4.1.3
+Cipher.OID.2.16.840.1.101.3.4.1.4
+Cipher.OID.2.16.840.1.101.3.4.1.41
+Cipher.OID.2.16.840.1.101.3.4.1.42
+Cipher.OID.2.16.840.1.101.3.4.1.43
+Cipher.OID.2.16.840.1.101.3.4.1.44
+Cipher.OID.2.5.8.1.1
+Cipher.OLDPBEWITHSHAAND3-KEYTRIPLEDES-CBC
+Cipher.OLDPBEWITHSHAANDTWOFISH-CBC
+Cipher.PBEWITHMD2ANDDES
+Cipher.PBEWITHMD5AND128BITAES-CBC-OPENSSL
+Cipher.PBEWITHMD5AND192BITAES-CBC-OPENSSL
+Cipher.PBEWITHMD5AND256BITAES-CBC-OPENSSL
+Cipher.PBEWITHMD5ANDDES
+Cipher.PBEWITHMD5ANDRC2
+Cipher.PBEWITHSHA1ANDDES
+Cipher.PBEWITHSHA1ANDRC2
+Cipher.PBEWITHSHA256AND128BITAES-CBC-BC
+Cipher.PBEWITHSHA256AND192BITAES-CBC-BC
+Cipher.PBEWITHSHA256AND256BITAES-CBC-BC
+Cipher.PBEWITHSHAAND128BITAES-CBC-BC
+Cipher.PBEWITHSHAAND128BITRC2-CBC
+Cipher.PBEWITHSHAAND128BITRC4
+Cipher.PBEWITHSHAAND192BITAES-CBC-BC
+Cipher.PBEWITHSHAAND2-KEYTRIPLEDES-CBC
+Cipher.PBEWITHSHAAND256BITAES-CBC-BC
+Cipher.PBEWITHSHAAND3-KEYTRIPLEDES-CBC
+Cipher.PBEWITHSHAAND40BITRC2-CBC
+Cipher.PBEWITHSHAAND40BITRC4
+Cipher.PBEWITHSHAANDIDEA-CBC
+Cipher.PBEWITHSHAANDTWOFISH-CBC
+Cipher.RC2
+Cipher.RC2WRAP
+Cipher.RC5
+Cipher.RC5-64
+Cipher.RC6
+Cipher.RIJNDAEL
+Cipher.RSA
+Cipher.RSA/1
+Cipher.RSA/2
+Cipher.RSA/ISO9796-1
+Cipher.RSA/OAEP
+Cipher.RSA/PKCS1
+Cipher.RSA/RAW
+Cipher.SALSA20
+Cipher.SEED
+Cipher.SEEDWRAP
+Cipher.SHACAL-2
+Cipher.SKIPJACK
+Cipher.SM4
+Cipher.Serpent
+Cipher.Shacal2
+Cipher.TEA
+Cipher.Threefish-1024
+Cipher.Threefish-256
+Cipher.Threefish-512
+Cipher.Tnepres
+Cipher.Twofish
+Cipher.VMPC
+Cipher.VMPC-KSA3
+Cipher.XSALSA20
+Cipher.XTEA
+KeyAgreement.1.2.840.113549.1.9.16.3.10
+KeyAgreement.1.2.840.113549.1.9.16.3.5
+KeyAgreement.1.3.132.1.11.0
+KeyAgreement.1.3.132.1.11.1
+KeyAgreement.1.3.132.1.11.2
+KeyAgreement.1.3.132.1.11.3
+KeyAgreement.1.3.132.1.14.0
+KeyAgreement.1.3.132.1.14.1
+KeyAgreement.1.3.132.1.14.2
+KeyAgreement.1.3.132.1.14.3
+KeyAgreement.1.3.132.1.15.0
+KeyAgreement.1.3.132.1.15.1
+KeyAgreement.1.3.132.1.15.2
+KeyAgreement.1.3.132.1.15.3
+KeyAgreement.1.3.133.16.840.63.0.16
+KeyAgreement.1.3.133.16.840.63.0.2
+KeyAgreement.1.3.133.16.840.63.0.3
+KeyAgreement.DH
+KeyAgreement.ECCDH
+KeyAgreement.ECCDHWITHSHA1CKDF
+KeyAgreement.ECCDHWITHSHA256CKDF
+KeyAgreement.ECCDHWITHSHA384CKDF
+KeyAgreement.ECCDHWITHSHA512CKDF
+KeyAgreement.ECDH
+KeyAgreement.ECDHC
+KeyAgreement.ECDHWITHSHA1KDF
+KeyAgreement.ECMQV
+KeyAgreement.ECMQVWITHSHA1CKDF
+KeyAgreement.ECMQVWITHSHA224CKDF
+KeyAgreement.ECMQVWITHSHA256CKDF
+KeyAgreement.ECMQVWITHSHA384CKDF
+KeyAgreement.ECMQVWITHSHA512CKDF
+KeyAgreement.OID.1.2.840.113549.1.9.16.3.10
+KeyAgreement.OID.1.2.840.113549.1.9.16.3.5
+KeyFactory.DH
+KeyFactory.DSA
+KeyFactory.DSTU4145
+KeyFactory.EC
+KeyFactory.ECDH
+KeyFactory.ECDHC
+KeyFactory.ECDSA
+KeyFactory.ECGOST3410
+KeyFactory.ECMQV
+KeyFactory.ELGAMAL
+KeyFactory.ElGamal
+KeyFactory.GOST3410
+KeyFactory.RSA
+KeyFactory.X.509
+KeyGenerator.1.2.392.200011.61.1.1.1.2
+KeyGenerator.1.2.392.200011.61.1.1.1.3
+KeyGenerator.1.2.392.200011.61.1.1.1.4
+KeyGenerator.1.2.392.200011.61.1.1.3.2
+KeyGenerator.1.2.392.200011.61.1.1.3.3
+KeyGenerator.1.2.392.200011.61.1.1.3.4
+KeyGenerator.1.2.410.200004.1.4
+KeyGenerator.1.2.410.200004.7.1.1.1
+KeyGenerator.1.2.840.113549.3.2
+KeyGenerator.1.2.840.113549.3.7
+KeyGenerator.1.3.6.1.4.1.188.7.1.1.2
+KeyGenerator.2.16.840.1.101.3.4.1.1
+KeyGenerator.2.16.840.1.101.3.4.1.2
+KeyGenerator.2.16.840.1.101.3.4.1.21
+KeyGenerator.2.16.840.1.101.3.4.1.22
+KeyGenerator.2.16.840.1.101.3.4.1.23
+KeyGenerator.2.16.840.1.101.3.4.1.24
+KeyGenerator.2.16.840.1.101.3.4.1.25
+KeyGenerator.2.16.840.1.101.3.4.1.26
+KeyGenerator.2.16.840.1.101.3.4.1.27
+KeyGenerator.2.16.840.1.101.3.4.1.3
+KeyGenerator.2.16.840.1.101.3.4.1.4
+KeyGenerator.2.16.840.1.101.3.4.1.41
+KeyGenerator.2.16.840.1.101.3.4.1.42
+KeyGenerator.2.16.840.1.101.3.4.1.43
+KeyGenerator.2.16.840.1.101.3.4.1.44
+KeyGenerator.2.16.840.1.101.3.4.1.45
+KeyGenerator.2.16.840.1.101.3.4.1.46
+KeyGenerator.2.16.840.1.101.3.4.1.47
+KeyGenerator.2.16.840.1.101.3.4.1.5
+KeyGenerator.2.16.840.1.101.3.4.1.6
+KeyGenerator.2.16.840.1.101.3.4.1.7
+KeyGenerator.2.16.840.1.101.3.4.2
+KeyGenerator.2.16.840.1.101.3.4.22
+KeyGenerator.2.16.840.1.101.3.4.42
+KeyGenerator.AES
+KeyGenerator.AES-GMAC
+KeyGenerator.AESWRAP
+KeyGenerator.ARC4
+KeyGenerator.BLOWFISH
+KeyGenerator.CAMELLIA
+KeyGenerator.CAMELLIA-GMAC
+KeyGenerator.CAST5
+KeyGenerator.CAST6
+KeyGenerator.CAST6-GMAC
+KeyGenerator.CHACHA
+KeyGenerator.CHACHA7539
+KeyGenerator.DES
+KeyGenerator.DESEDE
+KeyGenerator.DESEDEWRAP
+KeyGenerator.GOST28147
+KeyGenerator.Grain128
+KeyGenerator.Grainv1
+KeyGenerator.HC128
+KeyGenerator.HC256
+KeyGenerator.HMACGOST3411
+KeyGenerator.HMACGOST3411-2012-256
+KeyGenerator.HMACGOST3411-2012-512
+KeyGenerator.HMACKECCAK224
+KeyGenerator.HMACKECCAK256
+KeyGenerator.HMACKECCAK288
+KeyGenerator.HMACKECCAK384
+KeyGenerator.HMACKECCAK512
+KeyGenerator.HMACMD2
+KeyGenerator.HMACMD4
+KeyGenerator.HMACMD5
+KeyGenerator.HMACRIPEMD128
+KeyGenerator.HMACRIPEMD160
+KeyGenerator.HMACRIPEMD256
+KeyGenerator.HMACRIPEMD320
+KeyGenerator.HMACSHA1
+KeyGenerator.HMACSHA224
+KeyGenerator.HMACSHA256
+KeyGenerator.HMACSHA3-224
+KeyGenerator.HMACSHA3-256
+KeyGenerator.HMACSHA3-384
+KeyGenerator.HMACSHA3-512
+KeyGenerator.HMACSHA384
+KeyGenerator.HMACSHA512
+KeyGenerator.HMACSHA512/224
+KeyGenerator.HMACSHA512/256
+KeyGenerator.HMACSkein-1024-1024
+KeyGenerator.HMACSkein-1024-384
+KeyGenerator.HMACSkein-1024-512
+KeyGenerator.HMACSkein-256-128
+KeyGenerator.HMACSkein-256-160
+KeyGenerator.HMACSkein-256-224
+KeyGenerator.HMACSkein-256-256
+KeyGenerator.HMACSkein-512-128
+KeyGenerator.HMACSkein-512-160
+KeyGenerator.HMACSkein-512-224
+KeyGenerator.HMACSkein-512-256
+KeyGenerator.HMACSkein-512-384
+KeyGenerator.HMACSkein-512-512
+KeyGenerator.HMACTIGER
+KeyGenerator.HMACWHIRLPOOL
+KeyGenerator.IDEA
+KeyGenerator.NOEKEON
+KeyGenerator.NOEKEON-GMAC
+KeyGenerator.OID.1.2.392.200011.61.1.1.1.2
+KeyGenerator.OID.1.2.392.200011.61.1.1.1.3
+KeyGenerator.OID.1.2.392.200011.61.1.1.1.4
+KeyGenerator.OID.1.2.392.200011.61.1.1.3.2
+KeyGenerator.OID.1.2.392.200011.61.1.1.3.3
+KeyGenerator.OID.1.2.392.200011.61.1.1.3.4
+KeyGenerator.OID.1.2.410.200004.1.4
+KeyGenerator.OID.1.2.410.200004.7.1.1.1
+KeyGenerator.OID.1.3.6.1.4.1.188.7.1.1.2
+KeyGenerator.OID.2.16.840.1.101.3.4.1.1
+KeyGenerator.OID.2.16.840.1.101.3.4.1.2
+KeyGenerator.OID.2.16.840.1.101.3.4.1.21
+KeyGenerator.OID.2.16.840.1.101.3.4.1.22
+KeyGenerator.OID.2.16.840.1.101.3.4.1.23
+KeyGenerator.OID.2.16.840.1.101.3.4.1.24
+KeyGenerator.OID.2.16.840.1.101.3.4.1.25
+KeyGenerator.OID.2.16.840.1.101.3.4.1.26
+KeyGenerator.OID.2.16.840.1.101.3.4.1.27
+KeyGenerator.OID.2.16.840.1.101.3.4.1.3
+KeyGenerator.OID.2.16.840.1.101.3.4.1.4
+KeyGenerator.OID.2.16.840.1.101.3.4.1.41
+KeyGenerator.OID.2.16.840.1.101.3.4.1.42
+KeyGenerator.OID.2.16.840.1.101.3.4.1.43
+KeyGenerator.OID.2.16.840.1.101.3.4.1.44
+KeyGenerator.OID.2.16.840.1.101.3.4.1.45
+KeyGenerator.OID.2.16.840.1.101.3.4.1.46
+KeyGenerator.OID.2.16.840.1.101.3.4.1.47
+KeyGenerator.OID.2.16.840.1.101.3.4.1.5
+KeyGenerator.OID.2.16.840.1.101.3.4.1.6
+KeyGenerator.OID.2.16.840.1.101.3.4.1.7
+KeyGenerator.POLY1305
+KeyGenerator.POLY1305-AES
+KeyGenerator.POLY1305-CAMELLIA
+KeyGenerator.POLY1305-CAST6
+KeyGenerator.POLY1305-NOEKEON
+KeyGenerator.POLY1305-RC6
+KeyGenerator.POLY1305-SEED
+KeyGenerator.POLY1305-SERPENT
+KeyGenerator.POLY1305-SM4
+KeyGenerator.POLY1305-Twofish
+KeyGenerator.RC2
+KeyGenerator.RC5
+KeyGenerator.RC5-64
+KeyGenerator.RC6
+KeyGenerator.RC6-GMAC
+KeyGenerator.RIJNDAEL
+KeyGenerator.SALSA20
+KeyGenerator.SEED
+KeyGenerator.SEED-CMAC
+KeyGenerator.SEED-GMAC
+KeyGenerator.SERPENT-GMAC
+KeyGenerator.SHACAL-2
+KeyGenerator.SIPHASH
+KeyGenerator.SKIPJACK
+KeyGenerator.SM4
+KeyGenerator.SM4-CMAC
+KeyGenerator.SM4-GMAC
+KeyGenerator.Serpent
+KeyGenerator.Shacal2
+KeyGenerator.Skein-MAC-1024-1024
+KeyGenerator.Skein-MAC-1024-384
+KeyGenerator.Skein-MAC-1024-512
+KeyGenerator.Skein-MAC-256-128
+KeyGenerator.Skein-MAC-256-160
+KeyGenerator.Skein-MAC-256-224
+KeyGenerator.Skein-MAC-256-256
+KeyGenerator.Skein-MAC-512-128
+KeyGenerator.Skein-MAC-512-160
+KeyGenerator.Skein-MAC-512-224
+KeyGenerator.Skein-MAC-512-256
+KeyGenerator.Skein-MAC-512-384
+KeyGenerator.Skein-MAC-512-512
+KeyGenerator.TEA
+KeyGenerator.TNEPRES-GMAC
+KeyGenerator.Threefish-1024
+KeyGenerator.Threefish-256
+KeyGenerator.Threefish-512
+KeyGenerator.Tnepres
+KeyGenerator.Twofish
+KeyGenerator.Twofish-GMAC
+KeyGenerator.VMPC
+KeyGenerator.VMPC-KSA3
+KeyGenerator.XSALSA20
+KeyGenerator.XTEA
+KeyPairGenerator.DH
+KeyPairGenerator.DSA
+KeyPairGenerator.DSTU4145
+KeyPairGenerator.EC
+KeyPairGenerator.ECDH
+KeyPairGenerator.ECDHC
+KeyPairGenerator.ECDHWITHSHA1KDF
+KeyPairGenerator.ECDSA
+KeyPairGenerator.ECGOST3410
+KeyPairGenerator.ECIES
+KeyPairGenerator.ECMQV
+KeyPairGenerator.ELGAMAL
+KeyPairGenerator.ElGamal
+KeyPairGenerator.GOST3410
+KeyPairGenerator.RSA
+KeyStore.BCFKS
+KeyStore.BCFKS-DEF
+KeyStore.BCPKCS12
+KeyStore.BKS
+KeyStore.BKS-V1
+KeyStore.BouncyCastle
+KeyStore.PKCS12
+KeyStore.PKCS12-3DES-3DES
+KeyStore.PKCS12-3DES-40RC2
+KeyStore.PKCS12-DEF
+KeyStore.PKCS12-DEF-3DES-3DES
+KeyStore.PKCS12-DEF-3DES-40RC2
+Mac.AES-GMAC
+Mac.AESCCMMAC
+Mac.AESCMAC
+Mac.BLOWFISHCMAC
+Mac.CAMELLIA-GMAC
+Mac.CAST6-GMAC
+Mac.DESCMAC
+Mac.DESEDECMAC
+Mac.DESEDEMAC
+Mac.DESEDEMAC/CFB8
+Mac.DESEDEMAC64
+Mac.DESEDEMAC64WITHISO7816-4PADDING
+Mac.DESMAC
+Mac.DESMAC/CFB8
+Mac.DESMAC64
+Mac.DESMAC64WITHISO7816-4PADDING
+Mac.DESWITHISO9797
+Mac.GOST28147MAC
+Mac.HMACGOST3411
+Mac.HMACGOST3411-2012-256
+Mac.HMACGOST3411-2012-512
+Mac.HMACKECCAK224
+Mac.HMACKECCAK256
+Mac.HMACKECCAK288
+Mac.HMACKECCAK384
+Mac.HMACKECCAK512
+Mac.HMACMD2
+Mac.HMACMD4
+Mac.HMACMD5
+Mac.HMACRIPEMD128
+Mac.HMACRIPEMD160
+Mac.HMACRIPEMD256
+Mac.HMACRIPEMD320
+Mac.HMACSHA1
+Mac.HMACSHA224
+Mac.HMACSHA256
+Mac.HMACSHA3-224
+Mac.HMACSHA3-256
+Mac.HMACSHA3-384
+Mac.HMACSHA3-512
+Mac.HMACSHA384
+Mac.HMACSHA512
+Mac.HMACSHA512/224
+Mac.HMACSHA512/256
+Mac.HMACSkein-1024-1024
+Mac.HMACSkein-1024-384
+Mac.HMACSkein-1024-512
+Mac.HMACSkein-256-128
+Mac.HMACSkein-256-160
+Mac.HMACSkein-256-224
+Mac.HMACSkein-256-256
+Mac.HMACSkein-512-128
+Mac.HMACSkein-512-160
+Mac.HMACSkein-512-224
+Mac.HMACSkein-512-256
+Mac.HMACSkein-512-384
+Mac.HMACSkein-512-512
+Mac.HMACTIGER
+Mac.HMACWHIRLPOOL
+Mac.IDEAMAC
+Mac.IDEAMAC/CFB8
+Mac.ISO9797ALG3MAC
+Mac.ISO9797ALG3WITHISO7816-4PADDING
+Mac.NOEKEON-GMAC
+Mac.OLDHMACSHA384
+Mac.OLDHMACSHA512
+Mac.PBEWITHHMACRIPEMD160
+Mac.PBEWITHHMACSHA
+Mac.PBEWITHHMACSHA1
+Mac.PBEWITHHMACSHA224
+Mac.PBEWITHHMACSHA256
+Mac.PBEWITHHMACSHA384
+Mac.PBEWITHHMACSHA512
+Mac.POLY1305
+Mac.POLY1305-AES
+Mac.POLY1305-CAMELLIA
+Mac.POLY1305-CAST6
+Mac.POLY1305-NOEKEON
+Mac.POLY1305-RC6
+Mac.POLY1305-SEED
+Mac.POLY1305-SERPENT
+Mac.POLY1305-SM4
+Mac.POLY1305-Twofish
+Mac.RC2MAC
+Mac.RC2MAC/CFB8
+Mac.RC5MAC
+Mac.RC5MAC/CFB8
+Mac.RC6-GMAC
+Mac.SEED-CMAC
+Mac.SEED-GMAC
+Mac.SERPENT-GMAC
+Mac.SIPHASH-2-4
+Mac.SIPHASH-4-8
+Mac.SKIPJACKMAC
+Mac.SKIPJACKMAC/CFB8
+Mac.SM4-CMAC
+Mac.SM4-GMAC
+Mac.Shacal-2CMAC
+Mac.Skein-MAC-1024-1024
+Mac.Skein-MAC-1024-384
+Mac.Skein-MAC-1024-512
+Mac.Skein-MAC-256-128
+Mac.Skein-MAC-256-160
+Mac.Skein-MAC-256-224
+Mac.Skein-MAC-256-256
+Mac.Skein-MAC-512-128
+Mac.Skein-MAC-512-160
+Mac.Skein-MAC-512-224
+Mac.Skein-MAC-512-256
+Mac.Skein-MAC-512-384
+Mac.Skein-MAC-512-512
+Mac.TNEPRES-GMAC
+Mac.Threefish-1024CMAC
+Mac.Threefish-256CMAC
+Mac.Threefish-512CMAC
+Mac.Twofish-GMAC
+Mac.VMPCMAC
+MessageDigest.2.16.840.1.101.3.4.2.10
+MessageDigest.2.16.840.1.101.3.4.2.7
+MessageDigest.2.16.840.1.101.3.4.2.8
+MessageDigest.2.16.840.1.101.3.4.2.9
+MessageDigest.BLAKE2B-160
+MessageDigest.BLAKE2B-256
+MessageDigest.BLAKE2B-384
+MessageDigest.BLAKE2B-512
+MessageDigest.GOST3411
+MessageDigest.GOST3411-2012-256
+MessageDigest.GOST3411-2012-512
+MessageDigest.KECCAK-224
+MessageDigest.KECCAK-256
+MessageDigest.KECCAK-288
+MessageDigest.KECCAK-384
+MessageDigest.KECCAK-512
+MessageDigest.MD2
+MessageDigest.MD4
+MessageDigest.MD5
+MessageDigest.OID.2.16.840.1.101.3.4.2.10
+MessageDigest.OID.2.16.840.1.101.3.4.2.7
+MessageDigest.OID.2.16.840.1.101.3.4.2.8
+MessageDigest.OID.2.16.840.1.101.3.4.2.9
+MessageDigest.RIPEMD128
+MessageDigest.RIPEMD160
+MessageDigest.RIPEMD256
+MessageDigest.RIPEMD320
+MessageDigest.SHA-1
+MessageDigest.SHA-224
+MessageDigest.SHA-256
+MessageDigest.SHA-384
+MessageDigest.SHA-512
+MessageDigest.SHA-512/224
+MessageDigest.SHA-512/256
+MessageDigest.SHA3-224
+MessageDigest.SHA3-256
+MessageDigest.SHA3-384
+MessageDigest.SHA3-512
+MessageDigest.SM3
+MessageDigest.Skein-1024-1024
+MessageDigest.Skein-1024-384
+MessageDigest.Skein-1024-512
+MessageDigest.Skein-256-128
+MessageDigest.Skein-256-160
+MessageDigest.Skein-256-224
+MessageDigest.Skein-256-256
+MessageDigest.Skein-512-128
+MessageDigest.Skein-512-160
+MessageDigest.Skein-512-224
+MessageDigest.Skein-512-256
+MessageDigest.Skein-512-384
+MessageDigest.Skein-512-512
+MessageDigest.TIGER
+MessageDigest.Tiger
+MessageDigest.WHIRLPOOL
+Provider.id className
+Provider.id info
+Provider.id name
+Provider.id version
+SecretKeyFactory.1.3.14.3.2.17
+SecretKeyFactory.2.16.840.1.101.3.4.1
+SecretKeyFactory.AES
+SecretKeyFactory.DES
+SecretKeyFactory.DESEDE
+SecretKeyFactory.OID.1.3.14.3.2.17
+SecretKeyFactory.OID.2.16.840.1.101.3.4.1
+SecretKeyFactory.PBEWITHHMACGOST3411
+SecretKeyFactory.PBEWITHHMACRIPEMD160
+SecretKeyFactory.PBEWITHHMACSHA1
+SecretKeyFactory.PBEWITHHMACSHA256
+SecretKeyFactory.PBEWITHHMACTIGER
+SecretKeyFactory.PBEWITHMD2ANDDES
+SecretKeyFactory.PBEWITHMD2ANDRC2
+SecretKeyFactory.PBEWITHMD5AND128BITAES-CBC-OPENSSL
+SecretKeyFactory.PBEWITHMD5AND192BITAES-CBC-OPENSSL
+SecretKeyFactory.PBEWITHMD5AND256BITAES-CBC-OPENSSL
+SecretKeyFactory.PBEWITHMD5ANDDES
+SecretKeyFactory.PBEWITHMD5ANDRC2
+SecretKeyFactory.PBEWITHSHA1ANDDES
+SecretKeyFactory.PBEWITHSHA1ANDRC2
+SecretKeyFactory.PBEWITHSHA256AND128BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHA256AND192BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHA256AND256BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND128BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND128BITRC2-CBC
+SecretKeyFactory.PBEWITHSHAAND128BITRC4
+SecretKeyFactory.PBEWITHSHAAND192BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND2-KEYTRIPLEDES-CBC
+SecretKeyFactory.PBEWITHSHAAND256BITAES-CBC-BC
+SecretKeyFactory.PBEWITHSHAAND3-KEYTRIPLEDES-CBC
+SecretKeyFactory.PBEWITHSHAAND40BITRC2-CBC
+SecretKeyFactory.PBEWITHSHAAND40BITRC4
+SecretKeyFactory.PBEWITHSHAANDIDEA-CBC
+SecretKeyFactory.PBEWITHSHAANDTWOFISH-CBC
+SecretKeyFactory.PBKDF-OPENSSL
+SecretKeyFactory.PBKDF2
+SecretKeyFactory.PBKDF2WITHASCII
+SecretKeyFactory.PBKDF2WITHHMACSHA224
+SecretKeyFactory.PBKDF2WITHHMACSHA256
+SecretKeyFactory.PBKDF2WITHHMACSHA384
+SecretKeyFactory.PBKDF2WITHHMACSHA512
+SecretKeyFactory.TLS10KDF
+SecretKeyFactory.TLS11KDF
+SecretKeyFactory.TLS12WITHSHA256KDF
+SecretKeyFactory.TLS12WITHSHA384KDF
+SecretKeyFactory.TLS12WITHSHA512KDF
+SecureRandom.DEFAULT
+SecureRandom.NONCEANDIV
+Signature.1.2.840.113549.1.1.10
+Signature.DDSA
+Signature.DETDSA
+Signature.DSA
+Signature.DSTU4145
+Signature.ECDDSA
+Signature.ECDSA
+Signature.ECGOST3410
+Signature.GOST3410
+Signature.GOST3411WITHDSTU4145
+Signature.GOST3411WITHDSTU4145LE
+Signature.GOST3411WITHECGOST3410
+Signature.MD2WITHRSA
+Signature.MD4WITHRSA
+Signature.MD5WITHRSA
+Signature.MD5WITHRSA/ISO9796-2
+Signature.NONEWITHDSA
+Signature.NONEwithECDSA
+Signature.OID.1.2.840.113549.1.1.10
+Signature.RAWRSASSA-PSS
+Signature.RIPEMD128WITHRSA
+Signature.RIPEMD128WITHRSA/X9.31
+Signature.RIPEMD160WITHECDSA
+Signature.RIPEMD160WITHPLAIN-ECDSA
+Signature.RIPEMD160WITHRSA
+Signature.RIPEMD160WITHRSA/X9.31
+Signature.RIPEMD160withRSA/ISO9796-2
+Signature.RIPEMD256WITHRSA
+Signature.RMD128WITHRSA
+Signature.RMD128WITHRSA/X9.31
+Signature.RMD160WITHRSA
+Signature.RMD160WITHRSA/X9.31
+Signature.RMD256WITHRSA
+Signature.RSA
+Signature.RSASSA-PSS
+Signature.SHA1WITHCVC-ECDSA
+Signature.SHA1WITHDDSA
+Signature.SHA1WITHDETDSA
+Signature.SHA1WITHECDDSA
+Signature.SHA1WITHECNR
+Signature.SHA1WITHPLAIN-ECDSA
+Signature.SHA1WITHRSA
+Signature.SHA1WITHRSA/ISO9796-2
+Signature.SHA1WITHRSA/X9.31
+Signature.SHA1WITHRSAANDMGF1
+Signature.SHA224WITHCVC-ECDSA
+Signature.SHA224WITHDDSA
+Signature.SHA224WITHDETDSA
+Signature.SHA224WITHDSA
+Signature.SHA224WITHECDDSA
+Signature.SHA224WITHECDSA
+Signature.SHA224WITHECNR
+Signature.SHA224WITHPLAIN-ECDSA
+Signature.SHA224WITHRSA
+Signature.SHA224WITHRSA/ISO9796-2
+Signature.SHA224WITHRSA/X9.31
+Signature.SHA224WITHRSAANDMGF1
+Signature.SHA256WITHCVC-ECDSA
+Signature.SHA256WITHDDSA
+Signature.SHA256WITHDETDSA
+Signature.SHA256WITHDSA
+Signature.SHA256WITHECDDSA
+Signature.SHA256WITHECDSA
+Signature.SHA256WITHECNR
+Signature.SHA256WITHPLAIN-ECDSA
+Signature.SHA256WITHRSA
+Signature.SHA256WITHRSA/ISO9796-2
+Signature.SHA256WITHRSA/X9.31
+Signature.SHA256WITHRSAANDMGF1
+Signature.SHA3-224WITHDDSA
+Signature.SHA3-224WITHDSA
+Signature.SHA3-224WITHECDDSA
+Signature.SHA3-224WITHECDSA
+Signature.SHA3-224WITHRSA
+Signature.SHA3-224WITHRSAANDMGF1
+Signature.SHA3-256WITHDDSA
+Signature.SHA3-256WITHDSA
+Signature.SHA3-256WITHECDDSA
+Signature.SHA3-256WITHECDSA
+Signature.SHA3-256WITHRSA
+Signature.SHA3-256WITHRSAANDMGF1
+Signature.SHA3-384WITHDDSA
+Signature.SHA3-384WITHDSA
+Signature.SHA3-384WITHECDDSA
+Signature.SHA3-384WITHECDSA
+Signature.SHA3-384WITHRSA
+Signature.SHA3-384WITHRSAANDMGF1
+Signature.SHA3-512WITHDDSA
+Signature.SHA3-512WITHDSA
+Signature.SHA3-512WITHECDDSA
+Signature.SHA3-512WITHECDSA
+Signature.SHA3-512WITHRSA
+Signature.SHA3-512WITHRSAANDMGF1
+Signature.SHA384WITHCVC-ECDSA
+Signature.SHA384WITHDDSA
+Signature.SHA384WITHDETDSA
+Signature.SHA384WITHDSA
+Signature.SHA384WITHECDDSA
+Signature.SHA384WITHECDSA
+Signature.SHA384WITHECNR
+Signature.SHA384WITHPLAIN-ECDSA
+Signature.SHA384WITHRSA
+Signature.SHA384WITHRSA/ISO9796-2
+Signature.SHA384WITHRSA/X9.31
+Signature.SHA384WITHRSAANDMGF1
+Signature.SHA512(224)WITHRSA
+Signature.SHA512(224)WITHRSA/ISO9796-2
+Signature.SHA512(224)WITHRSA/X9.31
+Signature.SHA512(224)WITHRSAANDMGF1
+Signature.SHA512(256)WITHRSA
+Signature.SHA512(256)WITHRSA/ISO9796-2
+Signature.SHA512(256)WITHRSA/X9.31
+Signature.SHA512(256)WITHRSAANDMGF1
+Signature.SHA512WITHCVC-ECDSA
+Signature.SHA512WITHDDSA
+Signature.SHA512WITHDETDSA
+Signature.SHA512WITHDSA
+Signature.SHA512WITHECDDSA
+Signature.SHA512WITHECDSA
+Signature.SHA512WITHECNR
+Signature.SHA512WITHPLAIN-ECDSA
+Signature.SHA512WITHRSA
+Signature.SHA512WITHRSA/ISO9796-2
+Signature.SHA512WITHRSA/X9.31
+Signature.SHA512WITHRSAANDMGF1
+Signature.WHIRLPOOLWITHRSA/ISO9796-2
+Signature.WHIRLPOOLWITHRSA/X9.31
+Signature.WhirlpoolWITHRSA/ISO9796-2
+Signature.WhirlpoolWITHRSA/X9.31
+X509Store.ATTRIBUTECERTIFICATE/COLLECTION
+X509Store.ATTRIBUTECERTIFICATE/LDAP
+X509Store.CERTIFICATE/COLLECTION
+X509Store.CERTIFICATE/LDAP
+X509Store.CERTIFICATEPAIR/COLLECTION
+X509Store.CERTIFICATEPAIR/LDAP
+X509Store.CRL/COLLECTION
+X509Store.CRL/LDAP
+X509StreamParser.ATTRIBUTECERTIFICATE
+X509StreamParser.CERTIFICATE
+X509StreamParser.CERTIFICATEPAIR
+X509StreamParser.CRL
+...........No implementation for:DHIESWithAES
+....No implementation for:DHIESWITHDESEDE
+.....testDefaultSize: keysize=1024
+E....testTiming: SHA1WITHDSA
+count:50000 cutoff:1116542 relative average:1.003343013667864 sigmas:1.2947436261781267
+count:25000 cutoff:590099 relative average:1.0028485045760935 sigmas:0.7800951057415906
+count:12501 cutoff:575969 relative average:1.004722978404898 sigmas:0.9146374186351333
+count:6250 cutoff:566888 relative average:1.007107713026356 sigmas:0.9732636892021199
+count:3126 cutoff:562443 relative average:1.011272800011099 sigmas:1.0916587912009164
+count:1563 cutoff:559310 relative average:0.9952618108665248 sigmas:0.3244535338760088
+count:782 cutoff:556212 relative average:0.9880615058177803 sigmas:0.5782472233163267
+count:391 cutoff:549261 relative average:0.9568485550999773 sigmas:1.4778976155450394
+count:196 cutoff:539291 relative average:1.0174794307161106 sigmas:0.42385366922757034
+count:98 cutoff:532900 relative average:1.019416641776328 sigmas:0.332926054092876
+count:49 cutoff:530349 relative average:0.9595705335583907 sigmas:0.49018122999837765
+count:25 cutoff:527774 relative average:0.6959771584342709 sigmas:2.63291504126653
+count:13 cutoff:526797 relative average:0.7435108955876035 sigmas:1.6017739436664133
+...java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
+java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420504ff696f023234148fe88fb5a2762812c3c9e60421e80aa8dff7753e9a40362a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200045fee0c7c659a0ca2762f8b93627667464612d4fd6fb43be0605f6b100e5c0cb761a1f45e178681f44b3af73f52dfe1fbf37d312fbf2bb49c9d89ed9630a5735a
+...testWrongOrder:org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testWrongOrder:org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:order = 1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:cofactor = 2 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:cofactor = None throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: null
+testModifiedPublic:modified prime throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:using secp224r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:order = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:cofactor = -1 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+testModifiedPublic:cofactor = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:order = 1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
+testModifiedPublic:cofactor = 2 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:cofactor = None throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: null
+testModifiedPublic:modified prime throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:using secp224r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:order = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
+testModifiedPublic:cofactor = -1 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+testModifiedPublic:cofactor = 0 throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
+.testWrongOrder:org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testWrongOrder:org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:order = 1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:generator not on curve throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:cofactor = 2 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+modified prime throws java.lang.IllegalArgumentException: first coefficient is too large
+testModifiedPublic:using secp224r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDH public key has wrong domain parameters
+order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.lang.IllegalArgumentException: n is not positive
+order = 0 throws java.lang.IllegalArgumentException: n is not positive
+cofactor = -1 throws java.lang.IllegalArgumentException: h is not positive
+cofactor = 0 throws java.lang.IllegalArgumentException: h is not positive
+testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: invalid KeySpec: point not on curve
+testModifiedPublic:order = 1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:order = 26959946660873538060741835960514744168612397095220107664918121663170 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:generator = (0,0) throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:generator not on curve throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:cofactor = 2 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+modified prime throws java.lang.IllegalArgumentException: first coefficient is too large
+testModifiedPublic:using secp224r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:a = 0 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+testModifiedPublic:new curve with generator of order 3 that is also on secp256r1 throws org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
+order = -115792089210356248762697446949407573529996955224135760342422259061068512044369 throws java.lang.IllegalArgumentException: n is not positive
+order = 0 throws java.lang.IllegalArgumentException: n is not positive
+cofactor = -1 throws java.lang.IllegalArgumentException: h is not positive
+cofactor = 0 throws java.lang.IllegalArgumentException: h is not positive
+...E..Message:Hello
+Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
+Curve:secp256r1
+Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
+Private key:
+S:115484559215385388140394246214660758578952453541626765159276351131846262705970
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420ff51f1b582e6a96e6194d7bb18243443063ea4ab0c4701e057b4a0683000cf32a00a06082a8648ce3d030107a14403420004d9f55e08a8eef6672850efd2901a39114497708f06290e4ce6e950f233a2021f6a78661c6cf975b664cc0f8f4fe22e333a9e3ace08da495cc1bee4f7d9d7029f
+Public key:
+X:98585414671066450563727522806646850547900477177040417555585499138143786500639
+Y:48157888342081871920399242662909331018879959657252338522724770471929693274783
+encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004d9f55e08a8eef6672850efd2901a39114497708f06290e4ce6e950f233a2021f6a78661c6cf975b664cc0f8f4fe22e333a9e3ace08da495cc1bee4f7d9d7029f
+Signature:3045022100e34dc96952666ce13eab298a6ab13a4bd1841d540fb687b3ce2fc63d929bf25102205a966527affdd860c302636a199068f8bc61bd13ce4087e3f132b57c7fc1ae3f
+r:102812453942877253954487631257801230359243945198365458970854583372760458457681
+s:40973881578563755380103167282713582559424410246815720971677108956682485083711
+.SC curve:secp256r1 countLsb:521 countMsb:521
+SC curve:secp224r1 countLsb:493 countMsb:500
+SC curve:secp384r1 countLsb:533 countMsb:539
+SC curve:secp521r1 countLsb:513 countMsb:504
+SC curve:brainpoolP256r1 countLsb:499 countMsb:511
+..testTiming algorithm:SHA256WithECDSA
+count:50000 cutoff:544988 relative average:0.9958251946210782 sigmas:1.616895170622131
+count:25002 cutoff:163218 relative average:0.9842539535620392 sigmas:4.312404898644373
+count:12506 cutoff:160469 relative average:0.9731614529231178 sigmas:5.198509486563548
+count:6250 cutoff:158746 relative average:0.9728332704307168 sigmas:3.719957649684755
+count:3125 cutoff:156331 relative average:0.9834853416873559 sigmas:1.5990249153294087
+count:1564 cutoff:153008 relative average:0.9870707472753062 sigmas:0.8856302178003826
+count:782 cutoff:151477 relative average:0.9374506777838572 sigmas:3.0296092069693645
+count:391 cutoff:150496 relative average:0.94573771896478 sigmas:1.8584336154163055
+count:197 cutoff:149650 relative average:0.9559887954442593 sigmas:1.069934016998397
+count:98 cutoff:148964 relative average:0.9989874143153046 sigmas:0.017362227738452758
+count:49 cutoff:148151 relative average:1.0306486312365999 sigmas:0.37159490538963597
+count:25 cutoff:147640 relative average:1.1086779915724174 sigmas:0.9411790153398466
+count:13 cutoff:146986 relative average:1.135598697974804 sigmas:0.8468135974380796
+...E.04cdbbf5a736732eaedbd9f371c9f24b9719774b60be6a53d3044ac23f97b6ecad99a2e13cbd7fa735b86363d910b0c6c8a2c7560027a42cbdce34decca8519e92194d111d1d5c92eecbf1f3d1fe3b10219fecf9c7ff3d596607f87a66b907263dab9668b11131cf4cc083b6acb65fc043d48357d19fd66d2889b6e7ae
+ECIES:org.spongycastle.jcajce.provider.util.BadBlockException: unable to process block
+.testEciesBasic:04e16f7498cceb31321534cb2c8348a427e445a766e3f65306600dc2e78e3eab88b9bb95201703a8ef87336d83141b672415741050b4e88a0685589ceb2dde6c7081c7e5325b6381c4703861cc7d392a8a1476f06327425ea1bf6ddf93699be9a1d3f86415
+..E.No implementation for:ECIESwithDESede
+...No implementation for:ECIESWithAES
+.045747109c5efe1e7e98dd6a7d1e6817b96e81771a23ab5aaed75ddfcd679f9fd043562c3b86797e62a7da27ea9e50b8ea9cdb40e650375b021f48cac375226e5a45cee7338d0d5b5e29b848d31cdb8b018399f30bccff3babc96ad414da5db8a59872e763c3fef5bc7eb364bbed2e52bae06f53083d6c2441e3606850085e52f4d80d9e22
+E..E.....testDefaultSize: keysize=2048
+....Message:Hello
+Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
+Public key:
+Modulus:28306918293852028681274216029665009503355421923687946987241403653184612730649588354468012628730411766551599193355796564328953079286725467668876002632505199318221312451357372238891198106403789311087825350647171169901219814261132303562189083539978875121378243679375357458249998536224432352347735801750879475347985633049745602972632482542613748075733466135239670848585892943698249713701016487398409691297023388521887007166551999642987474449041426982244080420218174248735360414059787489217093527722473735494934575015486167347364464679821743284777298319499324343831015329930932821675840055123148909727865086464255049551989
+E:65537
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100e03be67fb9fb1b46ae9e01ef3ab0d18b6e0b891076a96efa7f337f8ea80b27b4025a309fedfe2512c035677f1c6f166405f465ef89a3d467c8b476e22612821b6e1f8c2fbf7d7a510b2d04a03dc56ca90cbbad0c282497cc316d417669ecec449209d161e52c7e39ba179b13860a1fa74e21cf106511e071a723ea2abba3a512303970f01cecfa204cbb0236770619141836165aba7a3281e7d2255e388447131de5ed006ebd64a67c3826438acadbbb910d316ce606856e6e7b20eab84b58e58d945327d4fb03d34c4d4f024046ebc32ec66dfe25a05391949690af5c3fc0d7af523bb4962ab0ec53b9f4758ce2573f06bd5fb557c07fe857ff5e69864350750203010001
+Private key:
+D:6579802501777138744882449432258256229637314169552790979399251306921297804073014733583732660679034900112996081782563527653786242452113372493411962785951845218944320285577084232482548623730544965710730723643458562483523923058738181933724429732474070965718537919811470645278482615945327774350020908340669548614938870195595411912100273002197180000279803921622296099030137155817147139969761146111970205386178939355732773449105527171536613801053721224588147180638680851131614153333084827588425975651824943001789031807736788832170324557212868563009906021387523979032478038335244018866059082345536948115452104606698789296873
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100e03be67fb9fb1b46ae9e01ef3ab0d18b6e0b891076a96efa7f337f8ea80b27b4025a309fedfe2512c035677f1c6f166405f465ef89a3d467c8b476e22612821b6e1f8c2fbf7d7a510b2d04a03dc56ca90cbbad0c282497cc316d417669ecec449209d161e52c7e39ba179b13860a1fa74e21cf106511e071a723ea2abba3a512303970f01cecfa204cbb0236770619141836165aba7a3281e7d2255e388447131de5ed006ebd64a67c3826438acadbbb910d316ce606856e6e7b20eab84b58e58d945327d4fb03d34c4d4f024046ebc32ec66dfe25a05391949690af5c3fc0d7af523bb4962ab0ec53b9f4758ce2573f06bd5fb557c07fe857ff5e6986435075020301000102820100341f405c42bd1f913dc02d47703f4f2a079da751dc1f54d465f270cd567ae752f4b405b6fb3176e925a414476bf2d783cf0d890f55d16eeb63f02ced32f7dce5e6e26ee9df6b599e1288b7994eda8000489d2c6395c631c1cd606dd5ca57fff08d78ba42b4ec7377d42dae06ab02d9ea4023643815a242e770384d337b33d607d5a33a73aa623c8d2b262e44938348618852a6ecde7b828ddc3810747e043114d25286e0576c56fdd618160aee43a5aa3eed18cae0eddd7868a84b668fbce3ae43052503dcb5503f99b61012d3296df043d5a251e7e21300029a95776a88f1ff1c65a8a67f0ed5f97402c67cab13a357159cc48a80d1fc01573c3f65c4e65ae902818100f526461dea93ef57dc0008f87d0834edb55f6239e7259fef6c18c558901525e4f1450020787acf281592ac9b5d04ea5ce85980cd36911f351961434bd54f67fffdefa482d361ed146cb1f29850316ea2f6f61dd447cf03ca6badf9de5d4a32a4b3e69e32df82b82055fb2e4a924153679ce0a23a2b0569d12e1c20522ad21b4d02818100ea28a359dd51353deb56223649aeb574ec8f2b7be12f09d68687e72e9dabf72c203213da00fa7f3dc288373d6bd3eacf2d9af20634183f724d7f6637747d404475666507f2f87e9cfee50859884b13db7c6cd8e0d5694f0981f052858f27b1291b5c9b97b0cf96af84063617cb97665d3d41a56a95137fcdd0a82cf89860e5c902818031bd3742c0a28d504539d8981a3e3d06f1e2cd7a3414e5335dba54e8182bc249864e5aad3be4a6fd5a0b2d6c445e47f2dbcdb51d6df1d9e41b2729d14c115567922d3a32b512cc5875895150680cef86af16d68c88994f0a95f871971554859bf7485656ba14baa90ce8eec68090328cf63e798bd5c8be648bb7773354aed68d02818100a1ee9c98e6eee40d0014bef020208c2861f7d8b080d7d0cbe499538cef491f540aa7d706aa2a91981a51ad31f2c1c8dea1c147a276a056302bdbf0ca64eac169166f4b6b25e2275d5700f8b74203f9a58df4903f5c16c9abdf8a5ce7344ad4bf82c6966b5ec1108a2c99470b49a6580a1ef4a8fa7e41cfde7b6ff239b0d741d10281806c911cc262eeb324286a044ec1e5a29de4a87c22a58aadc77d606bbda45c0185e301566dc658839a44f6f7aac97eff575ac8f63cb5bce1dcd1e1321dfae019e3a2eb6ce81476a7c8f3ede2ddec9f7943d437a0f4520d568353a1ecf7c74fb6079d1e454b15736d6c341dc65383fd752089fc1e0f2e16d6add8837578ec6d372b
+Signature:5517a97d87fd6bbfce9b5ce144a0abeeccd3b38ea187789c0a2386d45628e7bf715a3c77afafc41e31aea5be21242d0690fd0f1223c88b5a00c68bb9e4d50582c9117a8cfc39150ae955fa6044f31984abdd9a91e7f030545cc348953a00cb299333f7a01ffd77676fe7b686196505ae9c3024f56f272545a4780415ec6d38e63a4c4a7709fbd843c4d795e96b2205440ca75e6ac4e6f5902d09f45c506a793441c0d04bed53d21726becbcc2288baebb1441ebc7bff37d1f977dd6351ffa88bafc9e0eb52acd4a23f0ac2112f643dd9ab47fcc5f40534b9ff37a820c8062243dc816557dea00ef69d805c1587fbe0d6ebd3a12a3887515a876f2375bcd65ded
+..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
+
+Time: 71.68
+There were 9 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
+ at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
+ at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
+ at org.junit.Assert.internalArrayEquals(Assert.java:473)
+ at org.junit.Assert.assertArrayEquals(Assert.java:294)
+ at org.junit.Assert.assertArrayEquals(Assert.java:305)
+ at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
+ ... 32 more
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
+ at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]> but was:<java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8208]>
+ at org.junit.Assert.fail(Assert.java:88)
+ at org.junit.Assert.failNotEquals(Assert.java:743)
+ at org.junit.Assert.assertEquals(Assert.java:118)
+ at org.junit.Assert.assertEquals(Assert.java:144)
+ at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
+ ... 32 more
+3) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+java.lang.AssertionError: It should not possible to reuse an IV. ct1:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554 ct2:26073cc1d851beff176384dc9896d5ff0a3ea7a5487cb5f7d70fb6c58d038554
+ at org.junit.Assert.fail(Assert.java:88)
+ at com.google.security.wycheproof.AesGcmTest.testIvReuse(AesGcmTest.java:327)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+4) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+java.lang.AssertionError: DSA default key size too small:1024
+ at org.junit.Assert.fail(Assert.java:88)
+ at com.google.security.wycheproof.DsaTest.testDefaultKeySize(DsaTest.java:942)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+5) testEncode(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
+ at org.junit.Assert.assertEquals(Assert.java:115)
+ at org.junit.Assert.assertEquals(Assert.java:144)
+ at com.google.security.wycheproof.EcdhTest.testEncode(EcdhTest.java:1894)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+6) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidAlgorithmParameterException: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:292)
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:254)
+ at javax.crypto.Cipher.init(Cipher.java:1537)
+ at javax.crypto.Cipher.init(Cipher.java:1470)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:345)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:353)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+7) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:357)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:393)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+8) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:357)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:202)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+9) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+javax.crypto.ShortBufferException: Need at least 102 bytes of space in output buffer
+ at javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:759)
+ at javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730)
+ at javax.crypto.Cipher.doFinal(Cipher.java:2460)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:427)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+
+FAILURES!!!
+Tests run: 90, Failures: 9
+
+
+BazelTestRunner exiting with a return value of 1
+JVM shutdown hooks (if any) will run now.
+The JVM will exit once they complete.
+
+-- JVM shutdown starting at 2018-04-06 22:20:38 --
+
diff --git a/testlogs/SpongyCastleAllTests_1_58.txt b/testlogs/SpongyCastleAllTests_1_58.txt
index a7cebd8..d1fde59 100755
--- a/testlogs/SpongyCastleAllTests_1_58.txt
+++ b/testlogs/SpongyCastleAllTests_1_58.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-.E.E..E.....E...........
+....E.....E...........
Provider:SC
AlgorithmParameterGenerator.1.2.804.2.1.1.1.1.1.3.5.1
AlgorithmParameterGenerator.1.2.804.2.1.1.1.1.1.3.5.2
@@ -1139,29 +1139,29 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-..E.E..E.E.E....No implementation for:DHIESWithAES
-...E.No implementation for:DHIESWITHDESEDE
+...........No implementation for:DHIESWithAES
+....No implementation for:DHIESWITHDESEDE
.....testDefaultSize: keysize=2048
....testTiming: SHA1WITHDSA
-count:50000 cutoff:1375088 relative average:0.9997802911361559 sigmas:0.08509287706827098
-count:25000 cutoff:581029 relative average:0.996578885241564 sigmas:0.9369108625046186
-count:12500 cutoff:570135 relative average:0.9903062469347628 sigmas:1.8771872091955555
-count:6251 cutoff:565982 relative average:0.9904141590901525 sigmas:1.3127003281708387
-count:3125 cutoff:563143 relative average:0.9910468226595356 sigmas:0.8668876683815092
-count:1563 cutoff:560981 relative average:0.9913896520980862 sigmas:0.5896045358216376
-count:782 cutoff:559138 relative average:1.0006436801338685 sigmas:0.031176984670955137
-count:391 cutoff:557501 relative average:0.997091861610485 sigmas:0.0996010863946054
-count:197 cutoff:556127 relative average:1.0006547791488407 sigmas:0.015918002973051758
-count:98 cutoff:554873 relative average:1.01673141894318 sigmas:0.2868840735846927
-count:50 cutoff:553900 relative average:1.0208259247663867 sigmas:0.2550644454961913
-count:25 cutoff:552257 relative average:1.156229228507242 sigmas:1.352984807009155
-count:13 cutoff:551315 relative average:1.2092807689708973 sigmas:1.3069579833265308
+count:50000 cutoff:3763863 relative average:0.9971769286674778 sigmas:1.0933708256014019
+count:25000 cutoff:609762 relative average:0.9936674397941186 sigmas:1.7342430357603744
+count:12500 cutoff:588413 relative average:0.9987604877635279 sigmas:0.2400305124638401
+count:6250 cutoff:582537 relative average:0.9968356813289251 sigmas:0.433292178820624
+count:3126 cutoff:578769 relative average:1.0040053173614008 sigmas:0.3878752310710485
+count:1563 cutoff:574279 relative average:1.0005152133834707 sigmas:0.035279892435342526
+count:782 cutoff:558506 relative average:1.028304808323255 sigmas:1.3709582271941176
+count:391 cutoff:551765 relative average:1.0562113706681506 sigmas:1.925188156954036
+count:196 cutoff:548736 relative average:1.0785143525347736 sigmas:1.9038718679904287
+count:98 cutoff:546765 relative average:1.0601235786914351 sigmas:1.030904625128612
+count:49 cutoff:544804 relative average:1.0945284105270263 sigmas:1.1460960685407686
+count:25 cutoff:543084 relative average:1.1774136177667627 sigmas:1.5364469996331875
+count:13 cutoff:541792 relative average:1.322026621134839 sigmas:2.0110556044180687
...java.security.spec.InvalidKeySpecException: encoded key spec not recognized: n is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Zero length BigInteger
java.security.spec.InvalidKeySpecException: encoded key spec not recognized: h is not positive
-..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101048201553082015102010104200b4389c193f441b4ef31d17e93f38c6e5eaa0b6f16a42dc4e251f09e55551c72a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a144034200042d6c88dd241fd5d9f1582eca17af30cea91a933cad1a276363d1c0df06184522d2cc873c4051d942ffb5e3f464b150c2c9446a03c0e9e221a0917525d6fa308b
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420f17fb48d66395ae7ce27245e8aedd433019fbd8e29f258086b4bf906204f2e5ba081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004b4be201ba259fa7cce59da7385b012eb8886bca1eb9adc7727e24b6413b8e8b20026fcda3716ccf64bcc34dcfa2e3b22fc305fa98f251227307df08720e8889b
...testWrongOrder:org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
testWrongOrder:org.spongycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi$1: calculation failed: ECDHC public key has wrong domain parameters
..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognized: Invalid point coordinates
@@ -1233,132 +1233,56 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:74703253763543855797098260830765997382280286991425430698510833296345645761089
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420a5288b135c6a94c6a7d1345aa25e7ae7ff0cbabd3af8b45483222dc05250c241a00a06082a8648ce3d030107a1440342000407e0b1892f12b40479ce9e453dfa7e31b186c396e9c005a52b1f30f52155e19764baa33dd80e02af191d3eb8851cfafe6def6f02c7471d3add4b387f84b9d62c
+S:107415631096985159831442930653920777382402186085826359985288915080028668641973
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420ed7b17bb72f72bd22e2d16347f44abea73a2a82f2a9a7cbf766454ce8ef942b5a00a06082a8648ce3d030107a144034200044e134974a41702764da27679abf80b1b72a1fb2c3472428878a9de1de392e835bf6224acfc2f18c54d9438673a7693571479c0dd3a5f8cfab2eeffbc1a459bba
Public key:
-X:3563188990166669893741163807675262455480874928013726201841895489128025678231
-Y:45561045064339910460064956783742295449383648946197443732523230808636252608044
-encoded:3059301306072a8648ce3d020106082a8648ce3d0301070342000407e0b1892f12b40479ce9e453dfa7e31b186c396e9c005a52b1f30f52155e19764baa33dd80e02af191d3eb8851cfafe6def6f02c7471d3add4b387f84b9d62c
-Signature:3045022100fbea1e96010586b5a740fa1b8a79be3702604f75538356584271816b024df3720220644f9a7399499c2f5b8c3e12eebfb334dd2220c51056b61a94336447feaf9334
-r:113944178304047994846656053213288706723066545800097656544493467893900883391346
-s:45371931761918465731580131469502039856867473505698188764885097133455124173620
-.SC curve:secp256r1 countLsb:509 countMsb:523
-SC curve:secp224r1 countLsb:505 countMsb:513
-SC curve:secp384r1 countLsb:537 countMsb:516
-SC curve:secp521r1 countLsb:505 countMsb:491
-SC curve:brainpoolP256r1 countLsb:514 countMsb:535
+X:35314479255843378137337730263273207303786322362017180960965985511315652929589
+Y:86565158218289545037839740584205265805788798648499232029425081502540069444538
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200044e134974a41702764da27679abf80b1b72a1fb2c3472428878a9de1de392e835bf6224acfc2f18c54d9438673a7693571479c0dd3a5f8cfab2eeffbc1a459bba
+Signature:304402206ec3d17c3ad3459ca0cc5d994fcb184a2f9de9e0aa8fae04e0f4a7f3e8ab21500220684abe3a687f1fe76cb0b4a9a98245f01a4c331843d1c8e6690dbf17b2ce9c62
+r:50100394336005978763916006996363660073058075178849321174750619680627694969168
+s:47172595841940876104051443320101569886286570311451553946776603902356520606818
+.SC curve:secp256r1 countLsb:527 countMsb:501
+SC curve:secp224r1 countLsb:494 countMsb:498
+SC curve:secp384r1 countLsb:509 countMsb:525
+SC curve:secp521r1 countLsb:549 countMsb:541
+SC curve:brainpoolP256r1 countLsb:502 countMsb:517
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:1017535 relative average:0.9963436907980896 sigmas:1.4160824647583847
-count:25010 cutoff:161640 relative average:0.9907450107900385 sigmas:2.535090045835862
-count:12503 cutoff:160300 relative average:0.9815675110819848 sigmas:3.569864437070069
-count:6251 cutoff:159629 relative average:0.9785950777960156 sigmas:2.9312241529876046
-count:3130 cutoff:159150 relative average:0.9683760103634618 sigmas:3.0644282347273775
-count:1564 cutoff:158784 relative average:0.9563566452403772 sigmas:2.9894901588150025
-count:786 cutoff:158450 relative average:0.9465009968404586 sigmas:2.597871050209066
-count:391 cutoff:158153 relative average:0.9665974353698704 sigmas:1.1440073613834367
-count:196 cutoff:157890 relative average:0.9844594939443001 sigmas:0.376837244893256
-count:98 cutoff:157667 relative average:0.9613815648908717 sigmas:0.6621682247750327
-count:49 cutoff:157411 relative average:0.9309666652525873 sigmas:0.836984702389002
-count:25 cutoff:157230 relative average:0.8197798294829838 sigmas:1.5607524594209938
-count:13 cutoff:157124 relative average:0.7483394441328539 sigmas:1.5716196676661558
-..E.E.E.E..E.No implementation for:ECIESwithDESede
-..E.No implementation for:ECIESWithAES
-.E..E.....testDefaultSize: keysize=2048
+count:50000 cutoff:655745 relative average:1.0010011179576115 sigmas:0.3877313177418251
+count:25000 cutoff:177336 relative average:1.0011410436022643 sigmas:0.31248766002858425
+count:12503 cutoff:174273 relative average:0.9886512679404295 sigmas:2.197936218244606
+count:6252 cutoff:173291 relative average:0.9799548185494994 sigmas:2.7452386452249984
+count:3127 cutoff:172365 relative average:0.9906341813103056 sigmas:0.9071316380826507
+count:1563 cutoff:168461 relative average:0.9861404514295947 sigmas:0.9490502352099978
+count:782 cutoff:165311 relative average:0.9965138169270417 sigmas:0.16885510443292287
+count:393 cutoff:164382 relative average:1.0055027635143574 sigmas:0.18894602144987904
+count:196 cutoff:163851 relative average:1.010027120566172 sigmas:0.24314475183920162
+count:98 cutoff:163437 relative average:1.0453316643223536 sigmas:0.7772761274662656
+count:49 cutoff:162982 relative average:1.042895845119863 sigmas:0.5200844822684574
+count:25 cutoff:162656 relative average:1.0014532793004773 sigmas:0.012585767930074302
+count:13 cutoff:162370 relative average:1.0703983350410793 sigmas:0.43963746142211996
+...E.0400f3307ad04da8ed865bcd9d958e000c98411218d3c45ecefa597536856f6ef04c8dd2d1e017432c8d352e25bde705ab7e1af5db58325525cb620a8e7438304b1103fbdbb8db5af769368d86aff6106810b909a36e2f60516ca8864115f01c2efaa7032365df90f9c8b57aac65c9f30b47a8ff0686016d0650600e38
+ECIES:org.spongycastle.jcajce.provider.util.BadBlockException: unable to process block
+.testEciesBasic:047ed63bea0a5d507a81c528df42853d726a80496384da2526605c7e6f2091c14c410ae814022df5448f38fc412c35f61911e1340246ea9905b23a216590a606cc76529d75a47b79c90a599fc1a37493c31af8c1eac5065849e5ab5ccce65fc700fbb2fd1b
+..E.No implementation for:ECIESwithDESede
+...No implementation for:ECIESWithAES
+.046b454efde6788fe940e2a0301bad85da71df3f1bfb3ff8f25652b4a11894bafa83660e3ed38f65685cef191d6d975f041e27a7bbe520382fa0886778979b68af1134c470effab2b17e99a4b88ff4bcc61d5059aa52c6e3a95c0ee859ff68d5a70a57479b2881b4af2cbf4fe49eda941a95836a4f04710e37ac14c889a7223291c4d276f8
+E..E.....testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:20225341611847596641763077701397168541661530502081216360077217453250835262967986696754440423677289813219682816249659564048510557279501628758961304296050395338430551724607810873628427560104971381207529663266543282774373802520246953244772683603614699205321331459235792744988575007035344393582661835590309976055843656514875397313075249781812579009164038169473343280403201735042615877635565487919594742739945492341479684526765850541560762240399663210170741028396195872576848467651873941200670877981670207882517990308195191322289630035416039499177450918451950129470701330015730307462093075466632321901844363131628673265931
+Modulus:18860110689803660909623756408573919130592039141136414307635658165639728689666957891468699939106457574292627556683703757951821232025325908309412152950473605353705898431030681204648936287900786024288746032108271912848995684812327544646095187915258303310542627145872864359853151935217651054131584365915566292490563634944707052759102556587724456838737179445051759941346655533897208156786043746751447959423531396363521885673558802889845030668709606144148227331110171185552055727595428624832143562634730250853557765013448004441277730402313750186411476394931247596082825196093280031775343145114158919391279462231080731855837
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100a0372f66bb50bd978d65d84eb9161a624766051aadd4c38cbebe67040c7870930b1d0436d123abd93d1c48c0bef4ad12d506a1029254cef6c437935ecdafe92531be9f8163cb8cac0bd8284a5b91a1342d5c4ff8ca7d0d41dbcf3cc9b5d37b20048822af99d36ddc6d098f5a2ac0851aac3bf3a42fd77c3b4ef542609d69abd0214b20e2c2676d094f292b97be97f51398b339ce3d7228772a13aad367e9bd85fca756e8526a93d17b144115c7a6b0c90a8812d82c100f08b8887c46770830277d4f31e161e95725576aed618c8a58d8fbdebacd7578a14a22f4227b6770112c192b04ebf9c242adb63d8e1d3e9fae5f3c3bdffdf8cc5d4300c1e8795d97710b0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a028201010095669e6e23832ffc9e8ad3c8db1f492effd8cd57151fa4ce8a176e02b6d3ebef2aaa059a3f0a4bbc2f36c4e507bf861d1affef76577bcad78f34ad5f53ae9940ab0930e2a813278eaccaccccb0f6c086e48a66da27d33f54817bdc0070ed16533c9856f6ab15cd8b1b29bbaac414d4f3a1aa45ee19c9aa46cb7e9ab4c1d6033972d47af212525b8aac69a6d449c6177d509d7dbfa1af0bb2ae6a28cc82d012a027f2d9f4772676278db3af659aed14b2659213a19075401bf986cb489674f53e3b8c9f2ef3d68c9b5cb4da3542664d40d06161cd52158cfd76a26e14c1e171f9ce21c2a9cc1536ad5304aaf640fdd3839beba577d31ec8fd18da9d492686cbdd0203010001
Private key:
-D:1522123836885342877405188700105758803136899777871507321530934463324896923631089369146165540956423528949480745018944579425363745221996092792849061523246101589761618127410632845429454055143655337387914884800391302307090139444746662538625018387624523847910125135774337808822995401829496705952796202229252588063250211404932172890294523779771652446994109285609986374657953254056211011571984950903758102945900689722228457253536652414304798032342394620291300511881831986126700381118187129226605339608918315632407271127938758885136680485584754536557210205217941308930210182244584680687657541000120695810122502811673266282793
-encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100a0372f66bb50bd978d65d84eb9161a624766051aadd4c38cbebe67040c7870930b1d0436d123abd93d1c48c0bef4ad12d506a1029254cef6c437935ecdafe92531be9f8163cb8cac0bd8284a5b91a1342d5c4ff8ca7d0d41dbcf3cc9b5d37b20048822af99d36ddc6d098f5a2ac0851aac3bf3a42fd77c3b4ef542609d69abd0214b20e2c2676d094f292b97be97f51398b339ce3d7228772a13aad367e9bd85fca756e8526a93d17b144115c7a6b0c90a8812d82c100f08b8887c46770830277d4f31e161e95725576aed618c8a58d8fbdebacd7578a14a22f4227b6770112c192b04ebf9c242adb63d8e1d3e9fae5f3c3bdffdf8cc5d4300c1e8795d97710b0203010001028201000c0ebb2985822c45c898a4fd6c84ecba32c0fe9a8b9af496fc765c4ec8b246f1d3a74996e7560f523eb022725a46475aa079377144b40273710d5b4a8a3b1cbc8f43a3f50e51d65901f730cf7631f0f746e6a8a082e1839e1b0aa24787f3cdecf923f019ef7f22fbb0d511276a3d7686f9f6284aef9933d4186e8ad54fc9ddea0884b068260c5803503d752093e9c37f8b858c246309fb1480c1b9247fc18a0d2fe3c8df00445283fec6aaf197c48d416485390a68e73523d4a1fbe837035e27d320e9c5e23a142dda11a7bb88073392034d5456dd33012baf3c42a137eb146d11aff8fceb20f0cc2b13bd280f69a63169b0d20df6a6a7195e26119c88dce12902818100cd00d37e9eb3761053c446f6b15ecab2ad221d96e975d4f1bb9eaffd980575f2565b77c8075497cfc7e9cb26dfd29450cc65ebed86f773a0bf60de37438fff655bd77875757818233da188c7a88e59ab328e9a1ce8a6c7b6904a45f30b01b9217c116acef1907f2f99fa19195e0c1412552e80ced6f865c120962c9caf799cc702818100c8122819fc9fffd5b496a3af6aa1e82770dc85ed45cea50c215e3854667e6c54175acfc0c32a052ab05179caae6a59cd586ffd2f292e17cea69b2ddfe1195a7a9fa8d1ee43b47b658e6b5d2b51144c594483cfb5abc5878dad232844416cf205a0012419a44ec024f4df925741d4092c928fbc7cbbb62a8f112fd8c063825d9d0281802527af2d55ca24edd4a0d053c9d5ea5af3f228f6bf1d7218d5ee6eeb41704bee3e2499d311310dcac4eae4bd08f7fb95a1561faa8f39ae25464a623c15ecb557438c0bf30df5543a9ee2f60d69c9530b2a409a41ff10ab45b56520c46a0c47e77fbb1066ad7588f7b1aa987df683ade79cb4aef7ce127b2ec39f343ab9bb0ae502818024a93711f3f9b99e8655e82e97a28d70d4bc840a0375a746bec28e1de11e1f699551fda9bbd97252ed3630d413fbc6f2dad6c29526bd9c7d308854f2a643c8119a3a0c25d5e037905775930001fe6f33185bf2eebe4816dbbe332808c1d85dccec11e9748d6824cb60d7aaf0344ecf538c93ac1d4b24494e27ff157fc37c3afd0281810082bf765a326748d7e5264c05211a6a87869b492c1fd6cca4fb0ba7aa39add526a3cc22f0fb6d1edcbb49fec1e9d8bc1eb8357873f68dcca8bd0a4598b60f38260e8f46014747fafdf051afd2cf33b0bbb043c215e20924c448e04af1fef356b3adf45dc747818e8a48f9a241b141859aa164478127bf2ecddaad46ebd0671167
-Signature:51f4c88bc4eca5d32931deebfe1b3f0ffafb977adca1b00a3561063b51f797a87484d28f13261714f52b85bce42e79145662dabd77fc056d2b30e19e82f258a5b2ad151213a580f1b550bc4a813916bef7b40c0e6870e17f5c24145ef24ebbecbcd1d6bf7fa3e140ea541723ecc95e4cba49a309616aaa3fe552a5524201181b18a2e52b8d51e222b0a055885da92c5d4e7a138076f992eea89048df8c12ef585b9534533fbc7b7455d8b19e1df5dd2c0eba3c913e58874f85b4fc1c714392e023f518ccba8f6650729cb1112f44eb8698859a03a319b47547ec2a1888ada8f317690dbaaa4848f2d8496ed1239ccf148d7c6628cf669e4610ab10cd5f95f20d
+D:756712407629869026074670300385204088589526022271666408623036805873776135457516605514700802445647957514113617655672353503125164862758357506440625237396742989114083035909412640609493537528954893432217795923351709642437617730656198462653269094147911997117229016892331001331062804425817682329661124100507828647988385917375742751642507353048994037136083226904189878220307442816418484512002949917244211579428726729865404634077782977602187712412667140399942759233859495022181121767187862557212309481917131112408364755182534032976536799212615261708342080684130325743199941891215570365602805989535153631627639915223862056459
+encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a2020100028201010095669e6e23832ffc9e8ad3c8db1f492effd8cd57151fa4ce8a176e02b6d3ebef2aaa059a3f0a4bbc2f36c4e507bf861d1affef76577bcad78f34ad5f53ae9940ab0930e2a813278eaccaccccb0f6c086e48a66da27d33f54817bdc0070ed16533c9856f6ab15cd8b1b29bbaac414d4f3a1aa45ee19c9aa46cb7e9ab4c1d6033972d47af212525b8aac69a6d449c6177d509d7dbfa1af0bb2ae6a28cc82d012a027f2d9f4772676278db3af659aed14b2659213a19075401bf986cb489674f53e3b8c9f2ef3d68c9b5cb4da3542664d40d06161cd52158cfd76a26e14c1e171f9ce21c2a9cc1536ad5304aaf640fdd3839beba577d31ec8fd18da9d492686cbdd02030100010282010005fe8b8dc4bbff41660510f146a56f34c50c2854fda27ae4d4929315e5cb03f4e123d83cb399d0a718c7dc478a338b88806c5369cea1c76635b739db90ca7918a8a422437dd5e2e8ed12e7fbb07ffe028b89e80d89ba869877e785d0b8b732859d71494ff556571c65371bf2029309664b0ebf6689bf5727270409e605bef5fb18e8569b76e8ed98ec932cbc5a9b88a5df26a37bb1e9acc33ca2172668dd76ed98d75e9ddae607e1fb11dd62b728e804468d935036d0b065abb7485718beef6f1da9cf9b0e1d8cca354ee32ebf0353f8212ec05c0ee3a6de4045042ec68d4571ae65adc404e33cae2fc17712aa42b218a91b7dc99a4e6608e2bc86157bf5960b02818100c3d265801c7199cb58b291436fb527758b00a046b516df26062281bf4497b073cb5f5000f89d9e54661a8acb20e7dbe44bbf8d30d0106d2589e78f2bb6a8fe67a810f41795f4402b0857ac3e227b41af367321e9e4ecd4067d6747835e6728c29a25c5efd8614236a7fbef33da903b0b1cd75e66090b4518b52a1e4d2fd67f3f02818100c3503614343eda00edc5da2ce1abc24824f90c8f8568a5929b33c3a040218655dbadd44f595af5e8303ab60bfd89a8a684bc18ef34a5bd8ec9e05c72714b24bcab70a40bc27dfb44441897ae93220140c7bfa900f332f7f6d0699834258164b93d19cfadf64e809dc35bcbaa2032dac8e4b47d17e9e96c7fb22afd0f873549e302818029cbaa6661abcd8b9d6edf9a69295d36b56878cd1eb1b707429ff2d984266c3f0ad5591a1bf66868d3322f1593fc68ee9d4c51326df65395838dacfd438b66617179ccdf8bde0a24252fb14fc1c4550cb4ae763a99e6028b3010ef2e96e3a5cb8363349030baf18b00e7c0f26c60047a26b9c1283e1dedad8c5d65024c8797b90281801ab7ad3e244b78bce9c9c7e79dd34617625f63357ad56ed8d83c438577605ea4fe11105aee693ffc4c24abe486013fbdcfa87f6cb171feb53aae635710626c1b1704a89c2735de9a5f0a522d8259037cde163cc3318186640fec71f2a832c41986df3206a50be6122eb82eeb0dce87193617ee88c7e9b37ae05f7b1095b9576b028180119b5c98dcaa5ca410b651ddf2ce491c441e0597c6dfef48102a1e7e53e340cf32b370097ef0806b3ed15b9c5021bbb0240db69df122392c31dd8b43f3478584fe7c2b0a9160efa59ccbbc69c0a8b309f9e08ce94c79ed6be72ec352d8355e6d1c6ee3713c081adc48ff7e765822d4b278804472f97b895d8e3513e1fd902f42
+Signature:15690d3ef78e75e443faebb4a9c4fe50897e7e4d348cfcc514d2ee76ca6d58ed2c231a00426c94a1dbe3d57640ee0a4274ce445bc6bf384ae9fbc8b5c2403f8e23073f4f309f07a03e9b950ecdead4b4d8dd777700b7d3f61fa932c130f39a442951c3462dd90d14291f7d5123b2219cb0551b8ec40cbdb5fd2753f6f38d15ea375f4d2da8d9a99695c6fbe9cdb4ba86e8d4430c54376c8263dccd53011471ecf7407f3d0bd3a69e0eb2c6791afbd8cefec8148b4e938d1ad3405a41100966db93015b3687ef5c5409590acfa1e050d265036709b51794d4fd16ff1eccd9f89d57e31b4cfe8ba400f2a8c25a8f4e6773af27511b67a47d6b582ddef0b27015ed
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 2,377.41
-There were 19 failures:
-1) testEax(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
-java.security.InvalidKeyException: Illegal key size
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
- at javax.crypto.Cipher.implInit(Cipher.java:805)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1396)
- at javax.crypto.Cipher.init(Cipher.java:1327)
- at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-3) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+Time: 59.21
+There were 7 failures:
+1) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: testLargeByteBufferAlias failed with outputOffset=1
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1400,7 +1324,7 @@ Caused by: arrays first differed at element [16]; expected:<0> but was:<120>
at org.junit.Assert.assertArrayEquals(Assert.java:305)
at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:465)
... 32 more
-4) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+2) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: Overlapping buffers test failed with buffer type: array backed buffers and output offset 1
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@@ -1442,233 +1366,7 @@ Caused by: java.lang.AssertionError: expected:<java.nio.HeapByteBuffer[pos=0 lim
at org.junit.Assert.assertEquals(Assert.java:144)
at com.google.security.wycheproof.AesGcmTest.testByteBufferShiftedAlias(AesGcmTest.java:581)
... 32 more
-5) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:67d40c1f045dae988bc33be501df4ea9 pt: 67d40c1f045dae988bc33be501df4ea9
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:252)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-6) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:ccb8fb5a59290f973911c76432d54d38 pt: ccb8fb5a59290f973911c76432d54d38
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:190)
- at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:291)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-7) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted: pt:
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
- at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-8) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:a6fe4b74b77a7b0a8957478f3604b529 pt: a6fe4b74b77a7b0a8957478f3604b529
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-9) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
-java.lang.AssertionError: this should fail; decrypted:479982f5237fcdb602381b22e75fae9c pt: 479982f5237fcdb602381b22e75fae9c
- at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
- at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-10) testSemanticSecurityDhies(com.google.security.wycheproof.DhiesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.DhiesTest.testNotEcb(DhiesTest.java:165)
- at com.google.security.wycheproof.DhiesTest.testSemanticSecurityDhies(DhiesTest.java:178)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-11) testEncode(com.google.security.wycheproof.EcdhTest)
+3) testEncode(com.google.security.wycheproof.EcdhTest)
org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101]03420004cdeb39edd03e...> but was:<30[59301306072a8648ce3d020106082a8648ce3d030107]03420004cdeb39edd03e...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
@@ -1705,176 +1403,14 @@ org.junit.ComparisonFailure: expected:<30[8201333081ec06072a8648ce3d02013081e002
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testModifyPoint(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testModifyPoint(EciesTest.java:227)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-13) testAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
- at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-14) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-15) testEciesBasic(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.junit.runners.Suite.runChild(Suite.java:127)
- at org.junit.runners.Suite.runChild(Suite.java:26)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
- at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
- at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
- at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-16) testByteBuffer(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
- at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
+4) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidAlgorithmParameterException: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:295)
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:257)
+ at javax.crypto.Cipher.init(Cipher.java:1537)
+ at javax.crypto.Cipher.init(Cipher.java:1470)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:345)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1907,15 +1443,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-17) testDefaultEcies(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+5) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:360)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
- at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1948,15 +1481,13 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-18) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+6) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:360)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
- at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:202)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1989,14 +1520,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-19) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
-java.security.InvalidKeyException: Illegal key size or default parameters
- at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
- at javax.crypto.Cipher.implInit(Cipher.java:801)
- at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
- at javax.crypto.Cipher.init(Cipher.java:1249)
+7) testByteBufferAlias(com.google.security.wycheproof.EciesTest)
+java.lang.IllegalArgumentException: cannot handle supplied parameter spec: NONCE in IES Parameters needs to be 16 bytes long
+ at org.spongycastle.jcajce.provider.asymmetric.ec.IESCipher.engineInit(IESCipher.java:360)
+ at javax.crypto.Cipher.init(Cipher.java:1246)
at javax.crypto.Cipher.init(Cipher.java:1186)
- at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:394)
+ at com.google.security.wycheproof.EciesTest.testByteBufferAlias(EciesTest.java:430)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -2031,12 +1560,12 @@ java.security.InvalidKeyException: Illegal key size or default parameters
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
FAILURES!!!
-Tests run: 90, Failures: 19
+Tests run: 90, Failures: 7
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 21:46:31 --
+-- JVM shutdown starting at 2018-04-06 22:19:48 --
diff --git a/testlogs/index.html b/testlogs/index.html
index e0bc89f..38541b5 100644
--- a/testlogs/index.html
+++ b/testlogs/index.html
@@ -1,21 +1,21 @@
<html><body><ul>
-<li><a href="BouncyCastleAllTests_1_49.txt">BouncyCastleAllTests_1_49.txt (Tests run: 96, Failures: 44)</a></li>
-<li><a href="BouncyCastleAllTests_1_50.txt">BouncyCastleAllTests_1_50.txt (Tests run: 96, Failures: 38)</a></li>
-<li><a href="BouncyCastleAllTests_1_51.txt">BouncyCastleAllTests_1_51.txt (Tests run: 96, Failures: 36)</a></li>
-<li><a href="BouncyCastleAllTests_1_52.txt">BouncyCastleAllTests_1_52.txt (Tests run: 96, Failures: 37)</a></li>
-<li><a href="BouncyCastleAllTests_1_53.txt">BouncyCastleAllTests_1_53.txt (Tests run: 96, Failures: 37)</a></li>
-<li><a href="BouncyCastleAllTests_1_54.txt">BouncyCastleAllTests_1_54.txt (Tests run: 96, Failures: 38)</a></li>
-<li><a href="BouncyCastleAllTests_1_55.txt">BouncyCastleAllTests_1_55.txt (Tests run: 96, Failures: 38)</a></li>
-<li><a href="BouncyCastleAllTests_1_56.txt">BouncyCastleAllTests_1_56.txt ()</a></li>
-<li><a href="BouncyCastleAllTests_1_57.txt">BouncyCastleAllTests_1_57.txt (Tests run: 96, Failures: 19)</a></li>
-<li><a href="BouncyCastleAllTests_1_58.txt">BouncyCastleAllTests_1_58.txt (Tests run: 96, Failures: 19)</a></li>
-<li><a href="BouncyCastleAllTests_1_59.txt">BouncyCastleAllTests_1_59.txt (Tests run: 96, Failures: 19)</a></li>
-<li><a href="ConscryptAllTests_1_0_1.txt">ConscryptAllTests_1_0_1.txt (Tests run: 63, Failures: 3)</a></li>
-<li><a href="SpongyCastleAllTests_1_50.txt">SpongyCastleAllTests_1_50.txt (Tests run: 90, Failures: 38)</a></li>
-<li><a href="SpongyCastleAllTests_1_51.txt">SpongyCastleAllTests_1_51.txt (Tests run: 90, Failures: 36)</a></li>
-<li><a href="SpongyCastleAllTests_1_52.txt">SpongyCastleAllTests_1_52.txt (Tests run: 90, Failures: 37)</a></li>
-<li><a href="SpongyCastleAllTests_1_53.txt">SpongyCastleAllTests_1_53.txt (Tests run: 90, Failures: 37)</a></li>
-<li><a href="SpongyCastleAllTests_1_54.txt">SpongyCastleAllTests_1_54.txt (Tests run: 90, Failures: 37)</a></li>
-<li><a href="SpongyCastleAllTests_1_56.txt">SpongyCastleAllTests_1_56.txt ()</a></li>
-<li><a href="SpongyCastleAllTests_1_58.txt">SpongyCastleAllTests_1_58.txt (Tests run: 90, Failures: 19)</a></li>
+<li><a href="BouncyCastleAllTests_1_49.txt">BouncyCastleAllTests_1_49.txt (Tests run: 96, Failures: 38)</a></li>
+<li><a href="BouncyCastleAllTests_1_50.txt">BouncyCastleAllTests_1_50.txt (Tests run: 96, Failures: 27)</a></li>
+<li><a href="BouncyCastleAllTests_1_51.txt">BouncyCastleAllTests_1_51.txt (Tests run: 96, Failures: 21)</a></li>
+<li><a href="BouncyCastleAllTests_1_52.txt">BouncyCastleAllTests_1_52.txt (Tests run: 96, Failures: 22)</a></li>
+<li><a href="BouncyCastleAllTests_1_53.txt">BouncyCastleAllTests_1_53.txt (Tests run: 96, Failures: 22)</a></li>
+<li><a href="BouncyCastleAllTests_1_54.txt">BouncyCastleAllTests_1_54.txt (Tests run: 96, Failures: 21)</a></li>
+<li><a href="BouncyCastleAllTests_1_55.txt">BouncyCastleAllTests_1_55.txt (Tests run: 96, Failures: 22)</a></li>
+<li><a href="BouncyCastleAllTests_1_56.txt">BouncyCastleAllTests_1_56.txt (Tests run: 96, Failures: 9)</a></li>
+<li><a href="BouncyCastleAllTests_1_57.txt">BouncyCastleAllTests_1_57.txt (Tests run: 96, Failures: 7)</a></li>
+<li><a href="BouncyCastleAllTests_1_58.txt">BouncyCastleAllTests_1_58.txt (Tests run: 96, Failures: 7)</a></li>
+<li><a href="BouncyCastleAllTests_1_59.txt">BouncyCastleAllTests_1_59.txt (Tests run: 96, Failures: 7)</a></li>
+<li><a href="ConscryptAllTests_1_0_1.txt">ConscryptAllTests_1_0_1.txt (Tests run: 63, Failures: 2)</a></li>
+<li><a href="SpongyCastleAllTests_1_50.txt">SpongyCastleAllTests_1_50.txt (Tests run: 90, Failures: 27)</a></li>
+<li><a href="SpongyCastleAllTests_1_51.txt">SpongyCastleAllTests_1_51.txt (Tests run: 90, Failures: 21)</a></li>
+<li><a href="SpongyCastleAllTests_1_52.txt">SpongyCastleAllTests_1_52.txt (Tests run: 90, Failures: 22)</a></li>
+<li><a href="SpongyCastleAllTests_1_53.txt">SpongyCastleAllTests_1_53.txt (Tests run: 90, Failures: 22)</a></li>
+<li><a href="SpongyCastleAllTests_1_54.txt">SpongyCastleAllTests_1_54.txt (Tests run: 90, Failures: 21)</a></li>
+<li><a href="SpongyCastleAllTests_1_56.txt">SpongyCastleAllTests_1_56.txt (Tests run: 90, Failures: 9)</a></li>
+<li><a href="SpongyCastleAllTests_1_58.txt">SpongyCastleAllTests_1_58.txt (Tests run: 90, Failures: 7)</a></li>
</ul></body></html>