th5/testdata/Client-TLSv10-ECDHE-RSA-AES
Adam Langley cfd077fd28 crypto/tls: support AES-128-CBC cipher suites with SHA-256.
These were new with TLS 1.2 and, reportedly, some servers require it.
Since it's easy, this change adds suport for three flavours of
AES-128-CBC with SHA-256 MACs.

Other testdata/ files have to be updated because this changes the list
of cipher suites offered by default by the client.

Fixes #15487.

Change-Id: I1b14330c31eeda20185409a37072343552c3464f
Reviewed-on: https://go-review.googlesource.com/27315
Run-TryBot: Adam Langley <agl@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Jonathan Rudenberg <jonathan@titanous.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-08-18 21:46:46 +00:00

93 lines
6.8 KiB
Plaintext

>>> Flow 1 (client to server)
00000000 16 03 01 00 8b 01 00 00 87 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 00 00 28 c0 2f |.............(./|
00000030 c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 c0 09 c0 14 |.+.0.,.'...#....|
00000040 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 c0 12 00 0a |.......<./.5....|
00000050 00 05 c0 11 c0 07 01 00 00 36 00 05 00 05 01 00 |.........6......|
00000060 00 00 00 00 0a 00 08 00 06 00 17 00 18 00 19 00 |................|
00000070 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 03 05 |................|
00000080 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................|
>>> Flow 2 (server to client)
00000000 16 03 01 00 59 02 00 00 55 03 01 72 0c 3b 9c 77 |....Y...U..r.;.w|
00000010 8a 2b 1c 13 28 ad 08 30 aa ca 23 dc 54 7b 48 c7 |.+..(..0..#.T{H.|
00000020 2e c2 81 23 6c 35 c9 a9 3f 42 ef 20 dd 0c 72 42 |...#l5..?B. ..rB|
00000030 8f 8e d0 1a ed 47 ed 6f 94 68 a5 bc 47 42 2a ee |.....G.o.h..GB*.|
00000040 3b 3d 61 6a bd 88 3e 6e e5 54 a3 cd c0 13 00 00 |;=aj..>n.T......|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 01 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..|
00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............|
00000080 3f e2 5b ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 |?.[..0...*.H....|
00000090 01 0b 05 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 |....0.1.0...U...|
000000a0 02 47 6f 31 10 30 0e 06 03 55 04 03 13 07 47 6f |.Go1.0...U....Go|
000000b0 20 52 6f 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 | Root0...1601010|
000000c0 30 30 30 30 30 5a 17 0d 32 35 30 31 30 31 30 30 |00000Z..25010100|
000000d0 30 30 30 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a |0000Z0.1.0...U..|
000000e0 13 02 47 6f 31 0b 30 09 06 03 55 04 03 13 02 47 |..Go1.0...U....G|
000000f0 6f 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |o0..0...*.H.....|
00000100 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 db 46 |.......0.......F|
00000110 7d 93 2e 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 |}...'.H..(!.~...|
00000120 5d fe 1e 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 |]..RE.z6G....B[.|
00000130 81 c0 be 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 |....y.@.Om..+...|
00000140 a5 2e 67 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b |..g....."8.J.ts+|
00000150 c2 34 f1 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c |.4......t{.X.la<|
00000160 c0 b0 41 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d |..A..++$#w[.;.u]|
00000170 ce 20 54 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b |. T..c...$....P.|
00000180 aa b6 14 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 |...C...ub...R...|
00000190 01 00 01 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f |......0..0...U..|
000001a0 01 01 ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 |.........0...U.%|
000001b0 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 |..0...+.........|
000001c0 2b 06 01 05 05 07 03 02 30 0c 06 03 55 1d 13 01 |+.......0...U...|
000001d0 01 ff 04 02 30 00 30 19 06 03 55 1d 0e 04 12 04 |....0.0...U.....|
000001e0 10 9f 91 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f |.....CC>I..m....|
000001f0 60 30 1b 06 03 55 1d 23 04 14 30 12 80 10 48 13 |`0...U.#..0...H.|
00000200 49 4d 13 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 |IM.~.1......n{0.|
00000210 06 03 55 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 |..U....0...examp|
00000220 6c 65 2e 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 |le.golang0...*.H|
00000230 86 f7 0d 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 |.............0.@|
00000240 2b 5b 50 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 |+[P.a...SX...(.X|
00000250 1a a9 38 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d |..8....1Z..f=C.-|
00000260 d9 0b f2 97 df d3 20 64 38 92 24 3a 00 bc cf 9c |...... d8.$:....|
00000270 7d b7 40 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 |}.@ ._...a..v...|
00000280 cc e1 0c 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 |...\.....l..s..C|
00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.|
000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..|
000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 01 00 |.=.`.\!.;.......|
000002c0 cb 0c 00 00 c7 03 00 17 41 04 82 a5 dc 05 3f fb |........A.....?.|
000002d0 cb 6b d0 7f 6d 01 f9 be df 3a a6 2e 52 fc 82 5d |.k..m....:..R..]|
000002e0 8a ab 45 bd 94 f8 04 da 2e 4b e1 33 06 11 8c c1 |..E......K.3....|
000002f0 2f 35 94 7b ef 4e 05 cb 5f 7c 27 16 72 2c bb 96 |/5.{.N.._|'.r,..|
00000300 3e 81 d3 01 f0 5e 8e 95 4a db 00 80 41 13 7a 1b |>....^..J...A.z.|
00000310 4d 4c ed ff ea 59 80 39 6f f9 72 33 23 32 17 42 |ML...Y.9o.r3#2.B|
00000320 3d 78 80 c2 f6 02 f6 71 0c dc 1b 86 c7 11 9f 4e |=x.....q.......N|
00000330 f3 f9 e3 ab fa 6f a9 78 35 79 25 41 9f e3 57 42 |.....o.x5y%A..WB|
00000340 83 c0 60 f8 d0 83 05 8d b2 34 33 d5 7d 3a e3 a4 |..`......43.}:..|
00000350 09 8b 49 dc 17 74 dd 5e 67 c9 10 ee c0 ba 89 b2 |..I..t.^g.......|
00000360 91 2f a2 de 1b 39 9c 2c c9 10 13 43 f1 e8 69 98 |./...9.,...C..i.|
00000370 19 75 02 ee dc fb 85 28 cb bf 00 1e 50 bb 42 f9 |.u.....(....P.B.|
00000380 f0 81 28 4a 9e c8 a1 aa 29 55 d8 34 16 03 01 00 |..(J....)U.4....|
00000390 04 0e 00 00 00 |.....|
>>> Flow 3 (client to server)
00000000 16 03 01 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..|
00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.|
00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 01 00 01 |..h.A.Vk.Z......|
00000050 01 16 03 01 00 30 05 a0 da 78 00 e3 2f f7 76 45 |.....0...x../.vE|
00000060 7d 37 48 65 01 63 27 76 4a 7f fe cd 2b 4b d6 49 |}7He.c'vJ...+K.I|
00000070 93 79 e6 b1 23 a5 c6 ea db 1f af be 6a 16 55 9f |.y..#.......j.U.|
00000080 3d 06 1f 4d 88 7a |=..M.z|
>>> Flow 4 (server to client)
00000000 14 03 01 00 01 01 16 03 01 00 30 90 65 20 ff da |..........0.e ..|
00000010 ee fa 89 8b 75 09 e7 d8 90 a5 0f 12 16 0f 12 40 |....u..........@|
00000020 34 78 ee 50 c4 f8 31 c6 55 5e ac 21 42 b8 aa a8 |4x.P..1.U^.!B...|
00000030 d8 36 a9 f0 ab 7d e8 22 99 e1 3c |.6...}."..<|
>>> Flow 5 (client to server)
00000000 17 03 01 00 20 67 4c 09 40 a9 00 c3 b0 2c dd e6 |.... gL.@....,..|
00000010 7e 95 5d dc 22 ac 53 79 81 51 07 e4 20 41 79 16 |~.].".Sy.Q.. Ay.|
00000020 e0 98 94 70 2b 17 03 01 00 20 68 7a 08 85 27 fa |...p+.... hz..'.|
00000030 7e ad 02 c3 83 26 42 52 36 59 1d f9 af 79 7f 24 |~....&BR6Y...y.$|
00000040 c8 72 af dd f2 ec f6 16 0d 79 15 03 01 00 20 c6 |.r.......y.... .|
00000050 ea 99 71 91 df 33 2f dc 17 1e 33 af 76 a5 c5 95 |..q..3/...3.v...|
00000060 20 55 64 c4 13 71 ab 35 84 f9 44 9b f2 a5 d4 | Ud..q.5..D....|