aboutsummaryrefslogtreecommitdiff
path: root/testlogs/BouncyCastleAllTests_1_55.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testlogs/BouncyCastleAllTests_1_55.txt')
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_55.txt864
1 files changed, 114 insertions, 750 deletions
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 --