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 01 00 51 02 00 00 4d 03 01 e1 fc f6 05 2a |....Q...M......*|
00000010 e3 8e 5d 62 22 73 b8 7f 69 11 29 90 26 21 c2 66 |..]b"s..i.).&!.f|
00000020 23 d9 c8 22 c0 08 c2 a6 95 ac 17 20 d6 6d e3 15 |#.."....... .m..|
00000030 e0 e5 65 e3 45 17 e9 45 2f 90 66 81 bc 10 7a 6e |..e.E..E/.f...zn|
00000040 b6 3a 7e db 84 5d 59 53 d2 be 8c f4 00 05 00 00 |.:~..]YS........|
00000000 16 03 01 00 51 02 00 00 4d 03 01 b7 de 52 5a 07 |....Q...M....RZ.|
00000010 43 b8 72 1d d9 6f 5c a5 70 da ee 27 b7 a9 50 9d |C.r..o\.p..'..P.|
00000020 e7 75 ad 61 a5 2f 69 47 2a d8 2e 20 a8 b0 64 6b |.u.a./iG*.. ..dk|
00000030 4d 25 ec 50 2b 8e a7 9b 0c f9 f5 3c 62 96 a3 53 |M%.P+......<b..S|
00000040 a7 4b af 33 1e e7 f8 43 b9 be 6e e7 00 05 00 00 |.K.3...C..n.....|
00000050 05 ff 01 00 01 00 16 03 01 02 be 0b 00 02 ba 00 |................|
00000060 02 b7 00 02 b4 30 82 02 b0 30 82 02 19 a0 03 02 |.....0...0......|
00000070 01 02 02 09 00 85 b0 bb a4 8a 7f b8 ca 30 0d 06 |.............0..|
@ -103,24 +103,24 @@
00000270 bd 77 82 6f 23 b6 e0 bd a2 92 b7 3a ac e8 56 f1 |.w.o#......:..V.|
00000280 af 54 5e 46 87 e9 3b 33 e7 b8 28 b7 d6 c8 90 35 |.T^F..;3..(....5|
00000290 d4 1c 43 d1 30 6f 55 4e 0a 70 16 03 01 00 91 0f |..C.0oUN.p......|
000002a0 00 00 8d 00 8b 30 81 88 02 42 01 31 94 8d 30 cc |.....0...B.1..0.|
000002b0 aa 3c de 14 df db 93 d2 d9 27 e2 d7 95 7e f4 8b |.<.......'...~..|
000002c0 d5 b1 97 3f 2a b8 27 c4 ba 67 89 ea 67 91 ea 6d |...?*.'..g..g..m|
000002d0 6d 62 14 3c 6d b1 b1 56 7c 85 c4 a2 07 92 87 6d |mb.<m..V|......m|
000002e0 cb 0c d8 bb 00 2b d8 2f 3f fc ad 1d 02 42 01 43 |.....+./?....B.C|
000002f0 38 74 04 2c 90 25 1c 43 b0 78 35 af 8f 1d 62 27 |8t.,.%.C.x5...b'|
00000300 bf 0a 68 b3 20 2e 3f 90 f3 d4 61 b4 8f 67 de 35 |..h. .?...a..g.5|
00000310 28 92 5c 9d 8b 33 82 ac 0d e3 7d 92 52 9c 78 25 |(.\..3....}.R.x%|
00000320 bb e6 21 85 6e 70 63 03 06 51 24 db 15 1e ac 82 |..!.npc..Q$.....|
00000330 14 03 01 00 01 01 16 03 01 00 24 c0 9a a8 1b 4b |..........$....K|
00000340 49 19 62 7d 25 4f bf c8 1c 96 93 fd 46 48 8f 6b |I.b}%O......FH.k|
00000350 31 05 3b 35 22 42 ba 72 de 9d 85 76 e8 98 53 |1.;5"B.r...v..S|
000002a0 00 00 8d 00 8b 30 81 88 02 42 00 b5 1a 9d 48 90 |.....0...B....H.|
000002b0 2f d9 1a 04 66 f7 3b 4d d7 ae d9 1e dd 3c fa 24 |/...f.;M.....<.$|
000002c0 0f 24 97 b2 61 46 16 d9 a0 35 f9 f7 54 45 92 fd |.$..aF...5..TE..|
000002d0 10 56 ab 26 d7 b5 10 80 8b 88 95 ef c6 73 1c d2 |.V.&.........s..|
000002e0 ff e9 20 cd 18 a8 40 c4 4d 83 c2 e2 02 42 01 8c |.. ...@.M....B..|
000002f0 d2 13 4c cc e5 38 37 17 6c 83 d6 ad c1 dc af ec |..L..87.l.......|
00000300 8d 06 75 b8 08 ad 56 4a 8f b9 03 59 80 f8 81 d4 |..u...VJ...Y....|
00000310 f3 91 89 eb 9c 27 5d e1 dc 6d ef d6 20 da e7 9c |.....']..m.. ...|
00000320 71 75 cb 2a f9 e4 05 46 c8 85 ca 7b 9c 97 e8 6d |qu.*...F...{...m|
00000330 14 03 01 00 01 01 16 03 01 00 24 9f 67 4e 22 04 |..........$.gN".|
00000340 10 f4 28 55 3e 50 88 90 61 07 42 29 f5 9b f5 32 |..(U>P..a.B)...2|
00000350 16 3d ea c1 8f aa a1 4c b5 72 26 d8 32 cd 50 |.=.....L.r&.2.P|
>>> Flow 4 (server to client)
00000000 14 03 01 00 01 01 16 03 01 00 24 f3 9c e5 c4 59 |..........$....Y|
00000010 46 e8 1e 97 95 4e 5b 4e e9 38 25 57 5c a5 23 66 |F....N[N.8%W\.#f|
00000020 4a c6 c7 a1 8b f8 00 dc 44 da 4c 1b d4 42 c3 |J.......D.L..B.|
00000000 14 03 01 00 01 01 16 03 01 00 24 df 8d f1 07 6d |..........$....m|
00000010 63 39 fc ba b1 67 3b 68 85 b9 37 7d d3 67 19 76 |c9...g;h..7}.g.v|
00000020 34 a4 1b 86 31 bd fe 06 72 00 d8 2b f2 65 3d |4...1...r..+.e=|
>>> Flow 5 (client to server)
00000000 17 03 01 00 1a 22 0a ba 84 61 7b 18 e0 f3 c6 53 |....."...a{....S|
00000010 f4 82 6d 03 dc d7 c5 c3 c8 6e bf be a2 dc 73 15 |..m......n....s.|
00000020 03 01 00 16 11 1b cc 6f 58 c4 fc ca 0a ff fd a4 |.......oX.......|
00000030 12 45 c6 81 78 17 73 52 ce b3 |.E..x.sR..|
00000000 17 03 01 00 1a 60 cc 81 4f 8b 73 b3 7f 34 bf f1 |.....`..O.s..4..|
00000010 7c d8 32 0a ef 2a 26 f9 b8 69 84 83 48 21 ee 15 ||.2..*&..i..H!..|
00000020 03 01 00 16 23 7a 0c 65 3a 66 1a 75 03 e4 85 3f |....#z.e:f.u...?|
00000030 83 cd 55 70 99 f4 44 dc 67 ba |..Up..D.g.|