crypto/tls: update the supported signature algorithms.

This is the second in a two-part change. See https://golang.org/cl/9415
for details of the overall change.

This change updates the supported signature algorithms to include
SHA-384 and updates all the testdata/ files accordingly. Even some of
the testdata/ files named “TLS1.0” and “TLS1.1” have been updated
because they have TLS 1.2 ClientHello's even though the server picks a
lower version.

Fixes #9757.

Change-Id: Ia76de2b548d3b39cd4aa3f71132b0da7c917debd
Reviewed-on: https://go-review.googlesource.com/9472
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Adam Langley 2015-04-29 10:10:48 -07:00
parent 7de6f5ad0c
commit eedecb3d60
34 changed files with 1180 additions and 1180 deletions

View file

@ -1,20 +1,20 @@
>>> Flow 1 (client to server)
00000000 16 03 01 00 8e 01 00 00 8a 03 03 00 00 00 00 00 |................|
00000000 16 03 01 00 92 01 00 00 8e 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 1e c0 2f |.............../|
00000030 c0 2b c0 30 c0 2c c0 11 c0 07 c0 13 c0 09 c0 14 |.+.0.,..........|
00000040 c0 0a 00 05 00 2f 00 35 c0 12 00 0a 01 00 00 43 |...../.5.......C|
00000040 c0 0a 00 05 00 2f 00 35 c0 12 00 0a 01 00 00 47 |...../.5.......G|
00000050 33 74 00 00 00 05 00 05 01 00 00 00 00 00 0a 00 |3t..............|
00000060 08 00 06 00 17 00 18 00 19 00 0b 00 02 01 00 00 |................|
00000070 0d 00 0a 00 08 04 01 04 03 02 01 02 03 ff 01 00 |................|
00000080 01 00 00 10 00 09 00 07 06 70 72 6f 74 6f 33 00 |.........proto3.|
00000090 12 00 00 |...|
00000070 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 01 02 |................|
00000080 03 ff 01 00 01 00 00 10 00 09 00 07 06 70 72 6f |.............pro|
00000090 74 6f 33 00 12 00 00 |to3....|
>>> Flow 2 (server to client)
00000000 16 03 03 00 59 02 00 00 55 03 03 e0 60 58 e4 e3 |....Y...U...`X..|
00000010 f6 cf a3 cb f7 01 80 18 51 41 56 4e 88 72 e3 3b |........QAVN.r.;|
00000020 08 f5 8b ab 1e ab 25 b7 09 aa 4d 20 1b 83 8d cf |......%...M ....|
00000030 3d 23 ad 39 a4 05 09 68 87 dd fb 03 05 a0 7a 33 |=#.9...h......z3|
00000040 23 ba 44 69 b2 15 c9 38 ad ca 49 a0 c0 2f 00 00 |#.Di...8..I../..|
00000000 16 03 03 00 59 02 00 00 55 03 03 94 d7 79 73 82 |....Y...U....ys.|
00000010 87 7c 85 6e 8a 1b 7d bf 69 c9 98 0c 44 bd f6 78 |.|.n..}.i...D..x|
00000020 d2 80 dc d8 7d 80 bb 91 4b d4 ed 20 fe 9f 2f 7b |....}...K.. ../{|
00000030 f2 1a 44 36 cd ce af f1 b5 01 8a ac 18 e4 2b 23 |..D6..........+#|
00000040 a8 ab 1a 32 23 8b 0b e2 81 a8 0a 40 c0 2f 00 00 |...2#......@./..|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 03 02 be 0b 00 02 ba 00 02 b7 00 02 b4 30 82 02 |.............0..|
00000070 b0 30 82 02 19 a0 03 02 01 02 02 09 00 85 b0 bb |.0..............|
@ -60,37 +60,37 @@
000002f0 5f 33 c4 b6 d8 c9 75 90 96 8c 0f 52 98 b5 cd 98 |_3....u....R....|
00000300 1f 89 20 5f f2 a0 1c a3 1b 96 94 dd a9 fd 57 e9 |.. _..........W.|
00000310 70 e8 26 6d 71 99 9b 26 6e 38 50 29 6c 90 a7 bd |p.&mq..&n8P)l...|
00000320 d9 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 c2 |.............A..|
00000330 dd ae 98 e1 cd 1e 23 cd da 98 6d 13 70 1e e4 3e |......#...m.p..>|
00000340 39 28 d6 3e 26 a1 5d ae d7 b2 e0 d8 13 d2 4d e8 |9(.>&.].......M.|
00000350 bb f6 22 fc 21 68 67 21 25 1c d4 1a 31 ea cd bd |..".!hg!%...1...|
00000360 fc 9c 67 c7 bd 2b 92 13 fc 15 28 51 41 fc 33 04 |..g..+....(QA.3.|
00000370 01 00 80 b5 bc 74 2a f0 e7 8a 99 72 31 c6 67 23 |.....t*....r1.g#|
00000380 d1 62 0d 00 be 5b 11 2d 30 a7 90 2c f2 e6 22 2e |.b...[.-0..,..".|
00000390 a5 d2 ac ad 6c 71 18 f9 69 ee 16 bf c8 cf f6 8f |....lq..i.......|
000003a0 5c 69 d9 5e 2f b1 25 1f 54 96 08 b7 8f e4 7e c2 |\i.^/.%.T.....~.|
000003b0 99 8f f2 e7 a8 c2 25 fd e7 29 a9 2a 06 69 bc 39 |......%..).*.i.9|
000003c0 52 f5 47 14 28 24 44 df 48 6c 02 6f 28 29 9a 9c |R.G.($D.Hl.o()..|
000003d0 50 d9 e6 a5 43 9e 6c 42 2b 01 7a 28 1d c6 d8 e6 |P...C.lB+.z(....|
000003e0 54 22 17 89 de db 42 17 54 e1 be 72 99 29 84 64 |T"....B.T..r.).d|
000003f0 6e 46 e6 16 03 03 00 04 0e 00 00 00 |nF..........|
00000320 d9 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 7d |.............A.}|
00000330 75 a5 53 0b a5 4d a6 81 e0 df c4 11 c9 b5 31 ba |u.S..M........1.|
00000340 9f 7b 51 04 57 c6 e0 b9 b0 bc 4f bc 71 74 8a 2e |.{Q.W.....O.qt..|
00000350 d1 f6 39 36 94 4e c7 d3 a7 1b 2c b5 55 04 71 01 |..96.N....,.U.q.|
00000360 9e 2b 42 1e 8b a4 40 b2 13 4f 03 1f 51 9e 5c 04 |.+B...@..O..Q.\.|
00000370 01 00 80 68 05 c7 4a ca df 00 85 2b 53 f7 4f c3 |...h..J....+S.O.|
00000380 b4 0f e8 f7 b8 30 b7 36 56 65 7b 03 6a 72 f1 aa |.....0.6Ve{.jr..|
00000390 54 30 90 9e c7 dc fc 03 96 15 70 67 13 12 a4 f4 |T0........pg....|
000003a0 42 f0 f9 a1 48 c0 44 44 77 0e ea fd cb b5 6e 19 |B...H.DDw.....n.|
000003b0 89 94 a7 12 67 87 47 19 c3 00 2d c4 9b d4 dc 66 |....g.G...-....f|
000003c0 fa ca d7 97 79 9b 28 7f 74 d4 37 c0 06 63 d4 9e |....y.(.t.7..c..|
000003d0 a1 53 16 5a 8e d7 a5 cc 90 4d 63 f9 0c 18 85 7f |.S.Z.....Mc.....|
000003e0 0e 35 3a 49 73 88 82 51 41 e5 2d 58 aa 38 3e bd |.5:Is..QA.-X.8>.|
000003f0 3d d8 da 16 03 03 00 04 0e 00 00 00 |=...........|
>>> Flow 3 (client to server)
00000000 16 03 03 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 03 00 01 |..h.A.Vk.Z......|
00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 b0 80 |.....(..........|
00000060 a1 00 c5 cd cc 64 99 e1 34 04 2f c4 b4 c0 cd 51 |.....d..4./....Q|
00000070 9e bd d3 92 9a 64 ba 05 3c 48 ac d2 ff c3 |.....d..<H....|
00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 a8 da |.....(..........|
00000060 74 a6 d0 a5 26 86 f3 5f 89 a4 af ac 9c 1a 01 1f |t...&.._........|
00000070 89 8a 1c fc cf 68 3e a5 a3 20 1a b3 78 af |.....h>.. ..x.|
>>> Flow 4 (server to client)
00000000 14 03 03 00 01 01 16 03 03 00 28 d8 9b 4c 7c 2a |..........(..L|*|
00000010 89 07 f8 85 d9 da 8a 52 b3 c3 93 05 c0 36 45 e1 |.......R.....6E.|
00000020 25 50 d8 e6 79 d8 b3 15 4c 78 bb 73 db a4 7c 46 |%P..y...Lx.s..|F|
00000030 2b ad 2a |+.*|
00000000 14 03 03 00 01 01 16 03 03 00 28 1a f2 a9 e8 71 |..........(....q|
00000010 b2 a6 ca 36 4a ea 55 f6 20 03 fd f7 90 c3 af 30 |...6J.U. ......0|
00000020 d3 29 c3 d7 1b d6 4d 3e 61 55 94 0d 4e 3e 83 1a |.)....M>aU..N>..|
00000030 97 dd 19 |...|
>>> Flow 5 (client to server)
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 67 aa 3d |.............g.=|
00000010 97 e7 5d 82 0f 87 fa be 4f d9 46 eb 8a ba f5 46 |..].....O.F....F|
00000020 f9 d1 5a 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..Z.............|
00000030 82 0e 28 5d 0f 1f 24 dc cc 47 12 6f 85 a4 37 ab |..(]..$..G.o..7.|
00000040 15 9d |..|
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 94 5b 5e |..............[^|
00000010 51 a1 52 ee 19 78 78 ef 12 0d 9c 66 bf e2 48 cb |Q.R..xx....f..H.|
00000020 f6 00 1e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................|
00000030 cd 5d 31 58 d9 5a 12 65 5b c6 7e 4e e2 04 e7 1d |.]1X.Z.e[.~N....|
00000040 b1 4c |.L|