aboutsummaryrefslogtreecommitdiff
path: root/testlogs/BouncyCastleAllTests_1_54.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testlogs/BouncyCastleAllTests_1_54.txt')
-rwxr-xr-xtestlogs/BouncyCastleAllTests_1_54.txt907
1 files changed, 790 insertions, 117 deletions
diff --git a/testlogs/BouncyCastleAllTests_1_54.txt b/testlogs/BouncyCastleAllTests_1_54.txt
index 93bff90..37f5baf 100755
--- a/testlogs/BouncyCastleAllTests_1_54.txt
+++ b/testlogs/BouncyCastleAllTests_1_54.txt
@@ -1,7 +1,7 @@
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
JUnit4 Test Runner
-...E.E.....E.........E..
+.E.E.E.E.....E.........E..
Provider:BC
AlgorithmParameterGenerator.1.2.840.113549.3.2
AlgorithmParameterGenerator.1.3.6.1.4.1.188.7.1.1.2
@@ -827,41 +827,40 @@ X509StreamParser.ATTRIBUTECERTIFICATE
X509StreamParser.CERTIFICATE
X509StreamParser.CERTIFICATEPAIR
X509StreamParser.CRL
-.........E..E..testDhiesBasic:9945557dba75da81f17e1c08158f61549657fdf3d8dd3c4e39b49f50e416cf7df8ea232bd0c0fa01561a2fd7c0bca5d2e6c3ba12868cdb4b7ecffeb80473d26a5c9107c47014c227e048523b28fc7372f58d305234cbdd44492470fc40eb99b1c57e14d8c3ca99456723646a036d4d59f02f635c841383f4a8c116c01d7d85181f9176b0a97b19876732b579b448480d0df9ca2033de2f98d0b05aade51aa6ed69f11afa4fbc6c0817af2a871ec538fcbd4b256b54919f121d5d560d53b35911ff925f2cb4b38c16aeb1d007b84137160829984848927914a0608cbaa7ca1cbdf5c3c5f5c9f4c5b7784f82f770968e54f685302af226d2102868303770c9e71708e822250a7620ef69d2d54fd4d48e70f7db6b065220b0e48407a6cc0623712fa460be7c
-..E..Invalid DSA signature was verified:303f021c1e41b479ad576905b960fe14eadb91b0ccf34843dab916173bb8c9cd021d00ade65988d237d30f9ef41dd424a4e1c8f16967cf3365813fe87862360500
+..E.E..E.E.E..E..E.E.E.E.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:4110224 relative average:0.9950775822983859 sigmas:1.9064441781428003
-count:25000 cutoff:538968 relative average:0.9039150554586963 sigmas:26.31394578095245
-count:12502 cutoff:524429 relative average:0.8200510981437575 sigmas:34.8497426477759
-count:6251 cutoff:517840 relative average:0.6576452663101802 sigmas:46.882602735852934
-count:3125 cutoff:512947 relative average:0.542627981732145 sigmas:44.28485524431692
-count:1563 cutoff:507339 relative average:0.5880455040424026 sigmas:28.2091086371468
-count:782 cutoff:499582 relative average:0.7436838463630279 sigmas:12.414807250351533
-count:391 cutoff:491373 relative average:0.6667107942000492 sigmas:11.414851198607005
-count:196 cutoff:487019 relative average:0.5030227797224668 sigmas:12.051057140150522
-count:98 cutoff:484214 relative average:0.35691814526584975 sigmas:11.026556848588982
-count:49 cutoff:481196 relative average:0.2603220669932903 sigmas:8.968118328436045
-count:25 cutoff:478527 relative average:0.09864019499325749 sigmas:7.806004890860271
-count:13 cutoff:475990 relative average:0.05608889859966713 sigmas:5.894722938911106
+count:50000 cutoff:3004957 relative average:1.0035551830251577 sigmas:1.3769164649154928
+count:25001 cutoff:530083 relative average:0.8830129386248285 sigmas:32.03886698382837
+count:12500 cutoff:523729 relative average:0.6949860223536621 sigmas:59.06570278923739
+count:6251 cutoff:519708 relative average:0.4917394753605405 sigmas:69.60200610100847
+count:3125 cutoff:516264 relative average:0.3105034815028209 sigmas:66.76021333518922
+count:1565 cutoff:512962 relative average:0.18327200149965167 sigmas:55.96225967108492
+count:782 cutoff:509683 relative average:0.09661721381984946 sigmas:43.75581875965837
+count:391 cutoff:506504 relative average:0.04754139787167953 sigmas:32.620838079748026
+count:196 cutoff:503350 relative average:0.024082057330212986 sigmas:23.664752450110267
+count:98 cutoff:499996 relative average:0.014110135236637516 sigmas:16.904489778762258
+count:49 cutoff:496763 relative average:0.004227825990337696 sigmas:12.073095987036366
+count:25 cutoff:493660 relative average:0.002704602099312781 sigmas:8.636831496593052
+count:13 cutoff:491875 relative average:0.0010532867852479665 sigmas:6.238420224532785
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:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201010482015530820151020101042014b3906c4cfb30be53255346f49fdc6f721e2c7020077e038c9dcdb04792838ca081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004b935ff83930751d5b0b8c3ca9760219ccd7bf2151e2e9c31dfbbfe14af3814ac2bcde240ebfba9bfe450034a642b99d2464dcdfd426bdf6df4408e21870512c0
+..Encoded ECPrivateKey:3082024b0201003081ec06072a8648ce3d02013081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63255102010104820155308201510201010420f9b3983b3ddc647853e4e74992f9305bae91d204ea3b3d21aebb9dd796f7eaf7a081e33081e0020101302c06072a8648ce3d0101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff30440420ffffffff00000001000000000000000000000000fffffffffffffffffffffffc04205ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b0441046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101a14403420004d090ef0e86d968ae16f8572257cf3990790ea412f73b678242a95ebc3414b84586dcb44da3eea4402cc4bf53268daae71f3d62916a9bbbea8a1694df35c62f36
...Generated shared secret with a modified order:ECDHC
-expected:d8e0c7263bbf6bd824a5b3a7fa489d4ee06a2394e60d39b0ec283dc849880fcb computed:ce96fdb6e6877f9e231be0e957a78fe4ad8d57dd9af9139f660055a5bd537104
+expected:fde0b03338ac81e21d3c9ff4c366673e30a96f0d8a367410287d5b4eab7121ac computed:3cb760a0a673004c97d8aa21b99ad793e74a5264e931e29c6e48620a937e88e2
E..testModifiedPublic:public point not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:public point = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator = (0,0) throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
testModifiedPublic:generator not on curve throws java.security.spec.InvalidKeySpecException: encoded key spec not recognised
E.Generated shared secret with a modified order:ECDH
-expected:ebcea37b3659b4884503efea03c465cb771e44919cd250be88595f4fb2bad8d3 computed:ebcea37b3659b4884503efea03c465cb771e44919cd250be88595f4fb2bad8d3
+expected:1fc15fbc2d4e9808d14bb7ef639d8bb78a1d2bcdad72ee2cb9a295ae8b4d95d5 computed:1fc15fbc2d4e9808d14bb7ef639d8bb78a1d2bcdad72ee2cb9a295ae8b4d95d5
Generated shared secret with a modified order:ECDH
-expected:5fd2f05cb0493d794d8f718b055811d3cfe805e7f57b4d387511af1f9b63e9a8 computed:5fd2f05cb0493d794d8f718b055811d3cfe805e7f57b4d387511af1f9b63e9a8
+expected:229bafc3fb4de37e61167e1e8e0c69464fd7ffa7c11e26fdd76a5bc46a2dcf8c computed:229bafc3fb4de37e61167e1e8e0c69464fd7ffa7c11e26fdd76a5bc46a2dcf8c
..E...E.Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0500
Invalid ECDSA signature was verified:3047022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce3000
Invalid ECDSA signature was verified:3067022100b7babae9332b54b8a3a05b7004579821a887a1b21465f7db8a3d491b39fd2c3f0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce0220747291dd2f3f44af7ace68ea33431d6f94e418c106a6e76285cd59f43260ecce
@@ -870,41 +869,35 @@ Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Curve:secp256r1
Order:115792089210356248762697446949407573529996955224135760342422259061068512044369
Private key:
-S:15630608829132020486439324576892535460783818851586740408998554476188901490722
-encoded:308193020100301306072a8648ce3d020106082a8648ce3d030107047930770201010420228e9c70147e8d87e1415513e17ec1c48b801e2669c322593bc0b6c886bac022a00a06082a8648ce3d030107a14403420004a90403351b66c0f5de702b8bbfbc31f8cb3d61e701c547a1393e1d194d6487fe4dd82ce97e12fe8e8f2949c3df268cbd5e40a7bf65861c390d59cb00bc97479b
+S:70739175900084609526941825381131720737768307977794247107855866555811921734463
+encoded:308193020100301306072a8648ce3d020106082a8648ce3d0301070479307702010104209c64f4676e78e8899b93f7007a95156632e9e04a7289451e10f3684db6812b3fa00a06082a8648ce3d030107a144034200043f801f8ef30b76e8a5c8d1537eed5264aec3ed5bc7a3130c3b64746b4a466a3c12c2da11e496e2c38989cab9f274c909d140de6f5280da288817e05151424a39
Public key:
-X:76447960935833049219796713296947478349003861649670473649694862241194144204798
-Y:35210038278687637728709815457177365518554676218991713715715721713356945967003
-encoded:3059301306072a8648ce3d020106082a8648ce3d03010703420004a90403351b66c0f5de702b8bbfbc31f8cb3d61e701c547a1393e1d194d6487fe4dd82ce97e12fe8e8f2949c3df268cbd5e40a7bf65861c390d59cb00bc97479b
-Signature:3045022046d9dddad2e45c0a3526da941ab54319284f71376bc9bdc312afe2ded4f65b63022100a31418d47f22f910b31592be7b89e3808a599f3ce21f67b720211b3363d47313
-r:32046836399306093651627449896868866636250825807968041078937091229089120279395
-s:73762502631178053463951813714235745246646271164784762588628364619095490196243
-.BC curve:secp256r1 countLsb:505 countMsb:503
-BC curve:secp224r1 countLsb:487 countMsb:509
-BC curve:secp384r1 countLsb:550 countMsb:503
-BC curve:secp521r1 countLsb:499 countMsb:517
-BC curve:brainpoolP256r1 countLsb:508 countMsb:511
+X:28722083693082195996608223087356849530776184965112554437300671315100471552572
+Y:8485904668161768551861384678177215950152993126717028142311994218161979411001
+encoded:3059301306072a8648ce3d020106082a8648ce3d030107034200043f801f8ef30b76e8a5c8d1537eed5264aec3ed5bc7a3130c3b64746b4a466a3c12c2da11e496e2c38989cab9f274c909d140de6f5280da288817e05151424a39
+Signature:304402201efc86c980afe267b26a0c4bdf3d64a0a0d0156c728b5b2a966cb588976fc4b4022023cee84ace0337afdef8a9a75a6ef7efe1d3b6fe1237e7c39868378fe1e2b1de
+r:14015561184334222511953139383521000599546910580495505385975259634613045150900
+s:16196523417642835242599785178998727504679924674471402865455956224586612388318
+.BC curve:secp256r1 countLsb:522 countMsb:522
+BC curve:secp224r1 countLsb:532 countMsb:513
+BC curve:secp384r1 countLsb:505 countMsb:503
+BC curve:secp521r1 countLsb:535 countMsb:511
+BC curve:brainpoolP256r1 countLsb:509 countMsb:521
..testTiming algorithm:SHA256WithECDSA
-count:50000 cutoff:495982 relative average:0.9989065535594972 sigmas:0.42348998540371724
-count:25005 cutoff:148193 relative average:0.9886310939461712 sigmas:3.113814484668577
-count:12503 cutoff:146078 relative average:0.9717870412971388 sigmas:5.464071530754298
-count:6251 cutoff:144494 relative average:0.9724498806729743 sigmas:3.772757238708204
-count:3126 cutoff:142718 relative average:0.975745454015345 sigmas:2.3488120364652763
-count:1563 cutoff:140254 relative average:0.9772489405608817 sigmas:1.55790776317764
-count:782 cutoff:138618 relative average:0.9599035641211412 sigmas:1.9420918884696807
-count:392 cutoff:137575 relative average:0.9708623347594585 sigmas:0.9992137698949898
-count:196 cutoff:136680 relative average:0.9855285592597719 sigmas:0.3509137886911608
-count:98 cutoff:135905 relative average:0.9383690622824996 sigmas:1.0567504484398837
-count:49 cutoff:135330 relative average:0.9743391450343468 sigmas:0.31112133196317154
-count:25 cutoff:134813 relative average:0.9120059939127426 sigmas:0.7620504465232741
-count:13 cutoff:134378 relative average:1.0156915648839853 sigmas:0.0979937912922263
-....04b893b7f558830cd2dd5060d088c5dc6a43879370f0e5e525808f0c35b72d8000180a191c8a4ff8367f29f57412250bca826ed1c6b85b177c857896192a941d67eeedfadf3d445fe9dabc602f4d1e00d76f3fef23f4e4afeb751d4ee71c0aad58e0e09df7c360419bd43385c01b606e27b0fd09a7cd6ff53697bfc9ca
-ECIES:javax.crypto.BadPaddingException: Invalid MAC.
-.testEciesBasic:04762f3a84370f13824082457d333d9eb0bfa2ef5e0389d0e5e68482a5711ec3edb859ed9e4e604d829bf601891b7b8de6bf95dcb37e8c31a3be5df788d5d8cb3f381ad767b40eb54591b489e71e4443bca693417cc36a9e62e4e8ceb696f718edc6ecc972
-...E...E.048ca14adba04a976c0d615ceb168028bb96526a627afa2bbc1807c1aef81041d5356480b7fe689482c441433f3551cc07400c3cf57ee5c908229b6bc946c26cd1b5782571a4911ed73707dbc0e63676aa0a4adbd4a86bd6750708e0d30924ed01945d24855047edd68733dccdae4aec6fade1973b6d1646e78ae050c71306755b611929da
-ECIESWithAES-CBC:javax.crypto.BadPaddingException: Invalid MAC.
-ECIESWithAES-CBC:javax.crypto.BadPaddingException: pad block corrupted
-E..E........Exceptions for RSA/ECB/PKCS1PADDING
+count:50000 cutoff:1117421 relative average:0.9962891602602493 sigmas:1.4372020512499313
+count:25003 cutoff:137338 relative average:0.9818876622912825 sigmas:4.960565573258021
+count:12518 cutoff:135650 relative average:0.9637658731319364 sigmas:7.021758708913605
+count:6251 cutoff:134592 relative average:0.9503221594959073 sigmas:6.802962634769899
+count:3125 cutoff:133740 relative average:0.9360882403730033 sigmas:6.18822951655424
+count:1565 cutoff:132978 relative average:0.9259460309005991 sigmas:5.0741831503568875
+count:782 cutoff:132298 relative average:0.9322250104884097 sigmas:3.2827171414748566
+count:391 cutoff:131727 relative average:0.9408308675608137 sigmas:2.026488798888313
+count:196 cutoff:131194 relative average:0.9118880514950852 sigmas:2.13660120190167
+count:98 cutoff:130602 relative average:0.9456061555441889 sigmas:0.9326601484553706
+count:49 cutoff:130070 relative average:0.9619193081975531 sigmas:0.46170385092446753
+count:25 cutoff:129673 relative average:1.0885176826655731 sigmas:0.7665856187251571
+count:13 cutoff:129127 relative average:1.0277266294506682 sigmas:0.17315274542175746
+E..E.E.E.E..E.E..E.E.E..E........Exceptions for RSA/ECB/PKCS1PADDING
javax.crypto.BadPaddingException: unknown block type
javax.crypto.BadPaddingException: block truncated
javax.crypto.BadPaddingException: block incorrect size
@@ -913,18 +906,98 @@ E...testDefaultSize: keysize=2048
....Message:Hello
Hash:185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Public key:
-Modulus:20642889054059944207925687264474157927245934082973630546129138915523868106912995650139827024333488134142553808912142874994230981340670169119094062982236337765753559980934838536568082104002387775049723101003169165153902811045486231016150899730112730495184424395349200840922696498110418385340834070705018882868322969573182698354894667250470077050196593403106535474632228282342875330931946548291849105506480566642290429076902431118761186891744880538607960228228619369127545712328427722096800210630289414510570946949980447035769503080637026301772782070211801465151274226585103718480811067533063879719759503307609943904239
+Modulus:25973535921523778737271628035169247955757510550542131519331728024515854167614700173287717041916440022293134043328191560400647882410188017242443953052329984090181614796368235897937858303461352142389506469313529592278745617304603990931179130294268094105043117839162237883266610651680532113662012449431051576286453111374485849299004468906846144573675901167317879821258112819280793937577920444246499797477221367520398271147245886961762844849558063078665376967381918499349061178013442810713513940555537137466917461630132977363819484812146333395407777412413004435660147778851089805190018037708614657162551107226260917125631
E:65537
-encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100a385ef1e4c763c87ef8c0251c0bac114020ed6235bdedd412310069d8f73e46f4d433c8dd26ee254b8261e6854990ad2cfe6f881632cdb6e32ebfb94a8d05516f5d66f48ccbe1de7613c2440d1ca493c6024849d6bb762a0ff4496e47c5e1b9f1e5ffd64872068307c8e8ad5c0b0da617d5f92512097c2ec54db0dffa43bc822acf66a84ab1f5d7ebe4acd1e4d128f7924526e914d7cfa89478525add9be357acdf6b3de09299d6818e62c96121bf54f48168078ed90b2f839736eec7c2192b86aff377fda3867e990503ba2363fee8724dc51a1105a63dcaa74c6fbb58b9aef3f1961a290696f915cee159705e5fc88a9331cef121d62e2609027ea7b510fef0203010001
+encoded:30820122300d06092a864886f70d01010105000382010f003082010a0282010100cdc0026d47d64c816073d1f8399e00c5138dc7e6d4aca6c9779bd352876deb516feeeab13cfebd6ab09c14ce5ae1d7139b2c37f3927c4246fa6dc32a9f35997f4de5d3f4594c8e6a422dd05e72fd2a8624b89bfbdad0608557d301094919722a38497360153a6b4c68f57cfb33810ea07c67d2e90d4756ab9c18e4fd16d51c6dc96ede520a0fa9c3820b7966786ef4c3bc6e38c8f2e325cc03bb3062baabb9938e8c0099146e121c42b92fb5031a2483ad34f670917e2caef4baf3bb4ec0d00eae1fdcc9ff352581e9096d890903704ee191721077b73e029d82166edea379a2d09dfe21a490dfd2537d4950a91353425f2cd17da7eb56e5b387bff5230b01ff0203010001
Private key:
-D:2781751906265627008747664785940820082311861495853969790624219758799594750846119307936125888664436889950409142368548908258106884839253072288558817419589242976917658192648824733138547951561668792214346545714779261822431491764166984287030786745906748544611765018959159974161295056579674992296528313707239792240246661679880962572922297624311148151664277142859085993085968080100430186583164918993634439206513272404214225801786262594366225978575815369011844122828927610189905951276160734603886165272419237048844160122965210741534332738747997546690605574398599098284744520945128645779053441704684247998388713291156746761393
-encoded:308204bc020100300d06092a864886f70d0101010500048204a6308204a20201000282010100a385ef1e4c763c87ef8c0251c0bac114020ed6235bdedd412310069d8f73e46f4d433c8dd26ee254b8261e6854990ad2cfe6f881632cdb6e32ebfb94a8d05516f5d66f48ccbe1de7613c2440d1ca493c6024849d6bb762a0ff4496e47c5e1b9f1e5ffd64872068307c8e8ad5c0b0da617d5f92512097c2ec54db0dffa43bc822acf66a84ab1f5d7ebe4acd1e4d128f7924526e914d7cfa89478525add9be357acdf6b3de09299d6818e62c96121bf54f48168078ed90b2f839736eec7c2192b86aff377fda3867e990503ba2363fee8724dc51a1105a63dcaa74c6fbb58b9aef3f1961a290696f915cee159705e5fc88a9331cef121d62e2609027ea7b510fef020301000102820100160924ed78d1501be3688321802eca790743f790613f79a25ef6b8658020d66e3743b1c3ccd13b77be2f08d6f75b7e4d654dd33c2060b99b328a8167098eb580b81532fee4f453b44bf29e520bd34e2630308b9c691917d5e940557329dd46ac9d1bc35a4a295051045ff30e95fe5f17571d4b6ada510927eed16c24007e3bdc54ff2645cacd1b766f984c9c49c8e9d3d4055b2c382c22177dce7499eb065d97bcece206377c2a5d8107ff34a9535d0a839dd8cc66b4ca42ea14894ce23f40e88b83aa7aa3ba99c5b30640fd1ef96cbd83ef701f8d33d4545a5eb0762ec4bdc9d37b325b30589854b4d69a94020242067ecb7b037c7e3961ec7b866ef1a174b102818100e0a3a2e662c075bb2aad5704058603b8c00978b8b687f4968742f21bf4f3e213a1be854afa33842793852549756f1cf13aa5562f87a524ad62aff6b4a5a6f94651b0fcad948ced38136dbddb2e4d562ca5ced1517ced040f33d66fdff1b4ab685161edf2765e960fbf01de7e204804b99387cec7efb8136a6203dd4f92eb159f02818100ba5a13a386f8acac238b405f582ad3b482eb486280224ed8e9736c9eca12095de92b2ec28db9bcbc113686c7b8329feed6b7e57314ddd4d39e8f142bd9a9dbc277cc2ddaf2a112a6556b8acbdbc517f4e7df22736501fd8b9cff0bd8d76c305722aceb775314b33c0af69fc08aa5cedb73efa23004cb3430023763f84251c3b102818044fb5b01be5f7587c542378f5f96d8bbba14ee826262fb83e20377cf87f8007ba0d69d9df9992a42f0f5190f26c5b930869ed1098570fc035663ccb18a90ecc9603aa64d3369d74aba04a02197655e4a159c9e0095093f8edf8f410996f2b11436b188dd44e624d4af0606e9da45e3558d6d4ddd6dcaac03a617a3b554db65e7028180179b3d8da39570da458e68532baa113376ba336b36ec21acdcb5e076a5066fe5539a42cc2683f6e2a41392334ea42b1a685cd75622b88f33578cac73799948db73ad8bc9869edcebf13a3454eabc26f2c144c4ea754b3141345c22b60f640723a2a2e119368f12bd726e17829e8dae8ca23d23008e3ae79b854c5affa1f715a10281800fbc6c2af908e45fb904b44355888a35c11148b78158a95af81a4e204508d0bb411ce6c490ba5bafa573b291db7cb1243995efadf7f79fd08562381813bc2a6f0b825da8cd123c302a7535e0da9d6944aca48a637494f0b30b0de2b8ad58d134aea30ec858ed233667e3e7666a865de25f13fed0e083b4fb943e15222eb33b7e
-Signature:2512f02b66be6b81afaa2e0aa67f7c60168fc0c7ca5e128d337ed6b7bb487dee117bc8d781b77bda456ef9296002922e9a720eae19b05a278eded79c096aa9a30e547c280475daeb7c7df61916fdd1e8f543deb2ee2e0ff8bdccad942c76d98e5f00a735916d25d5759918d96a2f2a39f0e2a7f0f5eac7a61d66b0e5facb0f474828e41bee0538e3ca83b7ec1d449f12ab8e76944fd9415ef7c92d7f7bf7f0af633488078b3984f14100dabc2107eb7384c63f0da74b1ea5317f4a40f3b830cb00e4529d66468ee599eb69087e32ae3cfa1bdedfb680d0517215fa2c36bbac0fe329979d0c03451431cef8070cf32901a4644cb9ea02d2a3e65355932530b09c
+D:1248139561807613315174340915189277582057956877700240874593212823166688487295337937537687874086528858154556614031589045692587501172424006728548303342327813243836997403991064044044925692108289236315852404606427044203272393672245695847728664332210532234231286028474524942760592934459809814353615482461431838975191400244796554430290940013547377826318229090206724242775708277020349757090564931396221512215611411610897259723868761951750502693762979973828493073462907301385200069071869375074397546088622352289613912887779749705999108899343417107001619899025414900499948010934632579338230694953129640178899554492296761129409
+encoded:308204bd020100300d06092a864886f70d0101010500048204a7308204a30201000282010100cdc0026d47d64c816073d1f8399e00c5138dc7e6d4aca6c9779bd352876deb516feeeab13cfebd6ab09c14ce5ae1d7139b2c37f3927c4246fa6dc32a9f35997f4de5d3f4594c8e6a422dd05e72fd2a8624b89bfbdad0608557d301094919722a38497360153a6b4c68f57cfb33810ea07c67d2e90d4756ab9c18e4fd16d51c6dc96ede520a0fa9c3820b7966786ef4c3bc6e38c8f2e325cc03bb3062baabb9938e8c0099146e121c42b92fb5031a2483ad34f670917e2caef4baf3bb4ec0d00eae1fdcc9ff352581e9096d890903704ee191721077b73e029d82166edea379a2d09dfe21a490dfd2537d4950a91353425f2cd17da7eb56e5b387bff5230b01ff02030100010282010009e31d9012d1018180c3babb559ecf7aa8f88f3aa5cdb0d622f6a203bd43a84de98b19a1701a430ff5720aadea95750dc42483d6789b9ab3be7a627e91d8098af73b56cc248916999499e456d03fca38ad5b11b9309d5830badfb0ea63fb8d0e3fab87ed28c2a8955615e098fc5df4a351ac763e2cc7d8d50ba89bedc2edcac7db0ca2aa8ef1dadbba2c1ca4852795ee996ca1a1ea372f653c034e510f6f9e3fc1858d1f5c32d0ccc9be988f4c0352e12c1415c6123a212a0082aa5323b9ba4fd28671d9cbc6b5409122a4d7b9c75b416972e5f7b2fc2c2627e69862d53457ad8f727503e1dfebda28a6fce7d4c66ae31851f666347254f0aed2948fa28f39c102818100f5e9f76bea14567c2cffb7c4fdc353963bde5f1d14fff90b22ef593fef484233bb6143cf5ba0fcf1429fa5290d63e3083a7f38dd102573fd81c3408dd63571af0d6eea88db56b179169c00b2f3b7f0a03eca871b7faa2ec66fd67dae136e2ee5af9bfa9dcb0e81846fdaa5db28f8becfa5a11346669ecef8d7843cf850c925b302818100d6305514d0b86a3c4d4164cdc51eea2891a3fa4de9495b6ea9e92190a9159e7166c94d9f20e36fcee28fb5343b4c2178108577d1b7858873c0682fff0658ce19382264786435136a7f5cae8a53cc4820b4a28c73ea837bdcb06d5c97cde05b46699f74cd34e4507a9c39ec2be15b6b92c31b210c1aabcb871b7a3da8c9ade48502818100a7a9e48acc271fac3c56016aab05e0d89e6b07f861180129c9a0dcfe0d5bfbdf1f93ba53078b24ca2d7d817312f1169ac69f751aabe68d45bb926f5205499d00182d9674c6ef3dc36c59e2d41ffd3a6f5740688ba4285909ecb89629f88f78241bee421a11970b514b9e0cd4f70359bd639505fa4aff5de825b0c08d212f73a702818071abf2eb7a1df51b8db09febe8aa9080f9523a3bf10c227f27a37751cbba927d029ce11a0b9d48b05663083af121653dd01ed5493289a6b22fb1db8f0ff23f66f8f89fb39912e5fc061dccefd2ab3eb844c5639efd1dccb581d878648439869766e4de5b2dafe1da4061292adc8de5185d7d5f5b8a28147adea55065ecaae1f502818030b6f825c22252e9ce57dfa26141e067ccb3aa3b110e3aace040900d12919ee3860c563e176c325fa9ec475388f785f65204b6bebddb1fc251c36e5af2779980f189eb66f46669c9fc3342b1fe124904d9dcc46997cb4dd5cbd3de8af0492af7ab257b3153e4a43a25ceeb34585995845f08f9153f1c0b5a401a32b2cd96dc75
+Signature:b8a223ed5f711f8cec9edf40d461c472dc348680cc3c5a095b4f3ee8a0133929e37c2742c66765c301f17e9f6b647d3e467795e250bb05eb49c4fa72570ec05c26631fc65d590b3e09237ab947658588496d059e28373bbc8587923b1c3696bf753092387bc9e36c94d69831d89e6a5380c3e9128de4dcbe50feefaebc7f199107ee5d81a36786bbf03746f00a2c1c196ed850e87b8673be588e3108b795f3dd95832a6940a98cb5fa729c67069600bd8360b88cc9ee8a17e954cf9bf6abafc92454d144675c293fff6083a3eeb3d2dc0bafd099cd2ba31065d7179c5aaccaff37070a8aadadd4ecd3d0af5f1a698ddfafe563a979a543ed93ea1c9152cf66b6
..Verfied legacy signature:253e1d19bbe91064f2364c1e7db3ba8eb6dc5b19202e440eab6fbdf28c8c6ec05b812983713c338c72b6e99b8edf506a89ff9fc8e5c2c52362097a56dc228060eca01e1ff318c6c81617691438703411c1f953b21cd74331f87c9b8b189fdffdfe8550bd2bd1d47be915f8604a0f472199dd705e19b1b815f99b68d60bc257c7
-Time: 85.262
-There were 21 failures:
-1) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
+Time: 697.864
+There were 38 failures:
+1) testEax(com.google.security.wycheproof.AesEaxTest)
+java.security.InvalidKeyException: Illegal key size
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
+ at javax.crypto.Cipher.implInit(Cipher.java:805)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1396)
+ at javax.crypto.Cipher.init(Cipher.java:1327)
+ at com.google.security.wycheproof.AesEaxTest.testEax(AesEaxTest.java:264)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+2) testLateUpdateAAD(com.google.security.wycheproof.AesEaxTest)
+java.security.InvalidKeyException: Illegal key size
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
+ at javax.crypto.Cipher.implInit(Cipher.java:805)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1396)
+ at javax.crypto.Cipher.init(Cipher.java:1327)
+ at com.google.security.wycheproof.AesEaxTest.testLateUpdateAAD(AesEaxTest.java:275)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+3) testDefaultTagSizeAlgorithmParameterGenerator(com.google.security.wycheproof.AesGcmTest)
java.lang.AssertionError: expected:<26> but was:<22>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
@@ -964,7 +1037,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)
-2) testLargeArrayAlias(com.google.security.wycheproof.AesGcmTest)
+4) 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)
@@ -1006,7 +1079,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
-3) testByteBufferShiftedAlias(com.google.security.wycheproof.AesGcmTest)
+5) 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)
@@ -1048,7 +1121,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
-4) testIvReuse(com.google.security.wycheproof.AesGcmTest)
+6) 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)
@@ -1084,10 +1157,11 @@ 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)
-5) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
-java.lang.AssertionError: Generated secrets with weak public key:0 secret:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+7) testCorruptAesGcm(com.google.security.wycheproof.CipherInputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:5d45f7a1cb6658f5254b5b64069b65d4 pt: 5d45f7a1cb6658f5254b5b64069b65d4
at org.junit.Assert.fail(Assert.java:88)
- at com.google.security.wycheproof.DhTest.testSubgroupConfinement(DhTest.java:436)
+ 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)
@@ -1120,12 +1194,11 @@ 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)
-6) testSemanticSecurityDhiesWithAes(com.google.security.wycheproof.DhiesTest)
-java.lang.AssertionError: Ciphertext repeats at 256:180fbaac02f32579a098177f2e7b816b4d05807c095a988a99cdc96ff2d8b18f18ce291c19c2bce71a90e4faf266a0e8cbd78404564c37fef578eec686d6eed15d45452c0c58cd09cba4a47e0c56860f60d76653de5822aca10593f9a31c58d31a24ed97d32ae665c4d6b6b342b7b1199acde1141a06fa40de5ee9c67f510c090766029a4c402bdf5ecdd88d2e5fbb4b55eeed6eaa763af6eb9f389fb0f75c0961a26425650decc627c8ac5b1ec75ac26f949c5a816ec23efa1e193a066fdc6c0f6430c90d1e75f671e6d13315f3f6fc1f95a5e1002c117e070f0864ab33e88f7cf35286b88d20f176dddec084da1c8be309d7d32b3977e3c2fcec850f8f8890a26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3aa26dd33f2f378e4d310ba11385294b3ae5b8cb8b87fa4ef376933ed58bbc6de8348d69b76e258d79c19dba42106789cf5320a8b1
+8) testAesEax(com.google.security.wycheproof.CipherInputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:92674c65068cd38f8f9fc16092bc56d7 pt: 92674c65068cd38f8f9fc16092bc56d7
at org.junit.Assert.fail(Assert.java:88)
- at 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 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)
@@ -1158,12 +1231,283 @@ java.lang.AssertionError: Ciphertext repeats at 256:180fbaac02f32579a098177f2e7b
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) testSemanticSecurityDhiesWithDesede(com.google.security.wycheproof.DhiesTest)
-java.lang.AssertionError: Ciphertext repeats at 256:9f6b8c57c1bf77314db7929c2ccde095744f1c05e6c49f6c8f838c90c93ec11049306d59c7a2b85e9235c4167630af51fba1bc1fc8d96476dad0f7d008ae8f33afd1ebee64e1043b86c3a463218abc002cf72ca8c8c3c5d588936ae496f11ce57365ebaf01a8c959af28b3f000e90baa651bb8c5fd61ef4462773d2740219215259113d45921db35cfd2ba22ae1a60c7b4c9e290fc8d027323640318b477e1b1b2d2a78a39655bf76a198a5375ccd027f285ef26eb0531383c80bbbcfd24add52ecb086e103df26579fd9dc4ce81ba38c932d477bb9f5b99c37657c95b2c7830b6b8057275c959baa6dd3c2141aaad550da7c058872b6e7cf9289e4ac84d34c9862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42862fbf2b49753d42890966711c77cf372bcbf29fdf799eb57dbfec0cb9ee77975fca2952
+9) testEmptyPlaintext(com.google.security.wycheproof.CipherOutputStreamTest)
+java.lang.AssertionError: this should fail; decrypted: pt:
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 com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecryptEmpty(CipherOutputStreamTest.java:186)
+ at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:227)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+10) testAesEax(com.google.security.wycheproof.CipherOutputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:f6eb3f1f438abfd1c8582b1074a42823 pt: f6eb3f1f438abfd1c8582b1074a42823
+ at org.junit.Assert.fail(Assert.java:88)
+ at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
+ at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:250)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+11) testAesGcm(com.google.security.wycheproof.CipherOutputStreamTest)
+java.lang.AssertionError: this should fail; decrypted:2a8e45a1af29d4f130e0dfc73bc0a300 pt: 2a8e45a1af29d4f130e0dfc73bc0a300
+ at org.junit.Assert.fail(Assert.java:88)
+ at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:159)
+ at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:208)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+12) testSubgroupConfinement(com.google.security.wycheproof.DhTest)
+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)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+13) 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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1196,7 +1540,48 @@ java.lang.AssertionError: Ciphertext repeats at 256:9f6b8c57c1bf77314db7929c2ccd
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) testInvalidSignatures(com.google.security.wycheproof.DsaTest)
+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)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+18) 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)
@@ -1237,7 +1622,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)
-9) testKeyGenerationAll(com.google.security.wycheproof.DsaTest)
+19) 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)
@@ -1275,7 +1660,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)
-10) testDefaultKeySize(com.google.security.wycheproof.DsaTest)
+20) 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)
@@ -1311,7 +1696,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)
-11) testTiming(com.google.security.wycheproof.DsaTest)
+21) 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)
@@ -1347,8 +1732,8 @@ java.lang.AssertionError: Signatures with short timing have a biased k
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
-12) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[d8e0c7263bbf6bd824a5b3a7fa489d4ee06a2394e60d39b0ec283dc849880fcb]> but was:<[ce96fdb6e6877f9e231be0e957a78fe4ad8d57dd9af9139f660055a5bd537104]>
+22) testWrongOrderEcdhc(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[fde0b03338ac81e21d3c9ff4c366673e30a96f0d8a367410287d5b4eab7121ac]> but was:<[3cb760a0a673004c97d8aa21b99ad793e74a5264e931e29c6e48620a937e88e2]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testWrongOrder(EcdhTest.java:2150)
at com.google.security.wycheproof.EcdhTest.testWrongOrderEcdhc(EcdhTest.java:2162)
@@ -1384,8 +1769,8 @@ org.junit.ComparisonFailure: Algorithm:ECDHC expected:<[d8e0c7263bbf6bd824a5b3a7
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
-org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[8a5fbfed648b2366c7603365d35eaac91bcae3094b8c7eea14cc48cd4febfc67]> but was:<[6a0d6e0dd9c05e6b6bed5ec9e56b8e97712eb0ee3ff15734e7d58124e956b222]>
+23) testModifiedPublic(com.google.security.wycheproof.EcdhTest)
+org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<6[25baa71de16831ac00c59082f0b9adfbe5dbfdb38383d9a8546e4f4c2f85bd9]> but was:<6[887513f551f0063d220b6b27193409da2a234143cd62e8f57802bd5f37a1963]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:1950)
at com.google.security.wycheproof.EcdhTest.testModifiedPublic(EcdhTest.java:2010)
@@ -1421,7 +1806,7 @@ org.junit.ComparisonFailure: algorithm:ECDH test:modified prime expected:<[8a5fb
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) testModifiedPublicSpec(com.google.security.wycheproof.EcdhTest)
+24) 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)
@@ -1463,7 +1848,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)
-15) testEncode(com.google.security.wycheproof.EcdhTest)
+25) 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)
@@ -1500,7 +1885,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)
-16) testInvalidSignatures(com.google.security.wycheproof.EcdsaTest)
+26) 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)
@@ -1541,12 +1926,11 @@ 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)
-17) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
-java.lang.AssertionError: Ciphertext repeats:04cbeeecebb2feb453a09645d62ccab1c49df534fabf84db4cff9a0768fc6ac331bab77561e65cd027bddceedf4f1c5f14dda966810e8933809f4789a5b1afb2906472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b666472bb8198e92b6660c7a1456484c3eb950ef64c7845fa7c14ced9c1b5bae73c763982ab
+27) testTimingAll(com.google.security.wycheproof.EcdsaTest)
+java.lang.AssertionError: Signatures with short timing have a biased k
at org.junit.Assert.fail(Assert.java:88)
- at 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 com.google.security.wycheproof.EcdsaTest.testTiming(EcdsaTest.java:905)
+ at com.google.security.wycheproof.EcdsaTest.testTimingAll(EcdsaTest.java:919)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1579,12 +1963,14 @@ java.lang.AssertionError: Ciphertext repeats:04cbeeecebb2feb453a09645d62ccab1c49
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) testDefaultEciesWithAes(com.google.security.wycheproof.EciesTest)
-java.lang.AssertionError: Ciphertext repeats:04d788896c8c2e3c962b4135773f3b3dac9952d3005b6d685d1efe68b164cdf133e18ad67a3f141b9271da81f2e0833bf931daf8fa1451b76c6a2cd876ea72710a42518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af442518800ab3cfca0bc5363cfcdb40af40ef801d63c0ab06288618913d3dd1a606cba73bd59abc7889bf1275673f9d045a46fc427
- 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)
+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)
@@ -1617,15 +2003,300 @@ java.lang.AssertionError: Ciphertext repeats:04d788896c8c2e3c962b4135773f3b3dac9
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) 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)
+29) testAlias(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testIsAlias(EciesTest.java:322)
+ at com.google.security.wycheproof.EciesTest.testAlias(EciesTest.java:332)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+30) testEciesCorruptDefault(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptDefault(EciesTest.java:209)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+31) testEciesBasic(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testEciesBasic(EciesTest.java:89)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+32) testByteBuffer(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testByteBuffer(EciesTest.java:359)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+33) testDefaultEciesWithDESede(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
+ at com.google.security.wycheproof.EciesTest.testDefaultEciesWithDESede(EciesTest.java:293)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+34) testDefaultEcies(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testNotEcb(EciesTest.java:273)
+ at com.google.security.wycheproof.EciesTest.testDefaultEcies(EciesTest.java:282)
+ at 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)
+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)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.lang.reflect.Method.invoke(Method.java:498)
+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at org.junit.runners.Suite.runChild(Suite.java:127)
+ at org.junit.runners.Suite.runChild(Suite.java:26)
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
+ at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
+ at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:89)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
+ at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:112)
+ at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
+ at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:82)
+36) testEciesCorruptAesCbc(com.google.security.wycheproof.EciesTest)
+java.security.InvalidKeyException: Illegal key size or default parameters
+ at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026)
+ at javax.crypto.Cipher.implInit(Cipher.java:801)
+ at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
+ at javax.crypto.Cipher.init(Cipher.java:1249)
+ at javax.crypto.Cipher.init(Cipher.java:1186)
+ at com.google.security.wycheproof.EciesTest.testExceptions(EciesTest.java:183)
+ at com.google.security.wycheproof.EciesTest.testEciesCorruptAesCbc(EciesTest.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1658,12 +2329,14 @@ java.lang.AssertionError: expected:<1> but was:<2>
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) 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)
+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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@@ -1696,7 +2369,7 @@ javax.crypto.ShortBufferException: Need at least 102 bytes of space in output bu
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.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) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
+38) testExceptionsPKCS1(com.google.security.wycheproof.RsaEncryptionTest)
java.lang.AssertionError: Exceptions leak information about the padding for RSA/ECB/PKCS1PADDING
at org.junit.Assert.fail(Assert.java:88)
at com.google.security.wycheproof.RsaEncryptionTest.testExceptions(RsaEncryptionTest.java:138)
@@ -1735,12 +2408,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: 21
+Tests run: 96, Failures: 38
BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.
--- JVM shutdown starting at 2018-04-06 21:31:34 --
+-- JVM shutdown starting at 2018-04-06 19:59:55 --