utls/testdata/Server-TLSv13-HelloRetryRequest
Filippo Valsorda d154b73cf1 crypto/tls: implement Extended Master Secret
All OpenSSL tests now test operation with EMS. To test a handshake
*without* EMS we need to pass -Options=-ExtendedMasterSecret which is
only available in OpenSSL 3.1, which breaks a number of other tests.

Updates #43922

Change-Id: Ib9ac79a1d03fab6bfba5fe9cd66689cff661cda7
Reviewed-on: https://go-review.googlesource.com/c/go/+/497376
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-05-25 00:13:30 +00:00

123 lines
9.2 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 c4 01 00 00 c0 03 03 0e 42 e7 db 7a |............B..z|
00000010 d4 c1 13 7a 84 6b ea d3 46 a2 de 28 40 73 48 96 |...z.k..F..(@sH.|
00000020 9d 86 3a 10 44 f6 d9 b2 a9 0e cf 20 1a 9a 60 0d |..:.D...... ..`.|
00000030 4c 30 d3 36 a1 a0 63 d6 d1 d9 2a e9 2d 5a f3 7e |L0.6..c...*.-Z.~|
00000040 5a 01 50 12 b6 00 4d 71 c1 5c c8 b7 00 04 13 03 |Z.P...Mq.\......|
00000050 00 ff 01 00 00 73 00 0b 00 04 03 00 01 02 00 0a |.....s..........|
00000060 00 06 00 04 00 1d 00 17 00 16 00 00 00 17 00 00 |................|
00000070 00 0d 00 1e 00 1c 04 03 05 03 06 03 08 07 08 08 |................|
00000080 08 09 08 0a 08 0b 08 04 08 05 08 06 04 01 05 01 |................|
00000090 06 01 00 2b 00 03 02 03 04 00 2d 00 02 01 01 00 |...+......-.....|
000000a0 33 00 26 00 24 00 1d 00 20 4e f1 62 b8 a5 c2 4a |3.&.$... N.b...J|
000000b0 c7 c1 ff 89 d5 3f 1b 4f 6b 56 a5 e2 be 5d 07 ee |.....?.OkV...]..|
000000c0 a4 12 39 44 36 87 76 c0 66 |..9D6.v.f|
>>> Flow 2 (server to client)
00000000 16 03 03 00 58 02 00 00 54 03 03 cf 21 ad 74 e5 |....X...T...!.t.|
00000010 9a 61 11 be 1d 8c 02 1e 65 b8 91 c2 a2 11 16 7a |.a......e......z|
00000020 bb 8c 5e 07 9e 09 e2 c8 a8 33 9c 20 1a 9a 60 0d |..^......3. ..`.|
00000030 4c 30 d3 36 a1 a0 63 d6 d1 d9 2a e9 2d 5a f3 7e |L0.6..c...*.-Z.~|
00000040 5a 01 50 12 b6 00 4d 71 c1 5c c8 b7 13 03 00 00 |Z.P...Mq.\......|
00000050 0c 00 2b 00 02 03 04 00 33 00 02 00 17 14 03 03 |..+.....3.......|
00000060 00 01 01 |...|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 16 03 03 00 e5 01 00 00 e1 03 |................|
00000010 03 0e 42 e7 db 7a d4 c1 13 7a 84 6b ea d3 46 a2 |..B..z...z.k..F.|
00000020 de 28 40 73 48 96 9d 86 3a 10 44 f6 d9 b2 a9 0e |.(@sH...:.D.....|
00000030 cf 20 1a 9a 60 0d 4c 30 d3 36 a1 a0 63 d6 d1 d9 |. ..`.L0.6..c...|
00000040 2a e9 2d 5a f3 7e 5a 01 50 12 b6 00 4d 71 c1 5c |*.-Z.~Z.P...Mq.\|
00000050 c8 b7 00 04 13 03 00 ff 01 00 00 94 00 0b 00 04 |................|
00000060 03 00 01 02 00 0a 00 06 00 04 00 1d 00 17 00 16 |................|
00000070 00 00 00 17 00 00 00 0d 00 1e 00 1c 04 03 05 03 |................|
00000080 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................|
00000090 08 06 04 01 05 01 06 01 00 2b 00 03 02 03 04 00 |.........+......|
000000a0 2d 00 02 01 01 00 33 00 47 00 45 00 17 00 41 04 |-.....3.G.E...A.|
000000b0 01 85 6b fe 83 76 ad 76 88 ef 72 10 ad 98 45 e2 |..k..v.v..r...E.|
000000c0 ef a7 92 8e ff f4 e7 fc 21 b2 31 23 7e a9 4b 21 |........!.1#~.K!|
000000d0 ec 8d 2d e7 c6 08 8c 22 14 46 ac 19 b9 20 94 44 |..-....".F... .D|
000000e0 e5 97 c1 44 de 3a 0f 29 1e cc d6 fe 75 dc 38 aa |...D.:.)....u.8.|
>>> Flow 4 (server to client)
00000000 16 03 03 00 9b 02 00 00 97 03 03 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 20 1a 9a 60 0d |........... ..`.|
00000030 4c 30 d3 36 a1 a0 63 d6 d1 d9 2a e9 2d 5a f3 7e |L0.6..c...*.-Z.~|
00000040 5a 01 50 12 b6 00 4d 71 c1 5c c8 b7 13 03 00 00 |Z.P...Mq.\......|
00000050 4f 00 2b 00 02 03 04 00 33 00 45 00 17 00 41 04 |O.+.....3.E...A.|
00000060 1e 18 37 ef 0d 19 51 88 35 75 71 b5 e5 54 5b 12 |..7...Q.5uq..T[.|
00000070 2e 8f 09 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e |...g..$ >.V...(^|
00000080 f8 2b 2d 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 |.+-O....lK[.V.2B|
00000090 e9 58 b6 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 |.X..I..h.A.Vk.Z.|
000000a0 17 03 03 00 17 a8 de 6f 11 6f 2f 27 1c 39 2f c3 |.......o.o/'.9/.|
000000b0 a1 6e 13 22 55 dd 11 e7 cb 60 11 0c 17 03 03 02 |.n."U....`......|
000000c0 6d 09 14 d7 cf 09 ad e5 7c 3b 58 4c 81 9c 93 69 |m.......|;XL...i|
000000d0 bc 7c 9d 1c e6 cd 21 76 3d ac 19 0b 41 79 00 59 |.|....!v=...Ay.Y|
000000e0 d9 4d a4 cb 59 41 9b 52 11 ba ca 52 bf f5 f4 99 |.M..YA.R...R....|
000000f0 10 36 b0 3e 27 01 50 90 d7 3a ed 36 ba bb 54 51 |.6.>'.P..:.6..TQ|
00000100 9e de 6f f7 5f c0 34 20 2b b7 d5 32 1a 97 98 b8 |..o._.4 +..2....|
00000110 de 50 ab 3e 75 a7 23 31 76 b1 a1 30 49 79 89 e5 |.P.>u.#1v..0Iy..|
00000120 37 b9 e4 ce f1 e9 c9 58 43 34 f9 45 e4 71 2b c3 |7......XC4.E.q+.|
00000130 11 f5 2a 5d a7 ac 87 8a e2 69 07 4f 49 d4 5f 2b |..*].....i.OI._+|
00000140 bf 2d 4c 8a f0 56 4c ae a8 f1 b9 4a 15 eb 73 3f |.-L..VL....J..s?|
00000150 31 55 b9 45 51 af e3 8c 52 80 fa d8 f7 2d 05 28 |1U.EQ...R....-.(|
00000160 75 19 31 c2 b7 5a b2 0e c1 ff d3 fe f5 44 d6 d3 |u.1..Z.......D..|
00000170 e5 e2 c3 4b 6d c9 2b 9b 1d f6 49 66 0d 6f 14 f3 |...Km.+...If.o..|
00000180 37 8f 98 f6 13 36 3f c6 b0 6d 9f 71 8e 98 26 51 |7....6?..m.q..&Q|
00000190 af 9b 6d 20 58 96 f5 c9 e6 6c cf 37 f0 80 5b b5 |..m X....l.7..[.|
000001a0 7a 5f cf 92 e3 f5 bb 33 52 48 db dc c6 cf 03 8b |z_.....3RH......|
000001b0 03 55 35 49 16 e9 30 19 b6 3e 6a 88 69 d2 d2 8e |.U5I..0..>j.i...|
000001c0 59 ba 2b 89 8d fc 8e d7 b9 6d ab 15 31 a3 23 36 |Y.+......m..1.#6|
000001d0 59 55 77 4b 69 52 3d d8 7e 62 bd c1 53 85 55 f9 |YUwKiR=.~b..S.U.|
000001e0 a5 c3 f8 73 0f 60 87 12 8e 9d be 90 71 2d ea 8d |...s.`......q-..|
000001f0 d0 0a 0c 18 42 21 38 bf 58 66 c2 5f ad 73 b8 63 |....B!8.Xf._.s.c|
00000200 c3 95 b3 52 de 98 7b 55 0a 62 e9 88 e7 20 9a 80 |...R..{U.b... ..|
00000210 16 e1 52 a3 fc de cf 64 a1 cc 97 9a e9 2d 67 b2 |..R....d.....-g.|
00000220 75 e4 5a 3b 7e a7 4d 06 aa 18 ce 3a b5 5b 73 f8 |u.Z;~.M....:.[s.|
00000230 b1 97 69 e1 a6 a9 43 e8 70 67 4c 0c d8 8e 16 33 |..i...C.pgL....3|
00000240 e0 65 36 8e d4 e2 2b ca 2e ee 03 7f 56 37 ad 92 |.e6...+.....V7..|
00000250 b1 3e 6d 1b 70 59 0c 5b 39 df a9 4c 92 49 5e 4d |.>m.pY.[9..L.I^M|
00000260 cd 12 2d 77 7a e5 6b e8 3c f8 0b b3 06 14 57 b4 |..-wz.k.<.....W.|
00000270 d9 66 fb a7 50 ee 91 6d 82 0a db 97 e5 b1 5e 3b |.f..P..m......^;|
00000280 13 d1 17 c6 74 80 b4 d7 eb 7f 48 8f 99 ca d2 23 |....t.....H....#|
00000290 d0 de 2d dc d5 b8 9a 23 b7 66 2c 86 98 bf 93 b6 |..-....#.f,.....|
000002a0 e0 78 8b ae 03 72 cb 44 af 15 21 c8 ba 8a 27 66 |.x...r.D..!...'f|
000002b0 22 5a 1d 04 64 0e 59 ce 9b e7 96 96 1f 1f 57 05 |"Z..d.Y.......W.|
000002c0 30 82 8f dd 7b 83 fc 92 70 55 7c a6 6d f7 78 a6 |0...{...pU|.m.x.|
000002d0 2e 42 3d 54 05 87 e9 04 03 18 cc e5 a2 c7 70 01 |.B=T..........p.|
000002e0 50 b3 a3 4b 35 4f d9 46 2b b4 aa 3f eb 97 80 67 |P..K5O.F+..?...g|
000002f0 15 3a 85 d4 ad e2 26 40 41 b0 29 0b d2 1f b2 40 |.:....&@A.)....@|
00000300 47 a4 b2 1c a6 57 3e ed 42 98 b1 2c 75 cd 05 0e |G....W>.B..,u...|
00000310 cc d1 aa 8d 13 0e f5 09 14 49 f9 62 69 9c 05 b9 |.........I.bi...|
00000320 c1 5d b6 83 ff 42 62 21 e1 b9 5f 91 28 e9 17 03 |.]...Bb!.._.(...|
00000330 03 00 99 21 30 ff 89 d2 2c 62 38 77 46 57 72 5f |...!0...,b8wFWr_|
00000340 4f 5e dc 6e b4 7c a5 c5 ce 17 0d 79 8e 55 04 94 |O^.n.|.....y.U..|
00000350 23 a8 12 15 ff ec 3b dd 3c 6d f2 98 7c 65 2d 0f |#.....;.<m..|e-.|
00000360 4d 2c 6a 5a c2 b5 80 82 cf 81 0e 73 38 61 c9 e4 |M,jZ.......s8a..|
00000370 00 d0 86 cf a2 b0 e6 e0 3d f5 77 9b 10 52 9c 4d |........=.w..R.M|
00000380 5f 1e 24 1d 98 bc eb 4b 0f f5 59 d1 06 9a 31 4c |_.$....K..Y...1L|
00000390 c1 95 1c 3d 12 68 ad 39 6e 03 c4 ac 20 10 c5 d0 |...=.h.9n... ...|
000003a0 6c 62 68 28 db a7 e9 b0 7e 78 6d 01 4e 7e 13 ff |lbh(....~xm.N~..|
000003b0 a1 7e 19 8a 8f 28 3d 4f 71 98 e8 f6 5e 6c 5d 50 |.~...(=Oq...^l]P|
000003c0 3c 50 eb 8a df 4f cd e7 6e 6f 4e ac 17 03 03 00 |<P...O..noN.....|
000003d0 35 f3 82 05 48 c6 84 01 89 0d 6f 97 b0 8c 0b ee |5...H.....o.....|
000003e0 f4 1a 52 84 2d 02 51 38 6d ca 44 25 0e 10 1d 79 |..R.-.Q8m.D%...y|
000003f0 e3 76 27 63 45 b5 6c 58 be 72 e6 0e 78 b7 14 1c |.v'cE.lX.r..x...|
00000400 72 35 f0 57 cc 3c 17 03 03 00 88 67 19 26 3d 1d |r5.W.<.....g.&=.|
00000410 94 84 4b 65 73 b5 5e 3e 53 c2 31 13 03 d9 7a ef |..Kes.^>S.1...z.|
00000420 08 d6 30 1a 5d c2 8b ab 1c eb a4 f9 c9 0c 6b 03 |..0.].........k.|
00000430 a1 ac 53 de 55 a9 1f bd d5 f8 1f cb f8 3b db fd |..S.U........;..|
00000440 37 e0 23 09 2a 11 ac b9 51 dc 25 39 8c da 59 46 |7.#.*...Q.%9..YF|
00000450 89 b2 47 d3 34 18 af 0c a1 ba 43 84 7c 76 8d 3f |..G.4.....C.|v.?|
00000460 68 85 3e 50 39 80 54 80 4e 01 2c f7 55 3e 95 c2 |h.>P9.T.N.,.U>..|
00000470 c0 9e bd cb 6b 1b 08 95 a5 0f ac c2 24 84 9a 03 |....k.......$...|
00000480 2c 20 f2 a0 de a2 ad c6 1c 92 fa 75 43 f0 6c ca |, .........uC.l.|
00000490 68 b9 8d |h..|
>>> Flow 5 (client to server)
00000000 17 03 03 00 35 88 fe 3c 5c 10 51 d0 51 ac 6e 68 |....5..<\.Q.Q.nh|
00000010 0e 31 02 6b c8 14 8c 0f 23 b5 4b 7e 8d d8 b5 3c |.1.k....#.K~...<|
00000020 2b d2 e6 a0 40 ff 4a 39 74 b0 ae ae 32 45 fb f5 |+...@.J9t...2E..|
00000030 ba e2 c2 d1 54 9b 3a 92 7a fc |....T.:.z.|
>>> Flow 6 (server to client)
00000000 17 03 03 00 1e 0e b6 65 05 a3 d1 e9 2d 24 6f 4e |.......e....-$oN|
00000010 6e a4 b2 c0 71 8f 0c 84 5c da 0e ef 5a b2 69 fa |n...q...\...Z.i.|
00000020 e3 3e f7 17 03 03 00 13 f1 ee 61 6f 44 36 67 38 |.>........aoD6g8|
00000030 27 da 81 84 a8 bc 30 0a 66 43 c1 |'.....0.fC.|