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 00 5b 01 00 00 57 03 03 23 82 04 e6 b7 |....[...W..#....|
00000010 a4 1e 2c 61 ae c0 cd ef d3 2a 30 0b d7 19 88 16 |..,a.....*0.....|
00000020 e3 af 68 6c 45 83 df f5 02 b0 43 00 00 04 00 05 |..hlE.....C.....|
00000000 16 03 01 00 5b 01 00 00 57 03 03 de ba cc 44 30 |....[...W.....D0|
00000010 69 67 7f 91 d6 08 2c d0 1f 5c 60 d5 a5 76 c7 15 |ig....,..\`..v..|
00000020 fd fd 83 a0 20 b3 63 c1 ed 06 d3 00 00 04 00 05 |.... .c.........|
00000030 00 ff 02 01 00 00 29 00 0d 00 20 00 1e 06 01 06 |......)... .....|
00000040 02 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 |................|
00000050 01 03 02 03 03 02 01 02 02 02 03 00 0f 00 01 01 |................|
@ -53,9 +53,9 @@
000002c0 50 56 5c d5 82 5a 2d 5a 5f 33 c4 b6 d8 c9 75 90 |PV\..Z-Z_3....u.|
000002d0 96 8c 0f 52 98 b5 cd 98 1f 89 20 5f f2 a0 1c a3 |...R...... _....|
000002e0 1b 96 94 dd a9 fd 57 e9 70 e8 26 6d 71 99 9b 26 |......W.p.&mq..&|
000002f0 6e 38 50 29 6c 90 a7 bd d9 16 03 03 00 13 0d 00 |n8P)l...........|
00000300 00 0f 02 01 40 00 08 04 01 04 03 02 01 02 03 00 |....@...........|
00000310 00 16 03 03 00 04 0e 00 00 00 |..........|
000002f0 6e 38 50 29 6c 90 a7 bd d9 16 03 03 00 17 0d 00 |n8P)l...........|
00000300 00 13 02 01 40 00 0c 04 01 04 03 05 01 05 03 02 |....@...........|
00000310 01 02 03 00 00 16 03 03 00 04 0e 00 00 00 |..............|
>>> Flow 3 (client to server)
00000000 16 03 03 01 fb 0b 00 01 f7 00 01 f4 00 01 f1 30 |...............0|
00000010 82 01 ed 30 82 01 58 a0 03 02 01 02 02 01 00 30 |...0..X........0|
@ -89,32 +89,32 @@
000001d0 8b ec ab 67 be c8 64 b0 11 50 46 58 17 6b 99 1c |...g..d..PFX.k..|
000001e0 d3 1d fc 06 f1 0e e5 96 a8 0c f9 78 20 b7 44 18 |...........x .D.|
000001f0 51 8d 10 7e 4f 94 67 df a3 4e 70 73 8e 90 91 85 |Q..~O.g..Nps....|
00000200 16 03 03 00 86 10 00 00 82 00 80 a9 2f ef 94 68 |............/..h|
00000210 e5 de 70 a0 f6 ef 70 e6 db 01 69 b1 0b e6 ee 21 |..p...p...i....!|
00000220 48 e0 39 28 4d 19 61 b4 67 9d e6 a1 c5 93 49 b4 |H.9(M.a.g.....I.|
00000230 5c ed 60 72 1a 01 aa b3 21 18 47 20 f0 0b cd e7 |\.`r....!.G ....|
00000240 68 fa ca 35 65 86 06 42 9c 36 45 f3 36 42 17 88 |h..5e..B.6E.6B..|
00000250 9f 0b 0b 99 35 28 d4 98 a3 86 4d 55 0b d0 2c 31 |....5(....MU..,1|
00000260 64 d6 ce e4 50 a5 4e d6 a4 4b 9c b8 d2 4a 35 61 |d...P.N..K...J5a|
00000270 0d f0 28 ad 96 91 59 04 5c 55 5a 0b 2d 12 a1 d1 |..(...Y.\UZ.-...|
00000280 60 e8 55 a2 90 55 9a 55 ad 1d 05 16 03 03 00 88 |`.U..U.U........|
00000290 0f 00 00 84 04 01 00 80 0f 8a 5c 80 aa 8e d3 c9 |..........\.....|
000002a0 2c 97 a1 0b 0c 54 b4 66 4e 92 59 89 4e 3b 58 71 |,....T.fN.Y.N;Xq|
000002b0 e0 d7 5a 5a 85 90 de 1e b2 61 1b 0b f1 a2 1c d6 |..ZZ.....a......|
000002c0 02 44 da 1e 10 fd 41 62 3f 11 13 0f 59 43 40 cb |.D....Ab?...YC@.|
000002d0 f4 6a e4 c9 a7 f4 20 be d2 8c ac cb b9 24 40 51 |.j.... ......$@Q|
000002e0 a9 83 c5 a9 34 b2 16 e2 4a 7b 0f d1 df a0 fc 15 |....4...J{......|
000002f0 85 89 0c f7 5a bc bb c6 90 da e2 81 c3 c5 4d 58 |....Z.........MX|
00000300 f3 04 73 8f ab 03 39 e5 88 52 bd 3a bd ca 0a 09 |..s...9..R.:....|
00000310 23 36 68 dc b3 2b 1b 07 14 03 03 00 01 01 16 03 |#6h..+..........|
00000320 03 00 24 64 3e ca cf ab 6e 8b 5e 2d bb b0 09 55 |..$d>...n.^-...U|
00000330 68 c6 88 08 25 15 fc a5 6c 95 9a d8 b4 58 f9 a3 |h...%...l....X..|
00000340 55 a0 92 c2 08 72 1c |U....r.|
00000200 16 03 03 00 86 10 00 00 82 00 80 6c 19 7b fb 96 |...........l.{..|
00000210 52 57 c1 8b 78 72 4b 67 c9 66 ce 61 71 6c 83 90 |RW..xrKg.f.aql..|
00000220 56 90 fc bc 40 41 12 30 bf 3f 20 58 75 3d 31 45 |V...@A.0.? Xu=1E|
00000230 67 61 57 fc 0f 48 1d e1 a4 ec 75 4d bc e3 09 62 |gaW..H....uM...b|
00000240 98 8e 40 cb 53 cb 97 31 32 b7 20 f3 dd 5d 29 62 |..@.S..12. ..])b|
00000250 90 18 94 98 84 d8 42 34 fc a4 35 80 55 46 32 a1 |......B4..5.UF2.|
00000260 6f 0e d2 33 c3 53 6a 46 87 74 fd 68 15 35 b8 c4 |o..3.SjF.t.h.5..|
00000270 2b da b4 55 9c 6e 87 94 01 6a 72 12 8a 01 8a 37 |+..U.n...jr....7|
00000280 ac 5b d7 55 27 40 58 fc 0d 30 12 16 03 03 00 88 |.[.U'@X..0......|
00000290 0f 00 00 84 04 01 00 80 06 71 c6 af f8 53 b9 eb |.........q...S..|
000002a0 9a 99 44 fa 65 dc af cc 69 b4 cf 10 fc b0 f2 33 |..D.e...i......3|
000002b0 da 8a 3f cb f1 8d 51 ae 90 7d f3 02 57 0e ea b9 |..?...Q..}..W...|
000002c0 37 2d 2e dc ad 89 44 04 4f 21 04 44 54 9f 9e 92 |7-....D.O!.DT...|
000002d0 7e b7 4c 53 b8 3c 89 c0 c1 1e f7 df cc c6 2f 76 |~.LS.<......../v|
000002e0 be 91 bc a0 4d c7 e1 df 9d 19 e3 0d ab 17 e4 d4 |....M...........|
000002f0 c3 4c 75 e2 71 5c a3 df 9a 17 82 38 2a 4b f8 ae |.Lu.q\.....8*K..|
00000300 ad 13 a7 f3 13 f8 72 78 49 fe 80 d9 bd 77 a3 48 |......rxI....w.H|
00000310 43 a7 76 00 15 1a 14 5d 14 03 03 00 01 01 16 03 |C.v....]........|
00000320 03 00 24 1d 80 33 0a 75 ae d5 13 d5 46 f9 89 3d |..$..3.u....F..=|
00000330 15 95 f2 c5 2d c5 e0 7f cc 6e d7 36 9f 72 d6 74 |....-....n.6.r.t|
00000340 7b c1 4f ed 89 ff c1 |{.O....|
>>> Flow 4 (server to client)
00000000 14 03 03 00 01 01 16 03 03 00 24 4e b8 9c fd 56 |..........$N...V|
00000010 81 68 9d 5a 41 5c 53 f9 10 a5 d0 8e 93 79 4e 87 |.h.ZA\S......yN.|
00000020 f8 92 09 09 0f ea 04 08 e8 14 e1 8a 0b f8 23 17 |..............#.|
00000030 03 03 00 21 1f 22 bc 5a ce d7 5e ca c4 d3 be f5 |...!.".Z..^.....|
00000040 d4 f6 4e b9 aa 10 be d3 b6 a9 ad 3e f5 f6 69 fd |..N........>..i.|
00000050 23 a8 cd e2 4d 15 03 03 00 16 29 1d 72 73 aa 62 |#...M.....).rs.b|
00000060 c7 ac 8b 19 8f 72 27 b2 12 ac ce 72 2c c4 47 19 |.....r'....r,.G.|
00000000 14 03 03 00 01 01 16 03 03 00 24 6c f7 56 21 17 |..........$l.V!.|
00000010 3d d6 ad 06 34 a6 0d a0 22 b6 26 38 a2 b2 39 52 |=...4...".&8..9R|
00000020 8a cb 0e 5b b2 f6 32 b2 da 71 8a 72 13 40 f2 17 |...[..2..q.r.@..|
00000030 03 03 00 21 69 bc 35 92 9c 17 4d aa ce 85 35 35 |...!i.5...M...55|
00000040 98 8e c3 ff fd 36 9b 47 dd a7 85 8a 20 05 05 b8 |.....6.G.... ...|
00000050 87 31 66 41 a0 15 03 03 00 16 e9 28 e0 39 fe da |.1fA.......(.9..|
00000060 b1 0a c3 22 cf 9e 33 60 b9 52 18 ad 03 c8 ee 6b |..."..3`.R.....k|