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