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,7 +1,7 @@
>>> Flow 1 (client to server)
00000000 16 03 01 01 6b 01 00 01 67 03 03 e4 b0 a0 f0 85 |....k...g.......|
00000010 a5 8c 96 5d 78 c5 a5 f4 f2 d5 01 68 5c f3 c5 7d |...]x......h\..}|
00000020 00 d9 7c 0d b6 ca b4 6c c0 0e 79 00 00 b6 c0 30 |..|....l..y....0|
00000000 16 03 01 01 6b 01 00 01 67 03 03 8c 16 4a 54 65 |....k...g....JTe|
00000010 9f cf 83 7e 6c da 46 9c 79 cd 7f 67 29 e2 55 af |...~l.F.y..g).U.|
00000020 c2 d3 24 7b f6 a1 ea 96 43 95 8b 00 00 b6 c0 30 |..${....C......0|
00000030 c0 2c c0 28 c0 24 c0 14 c0 0a 00 a5 00 a3 00 a1 |.,.(.$..........|
00000040 00 9f 00 6b 00 6a 00 69 00 68 00 39 00 38 00 37 |...k.j.i.h.9.8.7|
00000050 00 36 00 88 00 87 00 86 00 85 c0 32 c0 2e c0 2a |.6.........2...*|
@ -76,40 +76,40 @@
00000320 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd a7 24 20 |5uq..T[....g..$ |
00000330 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e f1 07 9f |>.V...(^.+-O....|
00000340 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 a6 b5 68 |lK[.V.2B.X..I..h|
00000350 1a 41 03 56 6b dc 5a 89 04 01 00 80 b6 f9 b6 2b |.A.Vk.Z........+|
00000360 15 b8 ef 70 37 61 64 f3 f3 a5 d9 da ce 13 b5 e1 |...p7ad.........|
00000370 0b 24 eb 11 a7 df 86 a9 ef 88 ef af 17 7d 02 56 |.$...........}.V|
00000380 ec 59 32 c9 5c 06 a4 ce 10 c7 6f 6a f3 e0 43 6a |.Y2.\.....oj..Cj|
00000390 02 99 f4 7b 14 65 dc a5 a0 af 10 3e a8 40 35 2b |...{.e.....>.@5+|
000003a0 c6 a1 31 b6 26 e9 89 0f 06 61 6f 2e 6c f4 70 69 |..1.&....ao.l.pi|
000003b0 e5 01 80 3d fe 4d 59 ad cb 2f b8 c1 df 5f 36 f7 |...=.MY../..._6.|
000003c0 cc a6 31 84 61 c0 e8 c5 95 37 9c e6 0d 2b 78 0c |..1.a....7...+x.|
000003d0 45 cf 69 5d fa 3a 8b 31 ea 22 60 31 16 03 03 00 |E.i].:.1."`1....|
00000350 1a 41 03 56 6b dc 5a 89 05 01 00 80 a5 67 1e 1a |.A.Vk.Z......g..|
00000360 58 c6 60 8f d8 74 60 56 f2 7d 60 2d 46 fe e2 a2 |X.`..t`V.}`-F...|
00000370 cd 0f 07 fb 66 38 e6 99 84 ad f9 d2 b0 00 8a 6f |....f8.........o|
00000380 aa 07 95 6b 38 dc a5 a7 29 8e 1a fb f2 50 1c 64 |...k8...)....P.d|
00000390 e5 c0 c6 c0 90 33 d4 ab 0b 42 0a e5 c9 89 4a 0c |.....3...B....J.|
000003a0 00 32 b6 2e 45 e0 5d d5 23 09 29 68 99 43 c3 cb |.2..E.].#.)h.C..|
000003b0 4b 5c 0a a2 b3 ac 64 65 76 c6 25 ee 7e 3e 27 d9 |K\....dev.%.~>'.|
000003c0 91 f6 5b 33 cb e4 ce 74 52 2a c2 d1 d3 e0 44 7d |..[3...tR*....D}|
000003d0 a1 4f 15 ad 83 29 3a c6 9f 87 22 6d 16 03 03 00 |.O...):..."m....|
000003e0 04 0e 00 00 00 |.....|
>>> Flow 3 (client to server)
00000000 16 03 03 00 46 10 00 00 42 41 04 8d 5a 5d 91 04 |....F...BA..Z]..|
00000010 79 46 1b f1 12 3f d5 ca 57 18 5f 4d 71 d9 eb f8 |yF...?..W._Mq...|
00000020 90 f6 ed 75 b9 0c 2b 6e 67 cb 3a ae cc 6d 61 af |...u..+ng.:..ma.|
00000030 30 87 1b a6 21 d6 90 16 84 b0 65 3d 7f cc 96 ed |0...!.....e=....|
00000040 9e 68 38 e5 10 27 c3 23 48 40 f9 14 03 03 00 01 |.h8..'.#H@......|
00000050 01 16 03 03 00 28 7b a4 d0 fd 15 36 9b 1f 6e 4f |.....({....6..nO|
00000060 a9 d7 61 3f 58 93 5e 1b 10 be a1 8c c9 2f 39 74 |..a?X.^....../9t|
00000070 23 9a 1e ba 5b 3b e7 f0 32 b7 14 2e ae 0b |#...[;..2.....|
00000000 16 03 03 00 46 10 00 00 42 41 04 cb 9a 95 ae 57 |....F...BA.....W|
00000010 6e 67 8a 10 30 60 b4 2c 9e f7 18 bb d1 ad 09 96 |ng..0`.,........|
00000020 02 e3 48 b1 a3 b8 7d 29 42 2b f7 68 f6 8e 2c f8 |..H...})B+.h..,.|
00000030 b7 12 5c 9c 08 2a b5 8a 13 b2 4c 08 62 e0 83 c0 |..\..*....L.b...|
00000040 4a 42 6e 5a 35 24 85 2f 58 6c 8c 14 03 03 00 01 |JBnZ5$./Xl......|
00000050 01 16 03 03 00 28 3f b4 ed a5 a6 03 e0 db 72 cf |.....(?.......r.|
00000060 a7 c1 a1 32 93 38 8c c4 9d c7 07 44 8d 83 78 5f |...2.8.....D..x_|
00000070 c1 07 5c 0e b1 a9 5f e3 6d e7 6e 2d 5f d8 |..\..._.m.n-_.|
>>> Flow 4 (server to client)
00000000 16 03 03 00 82 04 00 00 7e 00 00 00 00 00 78 50 |........~.....xP|
00000010 46 ad c1 db a8 38 86 7b 2b bb fd d0 c3 42 3e 00 |F....8.{+....B>.|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................|
00000030 6f ec 80 83 61 dc ee 0e 43 06 28 f4 47 1a d7 25 |o...a...C.(.G..%|
00000040 f2 fa 66 d5 81 21 51 81 a8 47 2d a5 db e1 f2 84 |..f..!Q..G-.....|
00000050 ea 55 da 3e cf 97 fd 7e 63 68 50 e3 2d 48 5a 58 |.U.>...~chP.-HZX|
00000060 77 36 a2 9f 3f 33 94 65 de 9e e6 65 22 6f 1d c8 |w6..?3.e...e"o..|
00000070 46 80 2d 0b 83 41 5e c6 20 f6 c3 22 5f bb 7a 9b |F.-..A^. .."_.z.|
00000080 28 07 9c 5e b7 30 35 14 03 03 00 01 01 16 03 03 |(..^.05.........|
00000090 00 28 00 00 00 00 00 00 00 00 4a 1c a6 1e 78 e1 |.(........J...x.|
000000a0 4c 58 56 f5 6e 78 ae 11 7a dc 93 65 4b 46 6e b8 |LXV.nx..z..eKFn.|
000000b0 b6 2e 42 bc 71 81 61 3c 14 95 17 03 03 00 25 00 |..B.q.a<......%.|
000000c0 00 00 00 00 00 00 01 6e af 22 60 44 9b 18 e7 21 |.......n."`D...!|
000000d0 d9 c3 8d 48 8c 94 f1 aa cc 9d a4 11 ba b7 f2 0f |...H............|
000000e0 a2 91 e6 50 15 03 03 00 1a 00 00 00 00 00 00 00 |...P............|
000000f0 02 65 58 88 05 97 4a 2a 72 f5 03 da 53 24 4c b0 |.eX...J*r...S$L.|
00000100 01 4e 02 |.N.|
00000030 6f ec 80 83 61 69 c5 a3 b0 d3 be 06 98 78 ef 8e |o...ai.......x..|
00000040 7e 7c 3a 28 a1 54 e5 e3 51 bf f1 ef 57 0a fd b9 |~|:(.T..Q...W...|
00000050 fb 02 61 ed 27 2b cf fc 0c d9 eb 7a 9e 79 a5 02 |..a.'+.....z.y..|
00000060 8a 84 f2 26 b2 33 94 03 f7 13 3c da f7 16 f1 f5 |...&.3....<.....|
00000070 74 95 9d d2 20 05 ab d3 cb 62 af 5a 97 d1 99 bd |t... ....b.Z....|
00000080 e5 70 48 36 73 bf 2e 14 03 03 00 01 01 16 03 03 |.pH6s...........|
00000090 00 28 00 00 00 00 00 00 00 00 fd fc dc fd c2 ee |.(..............|
000000a0 29 c8 b9 87 fc d1 fc ae 8b 71 24 20 75 35 eb a9 |)........q$ u5..|
000000b0 df 54 72 2c 6e 53 f7 9b 25 c9 17 03 03 00 25 00 |.Tr,nS..%.....%.|
000000c0 00 00 00 00 00 00 01 91 5a 43 e7 eb f1 72 f5 fa |........ZC...r..|
000000d0 6d c0 c1 63 47 2e c9 11 d7 20 2d db 0c 98 08 46 |m..cG.... -....F|
000000e0 7b c8 d7 0e 15 03 03 00 1a 00 00 00 00 00 00 00 |{...............|
000000f0 02 a0 60 01 85 aa 70 e8 3a ff 89 fc 06 ac 58 a1 |..`...p.:.....X.|
00000100 43 6e ba |Cn.|