mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +03:00
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:
parent
6bcda018f7
commit
46e9439117
63 changed files with 2757 additions and 2875 deletions
68
testdata/Server-TLSv12-IssueTicketPreDisable
vendored
68
testdata/Server-TLSv12-IssueTicketPreDisable
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 10 94 97 3f c0 |....a...].....?.|
|
||||
00000010 47 0f c3 66 65 4e 8b 1b cc be b4 39 0f 8f d7 52 |G..feN.....9...R|
|
||||
00000020 88 e6 60 2c 2f 22 95 5b 08 e2 4a 00 00 04 00 2f |..`,/".[..J..../|
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 f3 a0 a9 e8 90 |....a...].......|
|
||||
00000010 a2 0e bd 78 fa c2 ad 27 d4 bd 3e 07 62 de 29 a0 |...x...'..>.b.).|
|
||||
00000020 0a c3 ca f0 7a f5 1f fb e8 8d 37 00 00 04 00 2f |....z.....7..../|
|
||||
00000030 00 ff 01 00 00 30 00 23 00 00 00 0d 00 20 00 1e |.....0.#..... ..|
|
||||
00000040 06 01 06 02 06 03 05 01 05 02 05 03 04 01 04 02 |................|
|
||||
00000050 04 03 03 01 03 02 03 03 02 01 02 02 02 03 00 16 |................|
|
||||
|
@ -51,39 +51,39 @@
|
|||
00000290 84 5c 21 d3 3b e9 fa e7 16 03 03 00 04 0e 00 00 |.\!.;...........|
|
||||
000002a0 00 |.|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 b5 e3 31 fc c3 |.............1..|
|
||||
00000010 22 4a 86 6d 04 2c 69 31 36 0f 74 72 58 3e a2 4e |"J.m.,i16.trX>.N|
|
||||
00000020 f4 d0 6f 78 ea d7 92 04 4a 93 e1 50 dd 30 f7 b6 |..ox....J..P.0..|
|
||||
00000030 6f 15 de 51 83 07 3b 93 60 ee 43 f2 41 0f 24 e5 |o..Q..;.`.C.A.$.|
|
||||
00000040 50 79 62 f8 85 09 86 13 a3 25 3e e4 6c 6b fa 0f |Pyb......%>.lk..|
|
||||
00000050 7d d9 f4 99 49 1d 67 12 77 06 9a 0c e7 bb 7c 82 |}...I.g.w.....|.|
|
||||
00000060 2f 74 fb f9 c7 93 89 0b 3e 5a a2 12 0a 91 23 6d |/t......>Z....#m|
|
||||
00000070 7e 51 ee b8 14 c8 b2 d9 19 7b fc 70 5a ba 2e 6e |~Q.......{.pZ..n|
|
||||
00000080 a2 98 64 31 7a af c0 17 52 fd e3 14 03 03 00 01 |..d1z...R.......|
|
||||
00000090 01 16 03 03 00 40 ef d5 01 2f c7 2c db 45 cf 6f |.....@.../.,.E.o|
|
||||
000000a0 9e af 3b ec ea 49 7f bf bf 30 29 6a 0c 36 3e da |..;..I...0)j.6>.|
|
||||
000000b0 9f 94 ef d2 85 41 9d b1 9f 69 9b 1a 24 be e6 d1 |.....A...i..$...|
|
||||
000000c0 c6 56 0e c9 89 6c 51 5d 9a 5c c7 ec e9 eb 84 c5 |.V...lQ].\......|
|
||||
000000d0 fd ab 12 5e 47 f5 |...^G.|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 57 a4 71 b3 2a |...........W.q.*|
|
||||
00000010 1a 97 ab 54 0f 92 de 70 97 6d fa e4 ac 5f eb 29 |...T...p.m..._.)|
|
||||
00000020 7a 4d 22 16 c1 29 a5 d0 13 dd 05 87 e9 b2 21 4d |zM"..)........!M|
|
||||
00000030 50 6d d9 39 ba ff 7d 41 a7 6b 80 dd af 6d 6f 9f |Pm.9..}A.k...mo.|
|
||||
00000040 cf a9 e7 4f 64 ab 9b 5a 44 39 ce 8d 6e a4 0b 42 |...Od..ZD9..n..B|
|
||||
00000050 61 15 28 7d 0b 53 a6 8e 15 0c e6 1c 13 09 fb 5d |a.(}.S.........]|
|
||||
00000060 cb 62 31 d3 ca 8d e4 74 6e 47 90 8a 76 60 7a 24 |.b1....tnG..v`z$|
|
||||
00000070 28 d2 1f 74 b4 cf 18 05 44 7a 87 28 76 c0 57 5a |(..t....Dz.(v.WZ|
|
||||
00000080 94 3f d5 af e8 86 ce 45 7a ea 22 14 03 03 00 01 |.?.....Ez.".....|
|
||||
00000090 01 16 03 03 00 40 33 1e 6b 67 3d 57 5c 82 39 58 |.....@3.kg=W\.9X|
|
||||
000000a0 d0 e9 54 cb 41 03 0c 4d db d0 a7 af a0 fd 56 a7 |..T.A..M......V.|
|
||||
000000b0 d0 88 27 e5 39 81 a8 ae b3 9b 0e 08 54 16 0a 1b |..'.9.......T...|
|
||||
000000c0 8e d5 52 80 4d 07 96 1a 64 d1 ac 93 71 43 5b 88 |..R.M...d...qC[.|
|
||||
000000d0 95 cc 32 ee fc b4 |..2...|
|
||||
>>> 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 2c 9f 83 61 67 87 d5 79 1d 56 b8 ca 6d e2 b0 |o,..ag..y.V..m..|
|
||||
00000040 2e a7 2e c9 d7 b3 5a de 91 3b 6f 30 a7 14 af d1 |......Z..;o0....|
|
||||
00000050 b4 af 5b 9e a0 65 e6 fe cd d3 77 f3 88 c6 cf 52 |..[..e....w....R|
|
||||
00000060 74 28 4b a2 14 33 94 9a e0 60 f2 0b df c5 58 4b |t(K..3...`....XK|
|
||||
00000070 56 46 52 6a 3a 83 15 89 c6 a9 31 83 83 ef 29 2a |VFRj:.....1...)*|
|
||||
00000080 9f c6 5f ba 8d 91 de 14 03 03 00 01 01 16 03 03 |.._.............|
|
||||
00000030 6f 2c 9f 83 61 60 24 85 1b 46 9d 93 96 8f 27 6f |o,..a`$..F....'o|
|
||||
00000040 bf 17 0e 2d 0d f1 3c 3d ce 85 b5 9c 8f 3a 6a c8 |...-..<=.....:j.|
|
||||
00000050 b4 e2 a1 03 c9 9c 34 72 d5 7e 60 d3 f3 f6 20 d6 |......4r.~`... .|
|
||||
00000060 0f 1b b9 18 0c 33 94 71 92 ec 74 0e eb a0 f7 ec |.....3.q..t.....|
|
||||
00000070 81 b3 d2 63 90 b8 0f d9 9e d2 12 aa b5 78 06 7f |...c.........x..|
|
||||
00000080 1b d3 33 fc d0 9c 73 14 03 03 00 01 01 16 03 03 |..3...s.........|
|
||||
00000090 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
|
||||
000000a0 00 00 86 9a 2e f8 cb 67 ef 2b 40 e7 4c 80 b7 ae |.......g.+@.L...|
|
||||
000000b0 da 1c 94 94 48 ec 21 80 b5 04 de fe a5 ee e0 a5 |....H.!.........|
|
||||
000000c0 54 71 54 60 9a c8 01 56 16 43 27 49 a0 01 7a e0 |TqT`...V.C'I..z.|
|
||||
000000d0 d5 af 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |......@.........|
|
||||
000000e0 00 00 00 00 00 00 00 71 88 56 13 c2 a6 d6 5b 95 |.......q.V....[.|
|
||||
000000f0 31 c6 39 30 47 f8 cf 03 07 51 4d 25 4f 7c f2 e2 |1.90G....QM%O|..|
|
||||
00000100 d5 94 02 8b 23 05 93 8c 23 ab 11 ca d8 30 27 37 |....#...#....0'7|
|
||||
00000110 0e 66 57 9c aa 01 d9 15 03 03 00 30 00 00 00 00 |.fW........0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 8d a5 38 52 |..............8R|
|
||||
00000130 5b 93 4a 59 72 8d ee d4 dd 9c e7 a1 5d 88 aa a0 |[.JYr.......]...|
|
||||
00000140 d0 35 ff 31 50 c7 4b ee 96 51 26 35 |.5.1P.K..Q&5|
|
||||
000000a0 00 00 0e 56 25 a5 d8 15 57 44 da da f4 9f 40 c9 |...V%...WD....@.|
|
||||
000000b0 e2 a4 73 7c 3c 14 61 b7 aa 25 cb a1 4a d8 da b3 |..s|<.a..%..J...|
|
||||
000000c0 07 68 d0 8b 01 30 51 ad f9 eb f6 0f a3 8c 59 97 |.h...0Q.......Y.|
|
||||
000000d0 33 81 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |3.....@.........|
|
||||
000000e0 00 00 00 00 00 00 00 86 da 95 d0 e5 86 ff 3c e2 |..............<.|
|
||||
000000f0 26 90 2b 55 28 1c 9f 4f 77 f8 dc e9 f7 90 a6 5d |&.+U(..Ow......]|
|
||||
00000100 e3 12 b2 16 36 bc d0 6e cc 96 99 06 56 81 d3 77 |....6..n....V..w|
|
||||
00000110 26 6d ce 48 74 87 61 15 03 03 00 30 00 00 00 00 |&m.Ht.a....0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 fb 58 84 41 |.............X.A|
|
||||
00000130 a0 c3 57 82 4b a2 bd 70 6f 63 a0 5e c9 6b 02 ea |..W.K..poc.^.k..|
|
||||
00000140 ce 64 b9 09 d3 50 d6 d6 df 2c 9a 4b |.d...P...,.K|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue