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,19 +1,19 @@
>>> Flow 1 (client to server)
00000000 16 03 01 00 7d 01 00 00 79 03 03 00 00 00 00 00 |....}...y.......|
00000000 16 03 01 00 81 01 00 00 7d 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 32 |...../.5.......2|
00000040 c0 0a 00 05 00 2f 00 35 c0 12 00 0a 01 00 00 36 |...../.5.......6|
00000050 00 05 00 05 01 00 00 00 00 00 0a 00 08 00 06 00 |................|
00000060 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0a 00 |................|
00000070 08 04 01 04 03 02 01 02 03 ff 01 00 01 00 00 12 |................|
00000080 00 00 |..|
00000060 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................|
00000070 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................|
00000080 01 00 00 12 00 00 |......|
>>> Flow 2 (server to client)
00000000 16 03 03 00 59 02 00 00 55 03 03 ee af 52 7b c4 |....Y...U....R{.|
00000010 c3 fd 78 e4 02 10 21 66 91 e8 be 88 2c 57 60 ef |..x...!f....,W`.|
00000020 44 06 ad 74 61 9e 62 cd 12 e9 b8 20 71 18 ff 58 |D..ta.b.... q..X|
00000030 5c 5b dd 4c dd de 33 43 ac 1f 6f c0 d4 8e c9 40 |\[.L..3C..o....@|
00000040 34 4a 96 00 4c 53 b4 32 65 17 00 a9 c0 09 00 00 |4J..LS.2e.......|
00000000 16 03 03 00 59 02 00 00 55 03 03 b3 7f 4e e7 11 |....Y...U....N..|
00000010 6d bc 56 ec 9c a8 61 08 d6 5a 2a 42 7b f1 94 0a |m.V...a..Z*B{...|
00000020 29 35 8b 7e 23 a0 6c 59 23 cf 39 20 84 09 b6 5b |)5.~#.lY#.9 ...[|
00000030 2f 46 80 3b 26 92 fd 81 e9 24 8c e2 b8 64 a2 03 |/F.;&....$...d..|
00000040 3a 68 c3 7b 44 f8 28 41 e2 d3 6c 7c c0 09 00 00 |:h.{D.(A..l|....|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 03 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....|
@ -48,20 +48,20 @@
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 03 00 d7 0c 00 00 d3 03 00 17 41 04 bd |*............A..|
00000280 9c e8 70 51 83 c4 06 84 7a a6 0d 03 e3 00 57 bd |..pQ....z.....W.|
00000290 d4 20 68 3b 96 6d 23 18 66 b3 a5 21 66 ef 99 de |. h;.m#.f..!f...|
000002a0 41 77 78 f5 d7 3b 0d fb 0e 87 85 1d 93 3e 2a 40 |Awx..;.......>*@|
000002b0 fd 2c b0 02 6d 5c e7 97 d6 98 55 ff 38 ed 72 04 |.,..m\....U.8.r.|
000002c0 03 00 8a 30 81 87 02 41 6d e1 1b f8 7b 7b 00 67 |...0...Am...{{.g|
000002d0 ed 9d 5d 2d c9 75 b1 41 3b b5 03 e6 b5 7e 9e 1d |..]-.u.A;....~..|
000002e0 c9 88 c7 a1 da f8 e9 87 52 8a 37 92 02 89 45 5c |........R.7...E\|
000002f0 94 d1 4d 1d 36 a1 f0 79 76 18 d3 43 53 23 2c 3f |..M.6..yv..CS#,?|
00000300 41 c9 d9 16 90 5c 98 e6 33 02 42 01 e5 56 d3 3c |A....\..3.B..V.<|
00000310 6a d9 4e 78 6d 03 2a 93 f2 b9 3e 39 be 36 61 bb |j.Nxm.*...>9.6a.|
00000320 54 3f 3f a7 10 db 31 c6 46 13 d6 6a fb 36 93 23 |T??...1.F..j.6.#|
00000330 a6 40 28 e0 70 69 6e 3f 2b 75 15 69 4f 30 b8 ea |.@(.pin?+u.iO0..|
00000340 96 0c 83 c0 c3 78 69 9c 95 07 79 e6 54 16 03 03 |.....xi...y.T...|
00000270 2a 16 03 03 00 d7 0c 00 00 d3 03 00 17 41 04 0f |*............A..|
00000280 4d b0 41 d4 dc 6b 8a 85 52 eb eb 18 4a 8f a7 e6 |M.A..k..R...J...|
00000290 24 52 e5 86 be 57 d7 0a e7 23 84 a8 a9 6c 96 08 |$R...W...#...l..|
000002a0 4b f7 47 32 79 d9 df 81 f6 05 40 63 3b 14 67 3b |K.G2y.....@c;.g;|
000002b0 ea 01 a0 0d 43 1a 36 29 b3 51 7a e4 af 1b 67 04 |....C.6).Qz...g.|
000002c0 03 00 8a 30 81 87 02 42 01 8e 57 8a b8 b7 5b 2f |...0...B..W...[/|
000002d0 9c 31 74 d8 7d 68 d7 6e 83 73 5f fb d0 cd de 66 |.1t.}h.n.s_....f|
000002e0 60 fa 0a 0a 15 0b 30 3b 08 b6 f1 3e 4f 20 13 62 |`.....0;...>O .b|
000002f0 b5 ff 86 81 dc 42 a1 4c af c8 ff b3 24 81 d8 e1 |.....B.L....$...|
00000300 d1 09 0c 32 11 92 5e dd 3f 87 02 41 76 a7 29 48 |...2..^.?..Av.)H|
00000310 52 68 1c 72 4d d5 39 bf fa 61 ec b2 27 ce 10 4e |Rh.rM.9..a..'..N|
00000320 86 12 3d 1e 04 9c 11 b7 b4 0c cf 98 9d 01 c3 93 |..=.............|
00000330 cf 83 9e 92 9a ca fd 8f b1 9f 1b 20 c4 fb a4 46 |........... ...F|
00000340 60 fc fd d5 33 b0 8f b5 b5 c8 a4 70 c5 16 03 03 |`...3......p....|
00000350 00 2e 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.....&...@......|
00000360 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................|
00000370 03 02 03 03 02 01 02 02 02 03 00 00 0e 00 00 00 |................|
@ -103,31 +103,31 @@
00000220 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
00000230 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
00000240 a6 b5 68 1a 41 03 56 6b dc 5a 89 16 03 03 00 88 |..h.A.Vk.Z......|
00000250 0f 00 00 84 04 01 00 80 2a a8 4b 5b 57 08 92 95 |........*.K[W...|
00000260 cd a7 5d 95 18 2e 2e ef 83 84 bf 7c c2 ae 44 16 |..]........|..D.|
00000270 bc 51 ec 00 ae a0 1d 1b 0c 59 d6 0d 22 7f 12 bd |.Q.......Y.."...|
00000280 c6 ed 8f 71 51 9c 56 2a 10 fe 9d 22 c6 ae 8f 14 |...qQ.V*..."....|
00000290 1e b1 a6 0b f2 14 38 6d 7f 52 4a 7b 3b 56 84 8f |......8m.RJ{;V..|
000002a0 08 56 e8 07 ff 10 79 41 3b e5 ed 1e 67 db 9c 9f |.V....yA;...g...|
000002b0 c2 01 e7 c1 56 8f bf 27 02 f9 8a 4f cb 02 24 39 |....V..'...O..$9|
000002c0 7e c4 c7 02 62 42 72 c4 7a eb ce d3 48 72 7e 6d |~...bBr.z...Hr~m|
000002d0 40 0e d6 ea 6f 6f 11 bb 14 03 03 00 01 01 16 03 |@...oo..........|
00000250 0f 00 00 84 05 01 00 80 02 19 16 cc 97 ad 70 20 |..............p |
00000260 bd 64 63 dd b6 81 a0 16 b3 46 4b 42 ff 21 58 2c |.dc......FKB.!X,|
00000270 bb 2b 4c e1 4e d7 49 4d 5c 7c 63 32 3e ef e6 ad |.+L.N.IM\|c2>...|
00000280 85 3f ab b4 5c 2a 37 76 8b 28 56 08 4f 08 b9 51 |.?..\*7v.(V.O..Q|
00000290 71 14 07 27 47 45 11 a0 03 cf 72 7d 67 ef 31 8d |q..'GE....r}g.1.|
000002a0 e7 db 36 76 b1 b3 f4 bf aa 6c c4 56 94 35 71 e1 |..6v.....l.V.5q.|
000002b0 dd 88 6d 15 90 c8 70 ad d8 95 55 42 9b c1 45 19 |..m...p...UB..E.|
000002c0 36 ce 87 c6 fd 94 8a d4 98 6e ec 18 d5 da 59 54 |6........n....YT|
000002d0 80 a7 8c 90 ae 55 20 1c 14 03 03 00 01 01 16 03 |.....U .........|
000002e0 03 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 |..@.............|
000002f0 00 00 00 4a 5f 25 86 84 c5 50 31 5c 96 ae dc 56 |...J_%...P1\...V|
00000300 de 30 a3 39 8d 82 e9 5a fa bb a9 64 ec 63 16 55 |.0.9...Z...d.c.U|
00000310 2f 2d ac f2 cb 38 b0 47 d0 b3 54 0e be 01 4d 7f |/-...8.G..T...M.|
00000320 57 4c 62 |WLb|
000002f0 00 00 00 58 fe bc 5c ba b2 a9 96 77 2f 95 c9 10 |...X..\....w/...|
00000300 fd 6d fc 6a 88 8c df 82 c3 a4 3d cc 28 f4 bf 7d |.m.j......=.(..}|
00000310 4a f8 3d 97 36 e5 a0 76 92 94 da dd cc f5 e4 0e |J.=.6..v........|
00000320 7a c4 2c |z.,|
>>> Flow 4 (server to client)
00000000 14 03 03 00 01 01 16 03 03 00 40 ae da 9b fe 9c |..........@.....|
00000010 ce f2 2c 5a 44 68 8b 1c fc d6 6b 7c 63 bf dd 18 |..,ZDh....k|c...|
00000020 8e 4a 1e bd 24 3f 60 1f e8 26 2b a2 a0 2e f1 8f |.J..$?`..&+.....|
00000030 b2 a7 a9 eb f0 17 4a a7 79 e4 ae 6b 12 ba 7e c5 |......J.y..k..~.|
00000040 1d 8f 10 46 cd 47 9a e6 35 46 8f |...F.G..5F.|
00000000 14 03 03 00 01 01 16 03 03 00 40 81 ab 5a 66 a8 |..........@..Zf.|
00000010 0f a5 d3 07 00 66 45 1f 31 a9 ef f7 a0 d9 23 46 |.....fE.1.....#F|
00000020 f0 3e 50 18 99 e3 5a bd eb b7 1d 81 d5 95 d5 ee |.>P...Z.........|
00000030 21 31 41 4b 19 92 b5 95 36 da 21 c0 4a 2a a0 1c |!1AK....6.!.J*..|
00000040 a3 9f 8e a0 6f 9d 37 5e 12 11 03 |....o.7^...|
>>> Flow 5 (client to server)
00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
00000010 00 00 00 00 00 bf 73 92 0b 5d 45 c3 0f 23 f0 8f |......s..]E..#..|
00000020 35 a1 96 f6 5b 32 4d 2a a7 4e da 47 f1 4d 3f 39 |5...[2M*.N.G.M?9|
00000030 7b 72 06 86 ca 15 03 03 00 30 00 00 00 00 00 00 |{r.......0......|
00000040 00 00 00 00 00 00 00 00 00 00 dc 0f ca 4c 33 ef |.............L3.|
00000050 56 e6 93 69 26 08 e4 d9 43 9f d7 cd d7 69 eb 5f |V..i&...C....i._|
00000060 c7 af 4a b7 73 52 0e 66 10 e5 |..J.sR.f..|
00000010 00 00 00 00 00 a9 51 94 19 72 ab 9f 3e 97 5e 99 |......Q..r..>.^.|
00000020 2c ec 13 48 3e 10 54 5f 8a 85 88 4d 1a a8 f5 ed |,..H>.T_...M....|
00000030 c3 4f a9 59 a3 15 03 03 00 30 00 00 00 00 00 00 |.O.Y.....0......|
00000040 00 00 00 00 00 00 00 00 00 00 25 00 6d 2f a0 f6 |..........%.m/..|
00000050 ce 8a 30 ba 53 da 97 c6 11 f3 d2 f3 9e 66 d6 dd |..0.S........f..|
00000060 19 f3 ee 07 03 d3 e6 f1 30 32 |........02|