th5/testdata/Client-TLSv10-ClientCert-RSA-ECDSA
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

130 lines
9.7 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 96 29 16 36 60 |....Y...U...).6`|
00000010 65 c0 59 5e 39 1b ad 11 d4 c2 d4 ee 60 ed 7c 0a |e.Y^9.......`.|.|
00000020 72 20 d8 ed da 53 e0 a3 64 43 5b 20 68 13 96 67 |r ...S..dC[ h..g|
00000030 eb a5 c4 1f 31 48 d0 11 9d bc 63 64 1e b2 36 7c |....1H....cd..6||
00000040 48 f0 05 7e 81 2f 82 de 91 22 0d 74 c0 09 00 00 |H..~./...".t....|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 01 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..|
00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....|
00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0|
00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...|
000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1|
000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern|
000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L|
000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506|
000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063|
000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A|
00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some|
00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...|
00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit|
00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...|
00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..|
00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.|
00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.|
00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d|
00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i|
00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.|
000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#|
000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.|
000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.|
000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=|
000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.|
000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^|
00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......|
00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y|
00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.|
00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3|
00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....|
00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.|
00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....|
00000270 2a 16 03 01 00 d6 0c 00 00 d2 03 00 17 41 04 17 |*............A..|
00000280 e7 29 66 88 e3 76 32 fb 5f 3d 44 5c 2e f3 9a f4 |.)f..v2._=D\....|
00000290 8b 68 24 b7 5a fa e6 41 9d f9 57 32 72 89 94 e9 |.h$.Z..A..W2r...|
000002a0 d4 0b ad ad c0 3c 08 ea c0 61 8b bc fd f8 cd 36 |.....<...a.....6|
000002b0 54 17 57 6f cb e7 8d 4c 35 49 35 27 3d b4 97 00 |T.Wo...L5I5'=...|
000002c0 8b 30 81 88 02 42 00 9c eb c1 18 55 df 1c ee e2 |.0...B.....U....|
000002d0 13 00 cb aa 54 d2 bc ae 8a 1f 15 24 ca f2 99 e7 |....T......$....|
000002e0 4d ec e0 74 a5 45 60 9f ec af 4c a7 72 4a 14 0a |M..t.E`...L.rJ..|
000002f0 c2 33 5b b0 c7 82 6e 55 85 1d e2 57 ad 58 cc 06 |.3[...nU...W.X..|
00000300 46 c5 5a f8 0a 6f ac bb 02 42 01 c6 5c 36 38 af |F.Z..o...B..\68.|
00000310 ed d2 2d c9 66 bf c3 ff 86 63 03 a4 57 d3 7b 91 |..-.f....c..W.{.|
00000320 9b 02 3f 94 79 d9 38 5d b5 46 80 ff 56 09 dc 91 |..?.y.8].F..V...|
00000330 4a 72 4c 2a 8b 35 d8 a0 f1 82 bc 79 1f 4d 57 1d |JrL*.5.....y.MW.|
00000340 eb a0 a3 f8 5e dd 74 5d c2 fc bc b4 16 03 01 00 |....^.t]........|
00000350 0e 0d 00 00 06 03 01 02 40 00 00 0e 00 00 00 |........@......|
>>> Flow 3 (client to server)
00000000 16 03 01 01 fd 0b 00 01 f9 00 01 f6 00 01 f3 30 |...............0|
00000010 82 01 ef 30 82 01 58 a0 03 02 01 02 02 10 5c 19 |...0..X.......\.|
00000020 c1 89 65 83 55 6f dc 0b c9 b9 93 9f e9 bc 30 0d |..e.Uo........0.|
00000030 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 12 31 |..*.H........0.1|
00000040 10 30 0e 06 03 55 04 0a 13 07 41 63 6d 65 20 43 |.0...U....Acme C|
00000050 6f 30 1e 17 0d 31 36 30 38 31 37 32 31 35 32 33 |o0...16081721523|
00000060 31 5a 17 0d 31 37 30 38 31 37 32 31 35 32 33 31 |1Z..170817215231|
00000070 5a 30 12 31 10 30 0e 06 03 55 04 0a 13 07 41 63 |Z0.1.0...U....Ac|
00000080 6d 65 20 43 6f 30 81 9f 30 0d 06 09 2a 86 48 86 |me Co0..0...*.H.|
00000090 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 |...........0....|
000000a0 81 00 ba 6f aa 86 bd cf bf 9f f2 ef 5c 94 60 78 |...o........\.`x|
000000b0 6f e8 13 f2 d1 96 6f cd d9 32 6e 22 37 ce 41 f9 |o.....o..2n"7.A.|
000000c0 ca 5d 29 ac e1 27 da 61 a2 ee 81 cb 10 c7 df 34 |.])..'.a.......4|
000000d0 58 95 86 e9 3d 19 e6 5c 27 73 60 c8 8d 78 02 f4 |X...=..\'s`..x..|
000000e0 1d a4 98 09 a3 19 70 69 3c 25 62 66 2a ab 22 23 |......pi<%bf*."#|
000000f0 c5 7b 85 38 4f 2e 09 73 32 a7 bd 3e 9b ad ca 84 |.{.8O..s2..>....|
00000100 07 e6 0f 3a ff 77 c5 9d 41 85 00 8a b6 9b ee b0 |...:.w..A.......|
00000110 a4 3f 2d 4c 4c e6 42 3e bb 51 c8 dd 48 54 f4 0c |.?-LL.B>.Q..HT..|
00000120 8e 47 02 03 01 00 01 a3 46 30 44 30 0e 06 03 55 |.G......F0D0...U|
00000130 1d 0f 01 01 ff 04 04 03 02 05 a0 30 13 06 03 55 |...........0...U|
00000140 1d 25 04 0c 30 0a 06 08 2b 06 01 05 05 07 03 01 |.%..0...+.......|
00000150 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 0f |0...U.......0.0.|
00000160 06 03 55 1d 11 04 08 30 06 87 04 7f 00 00 01 30 |..U....0.......0|
00000170 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 03 81 |...*.H..........|
00000180 81 00 46 ab 44 a2 fb 28 54 f8 5a 67 f8 62 94 f1 |..F.D..(T.Zg.b..|
00000190 9a b2 18 9e f2 b1 de 1d 7e 6f 76 95 a9 ba e7 5d |........~ov....]|
000001a0 a8 16 6c 9c f7 09 d3 37 e4 4b 2b 36 7c 01 ad 41 |..l....7.K+6|..A|
000001b0 d2 32 d8 c3 d2 93 f9 10 6b 8e 95 b9 2c 17 8a a3 |.2......k...,...|
000001c0 44 48 bc 59 13 83 16 04 88 a4 81 5c 25 0d 98 0c |DH.Y.......\%...|
000001d0 ac 11 b1 28 56 be 1d cd 61 62 84 09 bf d6 80 c6 |...(V...ab......|
000001e0 45 8d 82 2c b4 d8 83 9b db c9 22 b7 2a 12 11 7b |E..,......".*..{|
000001f0 fa 02 3b c1 c9 ff ea c9 9d a8 49 d3 95 d7 d5 0e |..;.......I.....|
00000200 e5 35 16 03 01 00 46 10 00 00 42 41 04 1e 18 37 |.5....F...BA...7|
00000210 ef 0d 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 |...Q.5uq..T[....|
00000220 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d |g..$ >.V...(^.+-|
00000230 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 |O....lK[.V.2B.X.|
00000240 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 16 03 01 |.I..h.A.Vk.Z....|
00000250 00 86 0f 00 00 82 00 80 43 ee ac 48 f3 bb 26 40 |........C..H..&@|
00000260 19 85 d5 05 63 44 5c 2c c9 ab b1 6d ad c2 03 f5 |....cD\,...m....|
00000270 f5 1d 16 08 fe 3a a9 90 97 8f d6 47 fa 20 80 bb |.....:.....G. ..|
00000280 07 6e 32 21 b5 95 de 89 43 ea a9 44 71 35 c7 84 |.n2!....C..Dq5..|
00000290 d1 c7 d7 74 e0 29 bd 19 51 86 bc 77 24 27 fb a3 |...t.)..Q..w$'..|
000002a0 f6 3f 85 dd ac d3 6d 84 3e bb 0c e2 8c 2e 1a db |.?....m.>.......|
000002b0 18 a2 4f c7 d2 5c 3a db 0c fa f3 3e 6e 1d 65 da |..O..\:....>n.e.|
000002c0 3b 1a df 35 00 d0 ee 1b 2e 59 fe 18 50 3d b1 56 |;..5.....Y..P=.V|
000002d0 82 7c c9 5a 4b 8a e8 9a 14 03 01 00 01 01 16 03 |.|.ZK...........|
000002e0 01 00 30 1b 1f 0e e0 90 f4 1f b1 cc 3e e5 cb 58 |..0.........>..X|
000002f0 6a b2 f9 97 04 d2 17 33 2e b0 c9 34 4a 2e 27 0d |j......3...4J.'.|
00000300 e1 30 86 b4 bc e3 1f 35 2a 6f bc d7 72 5c b5 32 |.0.....5*o..r\.2|
00000310 cf 19 19 |...|
>>> Flow 4 (server to client)
00000000 14 03 01 00 01 01 16 03 01 00 30 fb 0a 0c da b5 |..........0.....|
00000010 4e fa e0 6b 34 d6 39 b6 33 17 c5 24 38 87 c9 2c |N..k4.9.3..$8..,|
00000020 59 b0 f6 46 92 41 7b 35 2f 51 b5 fc 0b ed c1 23 |Y..F.A{5/Q.....#|
00000030 42 4d 0f 68 eb 7b ae 27 ee 70 4c |BM.h.{.'.pL|
>>> Flow 5 (client to server)
00000000 17 03 01 00 20 f0 73 c9 22 ac 02 f3 d7 26 fe ba |.... .s."....&..|
00000010 fa de 6f a5 51 50 2f 4a 13 e8 36 c2 29 ff 68 4d |..o.QP/J..6.).hM|
00000020 6e 87 a0 e8 aa 17 03 01 00 20 60 bb 97 5f cb 4f |n........ `.._.O|
00000030 46 23 a9 03 49 8a 82 cb 22 b2 05 9d c4 4f 83 c1 |F#..I..."....O..|
00000040 47 e3 b0 58 e2 cc 46 b7 49 18 15 03 01 00 20 54 |G..X..F.I..... T|
00000050 ae d6 e1 bf 61 5c 9f b3 f8 dc dc e7 33 84 d3 aa |....a\......3...|
00000060 23 fa 02 ef dc d1 93 96 1d e3 a1 02 c5 30 9c |#............0.|