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-IssueTicket
vendored
68
testdata/Server-TLSv12-IssueTicket
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 7f 9d 96 78 84 |....a...].....x.|
|
||||
00000010 4f a7 cd c1 26 60 84 3f d6 e6 06 ca 01 12 69 07 |O...&`.?......i.|
|
||||
00000020 cc cf 91 61 9a 7e 4c c7 e5 73 29 00 00 04 00 2f |...a.~L..s)..../|
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 23 70 bb 15 df |....a...]..#p...|
|
||||
00000010 ba a2 24 4c 6a 3f 34 0c 75 40 a6 ee 11 1c 7e 74 |..$Lj?4.u@....~t|
|
||||
00000020 7e 7f 01 51 97 c3 de 3e d4 e0 c1 00 00 04 00 2f |~..Q...>......./|
|
||||
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 48 95 70 68 ee |...........H.ph.|
|
||||
00000010 93 9a 44 8c c7 53 48 06 13 2f fc f7 5f a2 84 53 |..D..SH../.._..S|
|
||||
00000020 0e 60 15 c2 2a d1 75 99 77 89 74 70 9b e9 96 95 |.`..*.u.w.tp....|
|
||||
00000030 82 0e 02 49 e6 f5 2e 79 b6 a9 42 63 89 de d6 f9 |...I...y..Bc....|
|
||||
00000040 77 d2 ed d2 8b ac 45 d3 10 14 92 4b 20 06 b8 7e |w.....E....K ..~|
|
||||
00000050 91 9c 3b 71 25 75 d6 44 75 7b 2e 07 a0 d2 06 56 |..;q%u.Du{.....V|
|
||||
00000060 6f 39 c0 1e d6 3c b2 4b ce 5d 51 ee 9a 1a 72 bd |o9...<.K.]Q...r.|
|
||||
00000070 cf ba f3 db 09 92 7a cd 35 ec e9 5c 80 ab d3 b8 |......z.5..\....|
|
||||
00000080 13 51 75 a7 3a 5e 95 10 31 4c 4a 14 03 03 00 01 |.Qu.:^..1LJ.....|
|
||||
00000090 01 16 03 03 00 40 6a 2b e6 c9 1a 30 dc 68 66 55 |.....@j+...0.hfU|
|
||||
000000a0 61 5e 78 15 5c 3f 1c c2 57 ae 98 62 2f fc 27 64 |a^x.\?..W..b/.'d|
|
||||
000000b0 fa a9 10 f7 6d 66 44 4b 50 89 b5 5f a6 7f 96 9b |....mfDKP.._....|
|
||||
000000c0 07 8f ed f9 cf ea 27 c8 7f 1d 08 c9 68 17 0e 05 |......'.....h...|
|
||||
000000d0 73 90 0b 86 6d 9a |s...m.|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 ce 22 39 8f e2 |............"9..|
|
||||
00000010 00 3a 42 d3 2c 0f 60 59 3d 7c 51 02 88 ae dd 49 |.:B.,.`Y=|Q....I|
|
||||
00000020 b2 c3 6b c4 9a 1d 97 b1 07 bc 84 70 32 95 6d 8a |..k........p2.m.|
|
||||
00000030 2f 01 48 29 96 d1 a4 c9 e9 12 9e 31 11 d5 22 21 |/.H).......1.."!|
|
||||
00000040 86 b6 8d a1 7e 8f ad be 9e a9 7f 64 f6 b4 07 be |....~......d....|
|
||||
00000050 f3 a0 34 af 7f 9f 73 70 16 24 2f ae f2 8a bb 51 |..4...sp.$/....Q|
|
||||
00000060 34 4a ed 1e 53 32 cb b3 b8 84 b1 0e 79 c1 5b 9e |4J..S2......y.[.|
|
||||
00000070 6c 61 08 6f 9b dd a5 c7 b1 fb 8f ce e2 37 79 39 |la.o.........7y9|
|
||||
00000080 1c 6a 57 60 91 89 53 25 b5 9b 41 14 03 03 00 01 |.jW`..S%..A.....|
|
||||
00000090 01 16 03 03 00 40 b0 f3 19 1f 2b 96 7f 05 72 a9 |.....@....+...r.|
|
||||
000000a0 21 48 d8 77 7f d3 e0 39 e6 58 8f 8d 06 b1 bd 9e |!H.w...9.X......|
|
||||
000000b0 53 6a cd 5b 52 a8 2f a5 7c fb 6a b4 88 f7 b2 c4 |Sj.[R./.|.j.....|
|
||||
000000c0 a7 a8 69 fe a9 ae 07 4e 4f 11 6d 51 55 0c 10 7c |..i....NO.mQU..||
|
||||
000000d0 9c 31 a7 45 3c 0f |.1.E<.|
|
||||
>>> 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 ba 85 c2 4f 82 f7 76 6c 2f 9d 4c |o,..a...O..vl/.L|
|
||||
00000040 16 0e 46 88 f4 1b 1b 35 62 9c c7 e6 0e 44 a4 62 |..F....5b....D.b|
|
||||
00000050 8c 1e 2d 53 f3 8b cd a6 ca dc 12 52 b4 43 a9 d0 |..-S.......R.C..|
|
||||
00000060 16 4c 9a f7 a6 33 94 f7 58 26 2b 75 74 62 e3 11 |.L...3..X&+utb..|
|
||||
00000070 dc f6 40 b0 ab 32 8b 79 63 d1 7e d8 9f db cf cf |..@..2.yc.~.....|
|
||||
00000080 25 29 ea e9 89 43 39 14 03 03 00 01 01 16 03 03 |%)...C9.........|
|
||||
00000030 6f 2c 9f 83 61 f0 a9 9a d5 65 c7 25 32 9d 86 4e |o,..a....e.%2..N|
|
||||
00000040 fb 8e 2a dd 84 8d 32 6d 6b f0 a9 de 59 fa 15 20 |..*...2mk...Y.. |
|
||||
00000050 7a 85 cd 2e 42 e1 f3 44 62 6c 24 24 e7 1f b6 fa |z...B..Dbl$$....|
|
||||
00000060 4d 8a cd 30 83 33 94 65 b6 e2 01 d8 fb a0 37 ca |M..0.3.e......7.|
|
||||
00000070 87 59 a4 29 cf d9 85 7c 54 2f 2d 5d 73 69 9a ae |.Y.)...|T/-]si..|
|
||||
00000080 6f 85 29 8b c3 eb 97 14 03 03 00 01 01 16 03 03 |o.).............|
|
||||
00000090 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
|
||||
000000a0 00 00 a7 14 ba 74 9a 16 b9 cf 08 ec c6 6e d2 fd |.....t.......n..|
|
||||
000000b0 39 92 5d b0 2e 38 35 80 7b 94 fb e4 63 e0 01 0b |9.]..85.{...c...|
|
||||
000000c0 40 a9 61 56 cc 31 44 7f aa c7 91 03 46 55 6a c8 |@.aV.1D.....FUj.|
|
||||
000000d0 c0 d0 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |......@.........|
|
||||
000000e0 00 00 00 00 00 00 00 e3 eb 91 1a 2d 03 f7 bf 29 |...........-...)|
|
||||
000000f0 64 93 36 4e a1 d0 12 86 63 bc 08 ca b1 98 b0 b9 |d.6N....c.......|
|
||||
00000100 d1 4d 65 42 92 68 34 db bd 1b 2b f4 73 8f 84 0c |.MeB.h4...+.s...|
|
||||
00000110 89 aa af b6 48 b5 5d 15 03 03 00 30 00 00 00 00 |....H.]....0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 92 00 e5 db |................|
|
||||
00000130 4d d0 77 51 0d 26 de 48 9b 4f cd 33 9b 33 ca fd |M.wQ.&.H.O.3.3..|
|
||||
00000140 e2 d3 ff 0d 7f db 9e 0f 3e a8 50 94 |........>.P.|
|
||||
000000a0 00 00 28 59 a1 a9 c9 27 e0 1d ff c1 18 37 83 6f |..(Y...'.....7.o|
|
||||
000000b0 5d 48 af a3 6b 5e b0 d7 54 46 49 e8 6d be 73 74 |]H..k^..TFI.m.st|
|
||||
000000c0 fa a3 80 df 41 ce 6a 43 ee b9 ec a4 cc 24 e8 a9 |....A.jC.....$..|
|
||||
000000d0 1f 3a 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |.:....@.........|
|
||||
000000e0 00 00 00 00 00 00 00 e8 7d 83 df d2 6e 2b 00 cc |........}...n+..|
|
||||
000000f0 4b fd 3c 20 4e 84 b3 b6 31 e5 47 ab 3f 45 81 f8 |K.< N...1.G.?E..|
|
||||
00000100 d3 a9 2f 07 9a 45 5a c5 cb 8a 68 ee d9 20 78 72 |../..EZ...h.. xr|
|
||||
00000110 8c a0 be 3d 3b 46 56 15 03 03 00 30 00 00 00 00 |...=;FV....0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 d7 b5 17 2a |...............*|
|
||||
00000130 14 69 7e f7 c7 9a 0c 66 56 19 d1 e3 d4 6b ef 27 |.i~....fV....k.'|
|
||||
00000140 d3 a7 ce 96 d8 2a 20 38 8a b5 50 f8 |.....* 8..P.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue