https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88011
Bug ID: 88011 Summary: [9 regression] r266028 causes a bunch of go failures Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- Something in this revision is causing a whole bunch of new failures in go. Failures found in new revision r266028 versus failures found in previous revision r266027 > FAIL: crypto/dsa > FAIL: crypto/ecdsa > FAIL: crypto/elliptic > FAIL: crypto/rsa > FAIL: crypto/tls > FAIL: crypto/x509 > FAIL: golang_org/x/net/http/httpguts > FAIL: golang_org/x/net/idna > FAIL: golang_org/x/net/lex/httplex > FAIL: image/draw > FAIL: math/big > FAIL: net/http/cookiejar > FAIL: net/http/httptest > FAIL: net/smtp Here are some of the failures from the crypto tests: PASS: crypto/des --- FAIL: TestSignAndVerify (0.01s) dsa_test.go:22: 0: Verify failed FAIL FAIL: crypto/dsa --- FAIL: TestSignAndVerify (0.04s) ecdsa_test.go:115: p224: Verify failed --- FAIL: TestZeroHashSignature (0.91s) ecdsa_test.go:364: zero hash signature verify failed for elliptic.p224Curve ecdsa_test.go:364: zero hash signature verify failed for elliptic.p256Curve ecdsa_test.go:364: zero hash signature verify failed for *elliptic.CurveParams ecdsa_test.go:364: zero hash signature verify failed for *elliptic.CurveParams FAIL FAIL: crypto/ecdsa --- FAIL: TestGenericBaseMult (0.00s) elliptic_test.go:353: 1: bad output for k=2: got (50fa5c697e7e478d1dc75c8ed9db2f213b6cac76a2a5d28c4dfc23a0, c58064d02d6eb345c221d36b316ff90cab075179d5da905953a67915), want (706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6, 1c2b76a7bc25e7702a704fa986892849fca629487acf3709d2e4e8bb) elliptic_test.go:353: 2: bad output for k=3: got (b9021391eff7055c164d22d235c2b9c027b0e7e8423ef22c7bb30738, 61d6f7d3639abe0f7660f9c5a1b4cbd1cd9453352220b232220dabe4), want (df1b1d66a551d0d31eff822558b9d2cc75c2180279fe0d08fd896d04, a3f7f03cadd0be444c0aa56830130ddf77d317344e1af3591981a925) elliptic_test.go:353: 3: bad output for k=4: got (18cacde124ceee4ca657ea54a08a6b219400b4254d7304ffcfd65dfe, 6d8e184fb3d10187a047e3b10ccb5c6df04233f403766838fd490cfb), want (ae99feebb5d26945b54892092a8aee02912930fa41cd114e40447301, 482580a0ec5bc47e88bc8c378632cd196cb3fa058a7114eb03054c9) elliptic_test.go:353: 4: bad output for k=5: got (e4e9c1bfcf62d575bb0bee249ae34eb6a3a1a48a0013d9e9efb954f9, a2db3f90e989f8a7c02fca77875c47698e71811febe9f57637e12fe4), want (31c49ae75bce7807cdff22055d94ee9021fedbb5ab51c57526f011aa, 27e8bff1745635ec5ba0c9f1c2ede15414c6507d29ffe37e790a079b) elliptic_test.go:353: 5: bad output for k=6: got (acda3b0bc4486561c0c12a09cab385b6a00200eac9f949811c57ec6e, b0aee36d893fd27461babccaaac9c603c034458ee9e4e353bc50cd74), want (1f2483f82572251fca975fea40db821df8ad82a3c002ee6c57112408, 89faf0ccb750d99b553c574fad7ecfb0438586eb3952af5b4b153c7e) elliptic_test.go:353: 6: bad output for k=7: got (65db24e90e6b2f8858f64aaabd8d370bd3aaaa1ae310b129c8390457, b0a9ffd1de84336f69f5eece60bad99af576737de805a0ce98ddd2e1), want (db2f6be630e246a5cf7d99b85194b123d487e2d466b94b24a03c3e28, f3a30085497f2f611ee2517b163ef8c53b715d18bb4e4808d02b963) --- FAIL: TestP256BaseMult (0.01s) elliptic_test.go:378: #1: got (7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978, 7775510db8ed040293d9ac69f7430dbba7dade63ce982299e04b79d227873d1), want (c25847947e60cbefa0153824c9b24e9fcc2f07209f83d954486ae45cdd0238a4, 1f029fb463c5c053800996ab1b8e06840f7c7e9e0226abf763d6e9a04770b864) elliptic_test.go:378: #2: got (5ecbe4d1a6330a44c8f7ef951d4bf165e6c6b721efada985fb41661bc6e7fd6c, 8734640c4998ff7e374b06ce1a64a2ecd82ab036384fb83d9a79b127a27d5032), want (df3cad201b6eb9ba99ecbdf81772f7363d74b1cc543ff02eab4c5855240c35f7, 6d7c5afea3ec7285ef2224379898b209f1125963a675380f2d0b1d695cfee4b5) elliptic_test.go:378: #3: got (e2534a3532d08fbba02dde659ee62bd0031fe2db785596ef509302446b030852, e0f1575a4c633cc719dfee5fda862d764efc96c3f30ee0055c42c23f184ed8c6), want (256e2a8fe6af28313187a6149cd0a04bd94f924d9984946c470f18e359a7932b, 71de8385fa90d04cc9d08811306ed2680d810373530997af97a6538f792aee76) elliptic_test.go:378: #4: got (51590b7a515140d2d784c85608668fdfef8c82fd1f5be52421554a0dc3d033ed, e0c17da8904a727d8ae1bf36bf8a79260d012f00d4d80888d1d0bb44fda16da4), want (8796cba94f88f620eb76a04e83595199e2a4a00f4b6a00f73a10ed557e281a3e, 6866ebb28fbe165eb21165281382dc661d5651b0e3ad43374f0e5d5a93f8217a) elliptic_test.go:378: #5: got (b01a172a76a4602c92d3242cb897dde3024c740debb215b4c6b0aae93c2291a9, e85c10743237dad56fec0e2dfba703791c00f7701c7e16bdfd7c48538fc77fe2), want (706a5563e010189ec19e78ded20f09d7c9e4dd9db7942e65642a098055c2429e, b40fb72e7adeaa4cf7a73f814429b595fbb2b63c4f05928bf1ceaaa5267ef856) elliptic_test.go:378: #6: got (8e533b6fa0bf7b4625bb30667c01fb607ef9f8b8a80fef5b300628703187b2a3, 73eb1dbde03318366d069f83a6f5900053c73633cb041b21c55e1a86c1f400b4), want (5b01d5f7bca2068da61667e862f89653dc98be08772a1ba2541ad35b1091928b, 3e87c136a9b5389ff7f577308eed9b3a6981ea0b92dcc5b41f18aefdd31a4862) --- FAIL: TestP256Mult (0.02s) elliptic_test.go:399: #1: got (ce948bd9d7b33e5f6fcaa5dade813839cb78b9153cf095a0118ce24ba255b8e6, 843a81cc396823fa7985129d91a9e0c4e0e4843e89a94a3e6c26c1c6a77d2764), want (43d1685f8d8cf25fd1da65b97625351fb74488b8ed9c465b4e1e997513fd27d6, 6338252e58b1ca1862739d48808aa366d15091c0641027083e0e7ed30283a310) elliptic_test.go:399: #2: got (64db67b8d425f7d4af6a1d7d5b73c741b74bfa43d5c4be0d37d5694bf8f83289, 6c6b530754a948cccb6d9eec987ad1d243c91b8d5f16bc25942bc957fc94bfae), want (db0f757fb10535e44ea7e428db7bcb873a178cc8356f6006334b539c993d5982, a6a8b89b29bf575bb0fe4cc42b4e1352707bc04c10809306f32e236cf4072fbc) elliptic_test.go:399: #3: got (e806b6d7975781b3f3661538276eab24ccb598b42b579dbe96bc6ad42c019636, 21aff4d3cfef265ad4bfea2f32d15360478a8e26958326bc0ab120e4c82424a), want (e97dd5c521a4a005327f1ba11da10b44000dfef32d6ed3e52fbf911726f95297, 6f7789e2eb79fd8406ee65cce23302c4ebbbaad93202cd183078ff778eddc5be) elliptic_test.go:399: #4: got (f8a43c5fed164d1be1904c9b793cfec108651655bc58a7eb24eecdf2de4b436a, 5a5765afc98238b49a2a23bfaf76720d7b54e41970336eed074481c94284cdca), want (3e709977af730fdd33483fed34f71e85675edf748b7784d00ceaa2a8fc4e03ae, 6518a878c36a02e3165a01fde15db3e84cb1107c00b3458746c96acffd3299cf) elliptic_test.go:399: #5: got (4aa87f52279cca0be7e9c2bea8c5b884a6b262687a09749ac0edce99cf7ee63, 2747b87d3aef4472eb60e84a59da0b894b32edc5b2b8f037b30048e9699fd2c7), want (23e89a63a5373b852a8f1b31dc1614ebb98e15c3e92bd0c88ae2f70d9d103ae1, d0ccb861d244f3396708eebd70c83b0e93fd3a5e0ae9f282202b697f60027adc) elliptic_test.go:399: #6: got (ed729374e3a1ee3632c66576e22cb782d9f04eba77aede4ef6dad7015e5b6e06, b131e39102feb6f25dc9ae2d29ec911181cf16e716ad3941b80028d167554736), want (97f3b87cd77aa45679f426b74184362145c4891617416df8b21c6d47590dac8a, c946c6c37baba91cf8b22d05ff68198c5ba37d24a8c3a9d2cfca1de2edfe514a) --- FAIL: TestCombinedMult (0.01s) elliptic_test.go:510: 1×G + 1×G = (87904669194226074605941249527605242073719950901340007581890362303735297882276, 14026334241177621625868222639211570276134789284557840909537902867136803551332), should be (56515219790691171413109057904011688695424810155802929973526481321309856242040, 3377031843712258259223711451491452598088675519751548567112458094635497583569) FAIL FAIL: crypto/elliptic PASS PASS: crypto/hmac PASS PASS: crypto/internal/subtle PASS PASS: crypto/md5 PASS PASS: crypto/rand PASS PASS: crypto/rc4 --- FAIL: TestEncryptPKCS1v15 (0.01s) pkcs1v15_test.go:100: error decrypting: crypto/rsa: decryption error --- FAIL: TestEncryptPKCS1v15DecrypterSessionKey (0.01s) pkcs1v15_test.go:163: #0: incorrect plaintext: got d88033c0, want 31323334 pkcs1v15_test.go:163: #2: incorrect plaintext: got 4c812415, want 61626364 --- FAIL: TestPSSSigning (0.01s) pss_test.go:224: #0: error while signing: rsa: internal error pss_test.go:224: #1: error while signing: rsa: internal error pss_test.go:224: #2: error while signing: rsa: internal error pss_test.go:224: #3: error while signing: rsa: internal error pss_test.go:224: #4: error while signing: rsa: internal error pss_test.go:224: #5: error while signing: rsa: internal error --- FAIL: TestKeyGeneration (0.00s) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:645800500151060876, want:42 (&{PublicKey:{N:+299253051374525725031961773384530410451 E:65537} D:+299248485205012709056309313126517760876 Primes:[+18343422354927844483 +16313915995841053297] Precomputed:{Dp:+14292514444238147164 Dq:+12939215305305673900 Qinv:+0 CRTValues:[]}}) rsa_test.go:131: (blind) got:164863900929282757296933679283845905446, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:299253051374525725031961773384530410451, E:65537}, D:299248485205012709056309313126517760876, Primes:[]*big.Int{18343422354927844483, 16313915995841053297}, Precomputed:rsa.PrecomputedValues{Dp:14292514444238147164, Dq:12939215305305673900, Qinv:0, CRTValues:[]rsa.CRTValue{}}}) --- FAIL: Test3PrimeKeyGeneration (0.01s) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:39138155474325495516600216754609429259222304020114552245682862744646351632962, want:42 (&{PublicKey:{N:+80395817040901879110937573494202129010383478744985962518240218528409920385321 E:65537} D:+80394590316806468855980658616953812444711181250329529554444124048743209016066 Primes:[+29641350139495461526341691 +36635606246626574858098529 +74034149059732014173761739] Precomputed:{Dp:+6133878428854501262191526 Dq:+2372423408314130700181122 Qinv:+360826348 CRTValues:[{Exp:+20328127810700483620807216 Coeff:+74034149059732013802960088 R:+1085928832328945426340599529915208342626533798472539}]}}) rsa_test.go:131: (blind) got:78695095465972393027810843271853244922303864950469140579898449604983075488264, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:80395817040901879110937573494202129010383478744985962518240218528409920385321, E:65537}, D:80394590316806468855980658616953812444711181250329529554444124048743209016066, Primes:[]*big.Int{29641350139495461526341691, 36635606246626574858098529, 74034149059732014173761739}, Precomputed:rsa.PrecomputedValues{Dp:6133878428854501262191526, Dq:2372423408314130700181122, Qinv:360826348, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:20328127810700483620807216, Coeff:74034149059732013802960088, R:1085928832328945426340599529915208342626533798472539}}}}) --- FAIL: Test4PrimeKeyGeneration (0.01s) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:62887300194776416165464170892506793037953338748257769877366785469355439021550, want:42 (&{PublicKey:{N:+64705302125424004320521273957272551327061672227717550692314910728616766789667 E:65537} D:+64704314815932794392216387333299098909970848041484206537037382671480148270083 Primes:[+16258422093676563917 +16743654713028016243 +17056734587145056201 +13935267955874678957] Precomputed:{Dp:+6009491078279766915 Dq:+12297977680795834259 Qinv:+0 CRTValues:[{Exp:+12420442569881494683 Coeff:+0 R:+272225405715186426830695802199103703831} {Exp:+9735359313971072463 Coeff:+1 R:+4643276493161815780844802513727988008787671531679754006031}]}}) rsa_test.go:131: (blind) got:43080456960572558851008675775209446058489652400118169244531175069468633258005, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:64705302125424004320521273957272551327061672227717550692314910728616766789667, E:65537}, D:64704314815932794392216387333299098909970848041484206537037382671480148270083, Primes:[]*big.Int{16258422093676563917, 16743654713028016243, 17056734587145056201, 13935267955874678957}, Precomputed:rsa.PrecomputedValues{Dp:6009491078279766915, Dq:12297977680795834259, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:12420442569881494683, Coeff:0, R:272225405715186426830695802199103703831}, rsa.CRTValue{Exp:9735359313971072463, Coeff:1, R:4643276493161815780844802513727988008787671531679754006031}}}}) --- FAIL: TestNPrimeKeyGeneration (0.06s) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:384753102, want:42 (&{PublicKey:{N:+11406976320954273894139586884388641140277999 E:65537} D:+1 Primes:[+235442209 +410181041 +517725991 +513484819 +444306899] Precomputed:{Dp:+1 Dq:+1 Qinv:+0 CRTValues:[{Exp:+1 Coeff:+0 R:+96573930382959569} {Exp:+1 Coeff:+0 R:+49998833812282752373457879} {Exp:+1 Coeff:+0 R:+25673642130311089079306839402438901}]}}) rsa_test.go:131: (blind) got:807334202445761902438778995539200, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:11406976320954273894139586884388641140277999, E:65537}, D:1, Primes:[]*big.Int{235442209, 410181041, 517725991, 513484819, 444306899}, Precomputed:rsa.PrecomputedValues{Dp:1, Dq:1, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1, Coeff:0, R:96573930382959569}, rsa.CRTValue{Exp:1, Coeff:0, R:49998833812282752373457879}, rsa.CRTValue{Exp:1, Coeff:0, R:25673642130311089079306839402438901}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:520474292204332907047479787483370009975, want:42 (&{PublicKey:{N:+778597563413088431967506184799906030825523350037 E:65537} D:+778585629482904061916448929776203019947574043848 Primes:[+51676123 +53560579 +129595579 +125384321 +131606227 +131543077] Precomputed:{Dp:+45882202 Dq:+24069856 Qinv:+0 CRTValues:[{Exp:+116200390 Coeff:+0 R:+2767803068355217} {Exp:+4758088 Coeff:+1 R:+358695041201470924785643} {Exp:+116302336 Coeff:+1 R:+44974734187113456105489918103403} {Exp:+112467052 Coeff:+0 R:+5918955076693913978973642108127864690481}]}}) rsa_test.go:131: (blind) got:372120674443455579545892481468398000083439113936, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:778597563413088431967506184799906030825523350037, E:65537}, D:778585629482904061916448929776203019947574043848, Primes:[]*big.Int{51676123, 53560579, 129595579, 125384321, 131606227, 131543077}, Precomputed:rsa.PrecomputedValues{Dp:45882202, Dq:24069856, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:116200390, Coeff:0, R:2767803068355217}, rsa.CRTValue{Exp:4758088, Coeff:1, R:358695041201470924785643}, rsa.CRTValue{Exp:116302336, Coeff:1, R:44974734187113456105489918103403}, rsa.CRTValue{Exp:112467052, Coeff:0, R:5918955076693913978973642108127864690481}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:546993135017861755011256128412, want:42 (&{PublicKey:{N:+74694110194779188573301866406156730734206213114222119 E:65537} D:+1 Primes:[+29929871 +33009629 +30288751 +26130199 +27890801 +62251159 +55018451] Precomputed:{Dp:+1 Dq:+1 Qinv:+0 CRTValues:[{Exp:+1 Coeff:+0 R:+987973937727859} {Exp:+1 Coeff:+1 R:+29924496594328627014109} {Exp:+1 Coeff:+0 R:+781933050984629295275443977691} {Exp:+1 Coeff:+0 R:+21808739120335149733297648168428120491} {Exp:+1 Coeff:+0 R:+1357619286569503539336319490458877708756399069}]}}) rsa_test.go:131: (blind) got:8011132869779764095886857836136596503435632552466437, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:74694110194779188573301866406156730734206213114222119, E:65537}, D:1, Primes:[]*big.Int{29929871, 33009629, 30288751, 26130199, 27890801, 62251159, 55018451}, Precomputed:rsa.PrecomputedValues{Dp:1, Dq:1, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1, Coeff:0, R:987973937727859}, rsa.CRTValue{Exp:1, Coeff:1, R:29924496594328627014109}, rsa.CRTValue{Exp:1, Coeff:0, R:781933050984629295275443977691}, rsa.CRTValue{Exp:1, Coeff:0, R:21808739120335149733297648168428120491}, rsa.CRTValue{Exp:1, Coeff:0, R:1357619286569503539336319490458877708756399069}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:68507039296672625838855873139290334701315579669098, want:42 (&{PublicKey:{N:+3247428364573041054534591636465008936780565203370318029423 E:65537} D:+3247377102926270533293248259663737631716683695300288871070 Primes:[+13686007 +14699651 +13659923 +16377497 +14249687 +13478557 +14767559 +25439149] Precomputed:{Dp:+5495954 Dq:+8063870 Qinv:+1 CRTValues:[{Exp:+6677286 Coeff:+1 R:+201179526483557} {Exp:+6179702 Coeff:+1 R:+2748096840941849386111} {Exp:+5333332 Coeff:+1 R:+45006947768234615495484744167} {Exp:+9592754 Coeff:+1 R:+641334918522691813376007517654825729} {Exp:+10024328 Coeff:+1 R:+8644269255398457400021879759139074913393053} {Exp:+18078770 Coeff:+0 R:+127654756240982788163809710633992077988951800367627}]}}) rsa_test.go:131: (blind) got:509326888658108735401107692096203952798601841512697677956, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:3247428364573041054534591636465008936780565203370318029423, E:65537}, D:3247377102926270533293248259663737631716683695300288871070, Primes:[]*big.Int{13686007, 14699651, 13659923, 16377497, 14249687, 13478557, 14767559, 25439149}, Precomputed:rsa.PrecomputedValues{Dp:5495954, Dq:8063870, Qinv:1, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:6677286, Coeff:1, R:201179526483557}, rsa.CRTValue{Exp:6179702, Coeff:1, R:2748096840941849386111}, rsa.CRTValue{Exp:5333332, Coeff:1, R:45006947768234615495484744167}, rsa.CRTValue{Exp:9592754, Coeff:1, R:641334918522691813376007517654825729}, rsa.CRTValue{Exp:10024328, Coeff:1, R:8644269255398457400021879759139074913393053}, rsa.CRTValue{Exp:18078770, Coeff:0, R:127654756240982788163809710633992077988951800367627}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:158852423897816551184630620607406795051659743016146163363789135, want:42 (&{PublicKey:{N:+313608969633466776835144991615034505526790618948488246214769231 E:65537} D:+1 Primes:[+7537507 +8053091 +8316677 +6848969 +7751599 +7246159 +6987433 +16039123 +14408729] Precomputed:{Dp:+1 Dq:+1 Qinv:+1 CRTValues:[{Exp:+1 Coeff:+0 R:+60700229784137} {Exp:+1 Coeff:+0 R:+504824204940447152749} {Exp:+1 Coeff:+1 R:+3457525330086769395316165781} {Exp:+1 Coeff:+1 R:+26801349891175271557963395351833819} {Exp:+1 Coeff:+1 R:+194206842726088714577180478899248794051221} {Exp:+1 Coeff:+1 R:+1357007301690082245164171925216414698763705305693} {Exp:+1 Coeff:+1 R:+21765207023705337010304308701692876972479017333762627239}]}}) rsa_test.go:131: (blind) got:52991912564998077184466908586363367483079964016442896070515243, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:313608969633466776835144991615034505526790618948488246214769231, E:65537}, D:1, Primes:[]*big.Int{7537507, 8053091, 8316677, 6848969, 7751599, 7246159, 6987433, 16039123, 14408729}, Precomputed:rsa.PrecomputedValues{Dp:1, Dq:1, Qinv:1, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1, Coeff:0, R:60700229784137}, rsa.CRTValue{Exp:1, Coeff:0, R:504824204940447152749}, rsa.CRTValue{Exp:1, Coeff:1, R:3457525330086769395316165781}, rsa.CRTValue{Exp:1, Coeff:1, R:26801349891175271557963395351833819}, rsa.CRTValue{Exp:1, Coeff:1, R:194206842726088714577180478899248794051221}, rsa.CRTValue{Exp:1, Coeff:1, R:1357007301690082245164171925216414698763705305693}, rsa.CRTValue{Exp:1, Coeff:1, R:21765207023705337010304308701692876972479017333762627239}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:14812249010379406091361771106194102672553871471, want:42 (&{PublicKey:{N:+15338759403951858286729390932507388641305686097456799568125358947613 E:65537} D:+15338494156145676286104463075392081798836534784124228354967256050066 Primes:[+4086809 +3644411 +3352469 +3410567 +4102733 +7828147 +7794461 +8116799 +6433057 +6890753] Precomputed:{Dp:+418490 Dq:+1694556 Qinv:+1 CRTValues:[{Exp:+1933410 Coeff:+1 R:+14894011674499} {Exp:+3017922 Coeff:+1 R:+49931712424395988031} {Exp:+65106 Coeff:+0 R:+170295450648134951710923577} {Exp:+2942438 Coeff:+1 R:+698676765123974654837812619835941} {Exp:+2423006 Coeff:+1 R:+5469344422874946822344658346530862031327} {Exp:+998360 Coeff:+0 R:+42630591799666280883839368040359289399559079747} {Exp:+6387314 Coeff:+0 R:+346023944888939469011666498670620239839051738931369853} {Exp:+6215314 Coeff:+0 R:+2225991760835406273701784250938524228238290662494621352430621}]}}) rsa_test.go:131: (blind) got:9736382254904992524736847640929941823960296910404132858525141333759, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:15338759403951858286729390932507388641305686097456799568125358947613, E:65537}, D:15338494156145676286104463075392081798836534784124228354967256050066, Primes:[]*big.Int{4086809, 3644411, 3352469, 3410567, 4102733, 7828147, 7794461, 8116799, 6433057, 6890753}, Precomputed:rsa.PrecomputedValues{Dp:418490, Dq:1694556, Qinv:1, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1933410, Coeff:1, R:14894011674499}, rsa.CRTValue{Exp:3017922, Coeff:1, R:49931712424395988031}, rsa.CRTValue{Exp:65106, Coeff:0, R:170295450648134951710923577}, rsa.CRTValue{Exp:2942438, Coeff:1, R:698676765123974654837812619835941}, rsa.CRTValue{Exp:2423006, Coeff:1, R:5469344422874946822344658346530862031327}, rsa.CRTValue{Exp:998360, Coeff:0, R:42630591799666280883839368040359289399559079747}, rsa.CRTValue{Exp:6387314, Coeff:0, R:346023944888939469011666498670620239839051738931369853}, rsa.CRTValue{Exp:6215314, Coeff:0, R:2225991760835406273701784250938524228238290662494621352430621}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:16650583959139167089993055841559117735512101251494421434687, want:42 (&{PublicKey:{N:+973834326329447447154086894680389587930002290158201723455895823634105747 E:65537} D:+973816339227179524034050657478152929348749694262013422392294047421381883 Primes:[+1950617 +4017773 +3780319 +3666323 +3381709 +3680563 +3788713 +3591631 +4139909 +3923917 +3258547] Precomputed:{Dp:+1487227 Dq:+3991227 Qinv:+0 CRTValues:[{Exp:+1683109 Coeff:+0 R:+7837136315941} {Exp:+486143 Coeff:+0 R:+29626875320741765179} {Exp:+1234891 Coeff:+0 R:+108621694406567910736366817} {Exp:+1120225 Coeff:+1 R:+367326961569940362848368292350253} {Exp:+1641523 Coeff:+1 R:+1351970023656744411706278947197524232439} {Exp:+2107453 Coeff:+1 R:+5122226404238615090308931228873573627256661007} {Exp:+2535731 Coeff:+1 R:+18397147142481941355421356978490422120437468629232417} {Exp:+2270635 Coeff:+0 R:+76162515029485271354781074547465304950198160315376946230053} {Exp:+1459303 Coeff:+0 R:+298855387486952757518638489695066417004266714630232960720190877601}]}}) rsa_test.go:131: (blind) got:623908098064416905626488315086421664189365597384163540531548002977880114, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:973834326329447447154086894680389587930002290158201723455895823634105747, E:65537}, D:973816339227179524034050657478152929348749694262013422392294047421381883, Primes:[]*big.Int{1950617, 4017773, 3780319, 3666323, 3381709, 3680563, 3788713, 3591631, 4139909, 3923917, 3258547}, Precomputed:rsa.PrecomputedValues{Dp:1487227, Dq:3991227, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1683109, Coeff:0, R:7837136315941}, rsa.CRTValue{Exp:486143, Coeff:0, R:29626875320741765179}, rsa.CRTValue{Exp:1234891, Coeff:0, R:108621694406567910736366817}, rsa.CRTValue{Exp:1120225, Coeff:1, R:367326961569940362848368292350253}, rsa.CRTValue{Exp:1641523, Coeff:1, R:1351970023656744411706278947197524232439}, rsa.CRTValue{Exp:2107453, Coeff:1, R:5122226404238615090308931228873573627256661007}, rsa.CRTValue{Exp:2535731, Coeff:1, R:18397147142481941355421356978490422120437468629232417}, rsa.CRTValue{Exp:2270635, Coeff:0, R:76162515029485271354781074547465304950198160315376946230053}, rsa.CRTValue{Exp:1459303, Coeff:0, R:298855387486952757518638489695066417004266714630232960720190877601}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:5367553511916238018661312804328384232952709554032514632262844925, want:42 (&{PublicKey:{N:+108930233999032674471336484928129165960999116350072868129866087453236046173567 E:65537} D:+1 Primes:[+1847591 +1706489 +1716103 +1912121 +1729543 +1724999 +3851819 +3645979 +4052207 +3736927 +3971917 +4178051] Precomputed:{Dp:+1 Dq:+1 Qinv:+0 CRTValues:[{Exp:+1 Coeff:+0 R:+3152893717999} {Exp:+1 Coeff:+1 R:+5410690368139237897} {Exp:+1 Coeff:+1 R:+10345894677416767706849537} {Exp:+1 Coeff:+1 R:+17893669718063428670007668771591} {Exp:+1 Coeff:+0 R:+30866562369989696392334558623325703409} {Exp:+1 Coeff:+1 R:+118892411401411342368225707261939787579150971} {Exp:+1 Coeff:+1 R:+433479235228906324636361195937179964778045278095609} {Exp:+1 Coeff:+1 R:+1756547591349220811035735292705012213533348522215973459063} {Exp:+1 Coeff:+0 R:+6564090120897869677721337180162263176082535493078971050455919401} {Exp:+1 Coeff:+0 R:+26072021140726303836725900408618555867556216128063747457813724019461717}]}}) rsa_test.go:131: (blind) got:10836435995659413082715964049316790878219327117943789135468008837137785747696, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:108930233999032674471336484928129165960999116350072868129866087453236046173567, E:65537}, D:1, Primes:[]*big.Int{1847591, 1706489, 1716103, 1912121, 1729543, 1724999, 3851819, 3645979, 4052207, 3736927, 3971917, 4178051}, Precomputed:rsa.PrecomputedValues{Dp:1, Dq:1, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1, Coeff:0, R:3152893717999}, rsa.CRTValue{Exp:1, Coeff:1, R:5410690368139237897}, rsa.CRTValue{Exp:1, Coeff:1, R:10345894677416767706849537}, rsa.CRTValue{Exp:1, Coeff:1, R:17893669718063428670007668771591}, rsa.CRTValue{Exp:1, Coeff:0, R:30866562369989696392334558623325703409}, rsa.CRTValue{Exp:1, Coeff:1, R:118892411401411342368225707261939787579150971}, rsa.CRTValue{Exp:1, Coeff:1, R:433479235228906324636361195937179964778045278095609}, rsa.CRTValue{Exp:1, Coeff:1, R:1756547591349220811035735292705012213533348522215973459063}, rsa.CRTValue{Exp:1, Coeff:0, R:6564090120897869677721337180162263176082535493078971050455919401}, rsa.CRTValue{Exp:1, Coeff:0, R:26072021140726303836725900408618555867556216128063747457813724019461717}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:1013703775406857960955532647372472902798336432312267479736323974375410078481793286, want:42 (&{PublicKey:{N:+5000024928292971652235821562749845848008881083454970895146505062872967727875849309 E:65537} D:+1 Primes:[+1743941 +1724221 +1929691 +1809517 +1986823 +1789309 +1680509 +1915853 +1675697 +1610753 +1772317 +2082079 +4177211] Precomputed:{Dp:+1 Dq:+1 Qinv:+1 CRTValues:[{Exp:+1 Coeff:+1 R:+3006939694961} {Exp:+1 Coeff:+1 R:+5802464466908987051} {Exp:+1 Coeff:+0 R:+10499658094767749521564367} {Exp:+1 Coeff:+0 R:+20860962194820744407683080336041} {Exp:+1 Coeff:+1 R:+37326707403852511355367004793001185669} {Exp:+1 Coeff:+0 R:+62727867732540780005296449857681629527425521} {Exp:+1 Coeff:+1 R:+120177373578991450995487219349188922975006766684413} {Exp:+1 Coeff:+0 R:+201380864374195237458784947001777830662449913912770810861} {Exp:+1 Coeff:+0 R:+324374831433328101322450229737954646073033186184737321906788333} {Exp:+1 Coeff:+1 R:+574895028121421760551501023818482564464219957439375096149873377977561} {Exp:+1 Coeff:+1 R:+1196976865256021697787308700170962359337098624765416660816632212946142229319}]}}) rsa_test.go:131: (blind) got:148671565456974154027795318443924793353028791417072163725580335399005499038361661, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:5000024928292971652235821562749845848008881083454970895146505062872967727875849309, E:65537}, D:1, Primes:[]*big.Int{1743941, 1724221, 1929691, 1809517, 1986823, 1789309, 1680509, 1915853, 1675697, 1610753, 1772317, 2082079, 4177211}, Precomputed:rsa.PrecomputedValues{Dp:1, Dq:1, Qinv:1, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1, Coeff:1, R:3006939694961}, rsa.CRTValue{Exp:1, Coeff:1, R:5802464466908987051}, rsa.CRTValue{Exp:1, Coeff:0, R:10499658094767749521564367}, rsa.CRTValue{Exp:1, Coeff:0, R:20860962194820744407683080336041}, rsa.CRTValue{Exp:1, Coeff:1, R:37326707403852511355367004793001185669}, rsa.CRTValue{Exp:1, Coeff:0, R:62727867732540780005296449857681629527425521}, rsa.CRTValue{Exp:1, Coeff:1, R:120177373578991450995487219349188922975006766684413}, rsa.CRTValue{Exp:1, Coeff:0, R:201380864374195237458784947001777830662449913912770810861}, rsa.CRTValue{Exp:1, Coeff:0, R:324374831433328101322450229737954646073033186184737321906788333}, rsa.CRTValue{Exp:1, Coeff:1, R:574895028121421760551501023818482564464219957439375096149873377977561}, rsa.CRTValue{Exp:1, Coeff:1, R:1196976865256021697787308700170962359337098624765416660816632212946142229319}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:284440251066235975304339045539332837654501651895468197454758711790333915930117002430640, want:42 (&{PublicKey:{N:+296207724849604777211937875833451838137643364691061125221723954167706353211361306945233 E:65537} D:+1 Primes:[+889271 +976849 +887261 +961033 +1733653 +1680421 +1737679 +1636469 +1609177 +1999559 +1972111 +1850089 +1978027 +2078707] Precomputed:{Dp:+1 Dq:+1 Qinv:+0 CRTValues:[{Exp:+1 Coeff:+1 R:+868683487079} {Exp:+1 Coeff:+1 R:+770748979429200619} {Exp:+1 Coeff:+1 R:+740715203947782958479427} {Exp:+1 Coeff:+0 R:+1284143135469685769316734056831} {Exp:+1 Coeff:+1 R:+2157901091849104830160995560514005851} {Exp:+1 Coeff:+1 R:+3749739411383260632169328604598417173159829} {Exp:+1 Coeff:+1 R:+6136332304806953143465509012238567152943692203801} {Exp:+1 Coeff:+0 R:+9874444809252338438542397395787020775472471789435881777} {Exp:+1 Coeff:+0 R:+19744534988343796595833397594322499474782960218812622330136343} {Exp:+1 Coeff:+0 R:+38938414640397673048405597563136938761713698460082779436107513530073} {Exp:+1 Coeff:+0 R:+72039532603638690532451663589986455896720134670316089324168713599339226497} {Exp:+1 Coeff:+1 R:+142496140557377628117833766775910139398021637821521323217617468054760172170181419}]}}) rsa_test.go:131: (blind) got:32507766099693080825688300851157528674650761106974206624886236683242011127535720790577, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:296207724849604777211937875833451838137643364691061125221723954167706353211361306945233, E:65537}, D:1, Primes:[]*big.Int{889271, 976849, 887261, 961033, 1733653, 1680421, 1737679, 1636469, 1609177, 1999559, 1972111, 1850089, 1978027, 2078707}, Precomputed:rsa.PrecomputedValues{Dp:1, Dq:1, Qinv:0, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:1, Coeff:1, R:868683487079}, rsa.CRTValue{Exp:1, Coeff:1, R:770748979429200619}, rsa.CRTValue{Exp:1, Coeff:1, R:740715203947782958479427}, rsa.CRTValue{Exp:1, Coeff:0, R:1284143135469685769316734056831}, rsa.CRTValue{Exp:1, Coeff:1, R:2157901091849104830160995560514005851}, rsa.CRTValue{Exp:1, Coeff:1, R:3749739411383260632169328604598417173159829}, rsa.CRTValue{Exp:1, Coeff:1, R:6136332304806953143465509012238567152943692203801}, rsa.CRTValue{Exp:1, Coeff:0, R:9874444809252338438542397395787020775472471789435881777}, rsa.CRTValue{Exp:1, Coeff:0, R:19744534988343796595833397594322499474782960218812622330136343}, rsa.CRTValue{Exp:1, Coeff:0, R:38938414640397673048405597563136938761713698460082779436107513530073}, rsa.CRTValue{Exp:1, Coeff:0, R:72039532603638690532451663589986455896720134670316089324168713599339226497}, rsa.CRTValue{Exp:1, Coeff:1, R:142496140557377628117833766775910139398021637821521323217617468054760172170181419}}}}) rsa_test.go:107: Validate() failed: crypto/rsa: invalid exponents rsa_test.go:123: got:17425232225843158703078091663834026458518173879579819914570406370227407597620481477188996703, want:42 (&{PublicKey:{N:+18907482054953883427942105244663434189498538141016149699040925217013072236694768447617974979 E:65537} D:+18906947489269003738230975093020370789352986654933524147659870110634758280993635654933068398 Primes:[+893591 +891997 +1047341 +791543 +943903 +923509 +939773 +1038731 +926027 +1691069 +1608017 +1807153 +2004917 +1903807 +1935907] Precomputed:{Dp:+750288 Dq:+773122 Qinv:+1 CRTValues:[{Exp:+326858 Coeff:+0 R:+797080491227} {Exp:+161674 Coeff:+0 R:+834815078762177407} {Exp:+634132 Coeff:+0 R:+660792031888650191269001} {Exp:+381934 Coeff:+0 R:+623723581275792581489383850903} {Exp:+223870 Coeff:+1 R:+576014340820425931138679390763578627} {Exp:+526078 Coeff:+0 R:+541322725115834138583990147096060577031671} {Exp:+182558 Coeff:+1 R:+562288695582295510605486669483238099240684649501} {Exp:+872254 Coeff:+0 R:+520694513903986364799467004081554527325553483923462527} {Exp:+533806 Coeff:+1 R:+880530350933100317935069867125190332969896404504965852071363} {Exp:+148462 Coeff:+1 R:+1415907773316391173944997242525047183651253906682861674550236917171} {Exp:+322870 Coeff:+0 R:+2558761980272036259168223601820866593076914451223653523748484295576324163} {Exp:+1010656 Coeff:+1 R:+5130105393201070120622777359091886387191988090803973751873239888433997111909471} {Exp:+490882 Coeff:+1 R:+9766730558313949703132487895680646947140817271189240856632537212279862739633034256097}]}}) rsa_test.go:131: (blind) got:4337261461832041814448436996654953486183587876826412970553672006655614062179387317292319189, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:18907482054953883427942105244663434189498538141016149699040925217013072236694768447617974979, E:65537}, D:18906947489269003738230975093020370789352986654933524147659870110634758280993635654933068398, Primes:[]*big.Int{893591, 891997, 1047341, 791543, 943903, 923509, 939773, 1038731, 926027, 1691069, 1608017, 1807153, 2004917, 1903807, 1935907}, Precomputed:rsa.PrecomputedValues{Dp:750288, Dq:773122, Qinv:1, CRTValues:[]rsa.CRTValue{rsa.CRTValue{Exp:326858, Coeff:0, R:797080491227}, rsa.CRTValue{Exp:161674, Coeff:0, R:834815078762177407}, rsa.CRTValue{Exp:634132, Coeff:0, R:660792031888650191269001}, rsa.CRTValue{Exp:381934, Coeff:0, R:623723581275792581489383850903}, rsa.CRTValue{Exp:223870, Coeff:1, R:576014340820425931138679390763578627}, rsa.CRTValue{Exp:526078, Coeff:0, R:541322725115834138583990147096060577031671}, rsa.CRTValue{Exp:182558, Coeff:1, R:562288695582295510605486669483238099240684649501}, rsa.CRTValue{Exp:872254, Coeff:0, R:520694513903986364799467004081554527325553483923462527}, rsa.CRTValue{Exp:533806, Coeff:1, R:880530350933100317935069867125190332969896404504965852071363}, rsa.CRTValue{Exp:148462, Coeff:1, R:1415907773316391173944997242525047183651253906682861674550236917171}, rsa.CRTValue{Exp:322870, Coeff:0, R:2558761980272036259168223601820866593076914451223653523748484295576324163}, rsa.CRTValue{Exp:1010656, Coeff:1, R:5130105393201070120622777359091886387191988090803973751873239888433997111909471}, rsa.CRTValue{Exp:490882, Coeff:1, R:9766730558313949703132487895680646947140817271189240856632537212279862739633034256097}}}}) --- FAIL: TestGnuTLSKey (0.00s) rsa_test.go:131: (blind) got:294100228958466, want:42 (&rsa.PrivateKey{PublicKey:rsa.PublicKey{N:290684273230919398108010081414538931343, E:65537}, D:31877380284581499213530787347443987241, Primes:[]*big.Int{16775196964030542637, 17328218193455850539}, Precomputed:rsa.PrecomputedValues{Dp:<nil>, Dq:<nil>, Qinv:<nil>, CRTValues:[]rsa.CRTValue(nil)}}) --- FAIL: TestDecryptOAEP (0.06s) rsa_test.go:264: #0,0 (blind) error: crypto/rsa: decryption error rsa_test.go:264: #0,1 (blind) error: crypto/rsa: decryption error rsa_test.go:264: #0,2 (blind) error: crypto/rsa: decryption error FAIL FAIL: crypto/rsa