crypto/tls: enable X25519 by default.

Since this changes the offered curves in the ClientHello, all the test
data needs to be updated too.

Change-Id: I227934711104349c0f0eab11d854e5a2adcbc363
Reviewed-on: https://go-review.googlesource.com/30825
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Adam Langley 2016-10-11 15:08:35 -07:00
parent 6bcda018f7
commit 46e9439117
63 changed files with 2757 additions and 2875 deletions

View file

@ -1,7 +1,7 @@
>>> Flow 1 (client to server)
00000000 16 03 01 00 39 01 00 00 35 03 02 63 e6 95 c1 f3 |....9...5..c....|
00000010 75 c2 d4 68 74 5c d6 7d 00 60 8b 8e 72 ff f4 3d |u..ht\.}.`..r..=|
00000020 15 24 8b 15 8e 15 6e 1e bf 47 ae 00 00 04 00 05 |.$....n..G......|
00000000 16 03 01 00 39 01 00 00 35 03 02 b3 b4 1f 1a fe |....9...5.......|
00000010 f1 01 25 aa 2c 22 0d 6f be 5d 46 a1 81 21 46 ad |..%.,".o.]F..!F.|
00000020 20 59 17 b9 81 f8 f6 1d 51 a5 86 00 00 04 00 05 | Y......Q.......|
00000030 00 ff 01 00 00 08 00 16 00 00 00 17 00 00 |..............|
>>> Flow 2 (server to client)
00000000 16 03 02 00 31 02 00 00 2d 03 02 00 00 00 00 00 |....1...-.......|
@ -47,23 +47,23 @@
00000280 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.|
00000290 3b e9 fa e7 16 03 02 00 04 0e 00 00 00 |;............|
>>> Flow 3 (client to server)
00000000 16 03 02 00 86 10 00 00 82 00 80 d7 54 f9 63 0f |............T.c.|
00000010 8e 38 e7 f7 2c 35 69 18 ae b0 54 ac 55 a9 8e c1 |.8..,5i...T.U...|
00000020 e1 f7 09 b8 6d aa 2d 3e f5 be 2d 2e 1c f2 e4 95 |....m.->..-.....|
00000030 3e c3 6a 15 af 49 e8 38 3b e2 90 3f df ab 89 44 |>.j..I.8;..?...D|
00000040 34 63 f9 c5 47 a5 30 3c 45 5d 16 23 0d d6 d5 e6 |4c..G.0<E].#....|
00000050 9d e7 90 ee 9a b8 bc c9 49 7d 85 00 da 53 5b cb |........I}...S[.|
00000060 2f 19 56 31 64 4f 9a ce 15 02 4d ee 67 7c be 9a |/.V1dO....M.g|..|
00000070 c5 5f 21 c7 a7 1f 29 56 ee ab ce 07 ff a2 6e 94 |._!...)V......n.|
00000080 57 da 74 9d d7 63 82 43 b0 e6 48 14 03 02 00 01 |W.t..c.C..H.....|
00000090 01 16 03 02 00 24 88 75 fb e9 20 0b 3b c7 fb 4a |.....$.u.. .;..J|
000000a0 2f 1c 54 76 3d 8c 14 6e c0 1e 56 6e ce ce 4f a9 |/.Tv=..n..Vn..O.|
000000b0 f5 bd f9 9b 25 18 bd de 18 86 |....%.....|
00000000 16 03 02 00 86 10 00 00 82 00 80 bc 7a 1c d7 e5 |............z...|
00000010 b1 c8 4d 94 b6 92 d5 e4 4a 46 f5 ae 54 a8 c5 09 |..M.....JF..T...|
00000020 bb 4b aa 27 73 31 fe c7 ee 98 69 ec 34 8c 29 1e |.K.'s1....i.4.).|
00000030 41 97 af db 17 c1 27 df 6f 1f 96 31 d0 f1 92 94 |A.....'.o..1....|
00000040 32 b4 ce 79 79 55 1c 07 99 21 60 af dd 66 31 03 |2..yyU...!`..f1.|
00000050 2b ac b6 83 09 77 7b 44 50 21 9c d3 c6 f7 9f 47 |+....w{DP!.....G|
00000060 f0 88 91 16 6e 75 a9 f9 67 9a f3 a1 82 64 eb 61 |....nu..g....d.a|
00000070 1a 01 03 e5 f8 18 12 ef ac 51 e1 5f 2c 6d 39 dd |.........Q._,m9.|
00000080 97 a5 c5 0d a9 65 b3 9d 47 98 84 14 03 02 00 01 |.....e..G.......|
00000090 01 16 03 02 00 24 eb b8 87 0c 82 ab 86 d3 83 5c |.....$.........\|
000000a0 e0 b6 c2 f8 44 10 2f 31 30 b3 0a b2 a7 5a c3 dd |....D./10....Z..|
000000b0 1d c9 92 3a cf 62 5f af fd cb |...:.b_...|
>>> Flow 4 (server to client)
00000000 14 03 02 00 01 01 16 03 02 00 24 9b 7a 77 60 f7 |..........$.zw`.|
00000010 d3 a2 6f 51 c8 52 41 57 30 88 e0 5e e8 ec dd 36 |..oQ.RAW0..^...6|
00000020 61 cd 78 bf 03 e5 1d 95 09 75 0e b8 30 9d 5d 17 |a.x......u..0.].|
00000030 03 02 00 21 9e 7b fe b8 35 4e 86 6f c9 bd 92 4b |...!.{..5N.o...K|
00000040 28 59 a4 54 d9 ab 70 fe 95 1e 81 b2 ab 08 27 e6 |(Y.T..p.......'.|
00000050 c3 b2 c0 b9 8c 15 03 02 00 16 54 95 b1 e5 6e 0c |..........T...n.|
00000060 ff 80 15 30 b5 a7 5f ea 8e ab 49 d8 20 4a 80 f0 |...0.._...I. J..|
00000000 14 03 02 00 01 01 16 03 02 00 24 e3 de 71 0b 6a |..........$..q.j|
00000010 77 28 4a 44 6e da 3e 94 94 e8 f3 30 a0 2d a5 16 |w(JDn.>....0.-..|
00000020 84 02 2c 8e 8b 4f 3c 44 5d ec f0 fd de 5c b8 17 |..,..O<D]....\..|
00000030 03 02 00 21 94 f2 b2 63 cb 04 cd 70 96 ba b9 cd |...!...c...p....|
00000040 84 f2 d7 48 0e a1 bf df fc ab b1 20 f7 fb 78 a7 |...H....... ..x.|
00000050 16 59 b1 27 8c 15 03 02 00 16 4f 4c 97 9d 52 05 |.Y.'......OL..R.|
00000060 b8 cf 90 8a 32 ba 47 96 f6 3a 01 54 ac e6 1c 14 |....2.G..:.T....|