utls/testdata/Server-TLSv13-CHACHA20-SHA256
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

97 lines
7.3 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 ca 01 00 00 c6 03 03 73 54 07 a7 6e |...........sT..n|
00000010 ca 21 55 2a 76 fa 0f c2 67 e7 6d ad d8 e6 99 19 |.!U*v...g.m.....|
00000020 7e 43 b8 b0 ee b1 4e 95 de 85 f1 20 c3 dc a3 62 |~C....N.... ...b|
00000030 8d c5 4f 86 9d f1 1c 8b 48 a8 fc 9f 05 ad c7 80 |..O.....H.......|
00000040 9b 50 3f 94 e0 bc e9 3b e4 8d 7c 25 00 04 13 03 |.P?....;..|%....|
00000050 00 ff 01 00 00 79 00 0b 00 04 03 00 01 02 00 0a |.....y..........|
00000060 00 0c 00 0a 00 1d 00 17 00 1e 00 19 00 18 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 26 00 24 00 1d 00 20 e8 |-.....3.&.$... .|
000000b0 67 84 61 29 1f 9e 3f b0 a1 bf 63 41 b5 f8 84 54 |g.a)..?...cA...T|
000000c0 f0 30 31 17 8d 80 73 0b d0 d4 a6 31 ca ce 38 |.01...s....1..8|
>>> Flow 2 (server to client)
00000000 16 03 03 00 7a 02 00 00 76 03 03 00 00 00 00 00 |....z...v.......|
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 c3 dc a3 62 |........... ...b|
00000030 8d c5 4f 86 9d f1 1c 8b 48 a8 fc 9f 05 ad c7 80 |..O.....H.......|
00000040 9b 50 3f 94 e0 bc e9 3b e4 8d 7c 25 13 03 00 00 |.P?....;..|%....|
00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 2f |..+.....3.$... /|
00000060 e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 07 30 |.}.G.bC.(.._.).0|
00000070 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 14 |.........._X.;t.|
00000080 03 03 00 01 01 17 03 03 00 17 99 76 19 3a 3f f9 |...........v.:?.|
00000090 17 94 e5 6a c6 e1 1a 43 d5 dc fc 15 53 51 97 b9 |...j...C....SQ..|
000000a0 87 17 03 03 02 6d a7 84 13 6e e0 5a 45 1d 0c 31 |.....m...n.ZE..1|
000000b0 b8 62 cc 7e 6f 89 5d 37 3f b0 79 3f 59 53 c9 ab |.b.~o.]7?.y?YS..|
000000c0 0b 5e 3d ed 4a e0 8e 21 cd b3 e0 10 f9 a5 1c 73 |.^=.J..!.......s|
000000d0 a2 d7 78 43 1a 34 c4 76 8a ca f9 cb 57 fc e7 5a |..xC.4.v....W..Z|
000000e0 84 f4 51 18 50 73 a3 10 57 a0 1f 73 e2 9c f6 a6 |..Q.Ps..W..s....|
000000f0 01 93 bf e2 37 69 54 1f bf 9b 18 09 56 8b 6c dd |....7iT.....V.l.|
00000100 ca 7f 88 b1 83 07 34 a1 31 64 ca 09 fa 60 22 f8 |......4.1d...`".|
00000110 30 bf 39 18 e7 82 eb 30 2e 32 d2 e8 bb e9 68 b8 |0.9....0.2....h.|
00000120 b3 c5 db 34 8b ac cd f3 f9 de 83 e3 44 c1 a7 e7 |...4........D...|
00000130 c8 af 88 b4 b5 b9 9a 62 2a cc 2e 84 51 82 e3 66 |.......b*...Q..f|
00000140 c3 27 20 22 9b cf 9f 19 59 05 c1 2a 5f 38 51 10 |.' "....Y..*_8Q.|
00000150 90 2b 95 05 d2 1b 81 ef eb 7a 04 5d 91 17 44 fb |.+.......z.]..D.|
00000160 a2 e5 5e 9a 1e ca a4 c2 a3 66 1c 23 92 3e 8a 02 |..^......f.#.>..|
00000170 8e c0 6f 4a f5 49 a0 43 b7 f3 06 3f 7e bf cb 99 |..oJ.I.C...?~...|
00000180 1c f9 73 53 2b 95 d9 70 52 ba 88 96 1a 3a b1 f6 |..sS+..pR....:..|
00000190 3a fa 02 a3 50 42 74 dd fb 9b 1f 0e ad 64 24 e2 |:...PBt......d$.|
000001a0 a6 4a b3 b2 71 3d d4 c4 ff 0e d2 81 9e 05 f4 9d |.J..q=..........|
000001b0 63 84 81 de 8e db 10 39 ed 94 f9 9e 68 9b 3a 7c |c......9....h.:||
000001c0 51 d0 23 83 ca 5d 5b 16 7e fd 8c 25 e8 6e b4 45 |Q.#..][.~..%.n.E|
000001d0 37 92 65 65 81 d0 c6 7a f3 f8 aa 53 00 9e 4b 61 |7.ee...z...S..Ka|
000001e0 f8 6a 6c c9 11 1e 3b cb bd 33 bd 53 9a d4 9a 9f |.jl...;..3.S....|
000001f0 06 6f 4c 3c 05 ba d5 e9 a1 f8 44 36 d6 b0 2d 13 |.oL<......D6..-.|
00000200 f5 e0 59 39 d7 0f 93 c9 48 e1 e0 8d 78 c6 18 3e |..Y9....H...x..>|
00000210 ef b4 ba 81 18 f4 45 18 28 92 68 46 f2 d6 6e 4e |......E.(.hF..nN|
00000220 93 58 f9 77 44 89 51 47 0c b4 70 ff f0 f5 05 0b |.X.wD.QG..p.....|
00000230 6f f5 d7 fb 70 e1 f4 af 93 36 5f 68 5d 7a cd 56 |o...p....6_h]z.V|
00000240 ab 4a 5b e8 a0 5f 6e 41 41 f4 d9 28 9e 5c 27 e4 |.J[.._nAA..(.\'.|
00000250 25 2d bb ee 0d 56 2b 4c 9e 76 5c e1 1a 46 e9 e1 |%-...V+L.v\..F..|
00000260 0d 00 b2 c6 9d be 3d 50 7c b7 13 97 fc d6 c9 33 |......=P|......3|
00000270 73 fb 0e d9 9b bc 4c ab 54 05 55 43 35 3b c4 13 |s.....L.T.UC5;..|
00000280 29 c5 a1 66 cc 79 77 c0 74 82 dc c7 ea 1f 11 45 |)..f.yw.t......E|
00000290 e8 9f 19 34 01 28 98 ca 19 7a ef 43 9d 79 be 66 |...4.(...z.C.y.f|
000002a0 02 c2 36 d7 a2 f6 11 3f e9 38 66 48 4d 18 10 35 |..6....?.8fHM..5|
000002b0 78 2f c7 70 85 95 db e4 db 75 c9 00 2e 04 f5 94 |x/.p.....u......|
000002c0 6c 95 1b 51 58 b5 b6 2c f5 e3 b4 af 45 1c 66 36 |l..QX..,....E.f6|
000002d0 37 39 36 e0 9c 87 9d 4f d7 b2 34 fd 6d 7d 93 36 |796....O..4.m}.6|
000002e0 c1 16 36 bd 90 92 85 cb 4c 0d 58 d7 a0 e4 24 f8 |..6.....L.X...$.|
000002f0 dc f2 1b 7e 28 37 e9 39 a2 8a 86 02 33 a9 ea 8f |...~(7.9....3...|
00000300 e3 34 41 e0 6e f0 bf c7 f1 ee 6a a9 a6 9c 53 c1 |.4A.n.....j...S.|
00000310 39 0a 29 17 03 03 00 99 53 09 fd 77 1b 2c f9 2d |9.).....S..w.,.-|
00000320 2c 5d 95 de 84 d5 62 7c ae 8f 2b 4f 6f 38 e1 fb |,]....b|..+Oo8..|
00000330 1c 95 e6 bf 57 aa a0 e5 4c f2 9e 1c 7b ef 1b 2c |....W...L...{..,|
00000340 d4 83 c8 6b 96 d5 c1 16 96 8a 62 e4 8a e8 ff 61 |...k......b....a|
00000350 0b 3f 2e d2 14 f5 05 e6 e1 51 02 d6 40 62 f8 84 |.?.......Q..@b..|
00000360 d4 02 2b 84 81 ee 45 64 49 cb 44 b9 e8 61 08 44 |..+...EdI.D..a.D|
00000370 8e 93 3c 67 57 34 64 9f 0d 1e 76 27 27 4f 4f bd |..<gW4d...v''OO.|
00000380 ae a4 48 fc e9 cc 1f a1 28 36 c0 8f a6 b7 f1 61 |..H.....(6.....a|
00000390 98 33 5e a7 16 79 48 ac fb 24 99 40 eb a0 41 b4 |.3^..yH..$.@..A.|
000003a0 93 b5 4b fd 7a 21 26 6c f4 1b 21 ba 29 be c3 19 |..K.z!&l..!.)...|
000003b0 74 17 03 03 00 35 37 3c de b6 9f 90 dd 30 a4 a4 |t....57<.....0..|
000003c0 af e1 3d 72 4a 31 50 ea f6 36 33 23 a4 07 7d fc |..=rJ1P..63#..}.|
000003d0 36 20 c8 23 e7 1a b4 eb 02 11 ed 2c f6 43 17 51 |6 .#.......,.C.Q|
000003e0 e1 d6 7a 3f d5 00 6c 67 8e 11 c3 17 03 03 00 88 |..z?..lg........|
000003f0 9e 11 b0 bd 5f b2 e5 21 2b b1 61 6f 98 98 04 7e |...._..!+.ao...~|
00000400 a8 c3 8b 85 38 9b d5 79 11 6b 24 fd 02 0d 98 b2 |....8..y.k$.....|
00000410 a9 0c e5 24 25 23 d3 f9 ba 80 84 84 b9 67 b3 ae |...$%#.......g..|
00000420 a1 c3 46 94 f8 19 18 e5 31 67 47 c7 12 79 65 d9 |..F.....1gG..ye.|
00000430 96 87 dc eb ac 0f b7 09 50 86 13 76 7d fb b4 8f |........P..v}...|
00000440 ad 02 48 ed 89 68 16 14 74 53 23 70 0f 3c 72 1c |..H..h..tS#p.<r.|
00000450 20 d6 b2 df 54 f8 29 a5 0b d0 d3 e0 76 3f be e5 | ...T.).....v?..|
00000460 bf c0 41 04 8a 5a e6 b6 d3 64 f9 63 fb a4 5c 51 |..A..Z...d.c..\Q|
00000470 5b a5 54 0b d5 7a 86 db |[.T..z..|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 81 a5 08 75 69 |..........5...ui|
00000010 69 d3 98 34 19 41 0b 66 e9 bf c2 ac 74 9c 42 5d |i..4.A.f....t.B]|
00000020 73 50 3d 3e 3a 76 3c f1 f7 4a 23 a1 6b 0c 03 cb |sP=>:v<..J#.k...|
00000030 bb 4a b8 98 72 1e 7f ac c0 79 2a 76 99 ee 85 5a |.J..r....y*v...Z|
>>> Flow 4 (server to client)
00000000 17 03 03 00 1e 08 53 f7 ad 7f a4 48 9c e7 a8 31 |......S....H...1|
00000010 cc 91 55 c3 c0 89 64 ec 0d c8 dc fd 95 e9 ef 12 |..U...d.........|
00000020 a5 52 a0 17 03 03 00 13 17 bf 2b 25 9a ff 5f 2b |.R........+%.._+|
00000030 32 f2 28 c3 c6 4f 20 dc dc 09 88 |2.(..O ....|