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
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 d7 12 82 dd 63 |....]...Y......c|
|
||||
00000010 23 f8 ad 94 0d f4 8a c7 8c b3 55 99 6a 6d d7 f6 |#.........U.jm..|
|
||||
00000020 d5 f5 5b 7c b0 20 ee ed 3b 04 c0 00 00 04 00 2f |..[|. ..;....../|
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 6e 8f fe 9e 99 |....]...Y..n....|
|
||||
00000010 2c 27 44 3b b6 f0 f9 d9 dc 9a 5c 2a 73 24 54 85 |,'D;......\*s$T.|
|
||||
00000020 71 9b 2a be 33 0c a5 64 4f 4b d4 00 00 04 00 2f |q.*.3..dOK...../|
|
||||
00000030 00 ff 01 00 00 2c 00 0d 00 20 00 1e 06 01 06 02 |.....,... ......|
|
||||
00000040 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................|
|
||||
00000050 03 02 03 03 02 01 02 02 02 03 00 16 00 00 00 17 |................|
|
||||
|
@ -85,40 +85,40 @@
|
|||
000001e0 be e8 91 b3 da 1a f5 5d a3 23 f5 26 8b 45 70 8d |.......].#.&.Ep.|
|
||||
000001f0 65 62 9b 7e 01 99 3d 18 f6 10 9a 38 61 9b 2e 57 |eb.~..=....8a..W|
|
||||
00000200 e4 fa cc b1 8a ce e2 23 a0 87 f0 e1 67 51 eb 16 |.......#....gQ..|
|
||||
00000210 03 03 00 86 10 00 00 82 00 80 b1 97 e3 ae b9 19 |................|
|
||||
00000220 17 f8 a8 98 30 6c 4b 53 a0 44 c9 8a ad b4 6a 2c |....0lKS.D....j,|
|
||||
00000230 19 c8 96 88 dd 9d 00 7b 7f f3 d7 c8 5d 87 86 49 |.......{....]..I|
|
||||
00000240 52 fb 3c d5 68 b5 75 dd de 9e 19 2f e2 ed 0c a6 |R.<.h.u..../....|
|
||||
00000250 05 12 29 b6 e8 16 af ef 6e f9 b4 c3 86 6e 0c 65 |..).....n....n.e|
|
||||
00000260 9a 9d 1e 52 98 4f e3 b1 a1 c3 d5 9d ea 90 ab 69 |...R.O.........i|
|
||||
00000270 e7 1c 37 5e c8 a2 d9 50 dd b3 00 fe b2 a1 6a 05 |..7^...P......j.|
|
||||
00000280 62 61 2e 89 fa ad b6 9f a4 74 27 f8 bd ba ee 41 |ba.......t'....A|
|
||||
00000290 2a 44 82 31 86 9a 58 43 b1 bc 16 03 03 00 93 0f |*D.1..XC........|
|
||||
000002a0 00 00 8f 04 03 00 8b 30 81 88 02 42 01 f3 07 47 |.......0...B...G|
|
||||
000002b0 ea f9 5c 44 67 6e 37 d5 63 c0 df 91 3a cb a5 1b |..\Dgn7.c...:...|
|
||||
000002c0 0f e4 f2 36 56 19 49 84 88 8e 4d bf e4 ba 2f 47 |...6V.I...M.../G|
|
||||
000002d0 f8 d8 96 2e 8c 41 3a 4f 42 a8 4c f1 06 1d 8f 9b |.....A:OB.L.....|
|
||||
000002e0 62 be 3d c3 e9 7e 68 f9 39 b6 88 cf 1a 56 02 42 |b.=..~h.9....V.B|
|
||||
000002f0 00 8f de d5 78 72 56 f0 ef 92 fb 96 2b 4a f7 14 |....xrV.....+J..|
|
||||
00000300 36 89 a5 36 73 78 c0 e9 e0 e6 3b 8b 45 9a 13 e5 |6..6sx....;.E...|
|
||||
00000310 a8 21 d3 63 e0 03 37 92 6f c7 71 b9 64 55 05 04 |.!.c..7.o.q.dU..|
|
||||
00000320 89 d4 e1 af 3e 8f ee 1c 52 67 b8 c5 78 ca 54 0f |....>...Rg..x.T.|
|
||||
00000330 4d 5f 14 03 03 00 01 01 16 03 03 00 40 d6 87 b0 |M_..........@...|
|
||||
00000340 39 ff 10 da 8b 36 e9 11 84 84 ae c3 f2 83 1d fd |9....6..........|
|
||||
00000350 86 ff 03 b9 0f c0 6d 10 8b 40 1b 30 96 ce 7f a8 |......m..@.0....|
|
||||
00000360 5a b2 a8 0a 46 81 cc 9b 14 bf 62 8b b2 f1 5c 22 |Z...F.....b...\"|
|
||||
00000370 47 75 cb 44 d6 a1 a2 6a 94 2b 25 54 9d |Gu.D...j.+%T.|
|
||||
00000210 03 03 00 86 10 00 00 82 00 80 01 5a 87 e9 2e 55 |...........Z...U|
|
||||
00000220 20 98 fa f9 aa 05 bb 1a 91 dc 48 df f6 df 89 c7 | .........H.....|
|
||||
00000230 a5 8e 5b 8b 22 b1 ea 7c b3 7e 1a 17 4c 85 33 26 |..[."..|.~..L.3&|
|
||||
00000240 e3 f5 23 f7 1f 68 8c 07 92 13 c1 57 6c bc 54 b0 |..#..h.....Wl.T.|
|
||||
00000250 a5 d5 bc 98 d3 c2 1e 05 c8 e4 76 3e fc 99 bd 64 |..........v>...d|
|
||||
00000260 b6 92 86 bb c5 00 38 2e 1e 31 d2 ae ac 35 23 fa |......8..1...5#.|
|
||||
00000270 91 0e 37 75 61 7b 95 a6 27 12 3c b2 92 9a db 36 |..7ua{..'.<....6|
|
||||
00000280 c1 74 f7 60 f9 ad 15 27 62 e2 8b 8a 98 b8 d5 80 |.t.`...'b.......|
|
||||
00000290 72 23 6d 7c f2 50 50 bd 4b 18 16 03 03 00 93 0f |r#m|.PP.K.......|
|
||||
000002a0 00 00 8f 04 03 00 8b 30 81 88 02 42 01 54 cf 40 |.......0...B.T.@|
|
||||
000002b0 89 32 38 70 58 26 f8 fa 7c 7b 19 22 d8 17 49 73 |.28pX&..|{."..Is|
|
||||
000002c0 d3 8d 7b 33 67 cc 70 5b 62 03 6e 8f 46 6f 67 c9 |..{3g.p[b.n.Fog.|
|
||||
000002d0 be a2 ef 13 46 97 e0 7c 5b 92 2e 44 7a 13 1f bc |....F..|[..Dz...|
|
||||
000002e0 87 e0 f3 fd 20 d7 f1 d5 a3 5e df 6a bc 9b 02 42 |.... ....^.j...B|
|
||||
000002f0 00 83 a6 28 27 3e 0c a4 1e 4e 8e 10 a0 66 8d f8 |...('>...N...f..|
|
||||
00000300 fc 5a d9 02 23 6a 27 cc 0c 71 50 0d 3e 82 8d 82 |.Z..#j'..qP.>...|
|
||||
00000310 4d e4 02 0b b0 b7 46 b6 08 9e a3 79 96 6e 5e 5a |M.....F....y.n^Z|
|
||||
00000320 d3 8a 79 d5 6f 0f a7 31 5c 3f d5 a1 a0 88 b8 41 |..y.o..1\?.....A|
|
||||
00000330 d7 70 14 03 03 00 01 01 16 03 03 00 40 ef 8f 04 |.p..........@...|
|
||||
00000340 5a 8a 16 32 69 4c 41 de 87 4f 08 01 c1 61 2a 0c |Z..2iLA..O...a*.|
|
||||
00000350 c4 c6 4c 52 41 71 14 d2 b4 4f 3d 70 d7 55 f2 9f |..LRAq...O=p.U..|
|
||||
00000360 28 8b 37 7a f4 f7 de 9f 57 c5 44 b1 91 43 a3 9c |(.7z....W.D..C..|
|
||||
00000370 5f 19 d6 6b c6 71 5f 61 a2 4d 45 c5 ff |_..k.q_a.ME..|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 85 e3 d1 d9 d5 |................|
|
||||
00000020 65 15 4f 6b 60 52 11 4f a8 dd 8a f6 86 77 34 9a |e.Ok`R.O.....w4.|
|
||||
00000030 20 1c b6 08 21 8a 58 6a ad 7f 78 1b 61 18 a5 9e | ...!.Xj..x.a...|
|
||||
00000040 58 56 14 12 5c e7 3e bc 53 66 c5 17 03 03 00 40 |XV..\.>.Sf.....@|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 d1 52 a9 0b 1c |............R...|
|
||||
00000020 ba 60 c1 93 59 a0 d7 1e 95 bb 84 fe bc 76 15 1e |.`..Y........v..|
|
||||
00000030 72 1f c0 a2 7a be a4 8c 60 f3 f3 78 81 16 26 8c |r...z...`..x..&.|
|
||||
00000040 d7 83 e4 4f 06 ba 6c 72 7d a7 fa 17 03 03 00 40 |...O..lr}......@|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000060 88 a3 55 9e 29 cc 97 6a b9 67 94 2b 22 c4 2b 24 |..U.)..j.g.+".+$|
|
||||
00000070 22 3c af 8d b4 20 03 73 3d 9d d6 d7 42 f8 22 0d |"<... .s=...B.".|
|
||||
00000080 bf 9a d0 70 42 7b 7b 6f 3f 2e d8 9b 59 8b eb 5f |...pB{{o?...Y.._|
|
||||
00000060 7e 9c b9 e4 f1 a6 87 0c ce d8 f0 eb 37 fc aa 57 |~...........7..W|
|
||||
00000070 5f 98 d6 b5 5e 9a 82 6c 19 80 ba 36 93 c0 67 42 |_...^..l...6..gB|
|
||||
00000080 57 88 d7 3f 66 f1 15 09 3c 40 16 bc 9f c4 8c 54 |W..?f...<@.....T|
|
||||
00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
000000a0 00 00 00 00 00 64 b3 8c 5a 16 0d bf 69 66 05 58 |.....d..Z...if.X|
|
||||
000000b0 d0 5d 67 a7 29 0c ec e1 f4 99 6f c6 96 de 4e a2 |.]g.).....o...N.|
|
||||
000000c0 55 6d 33 b5 58 |Um3.X|
|
||||
000000a0 00 00 00 00 00 b1 fc ed bd 8b d8 f7 1c a6 65 6a |..............ej|
|
||||
000000b0 85 03 6b ab ee d6 df 8d e7 69 9f a1 ac fc 4d 2e |..k......i....M.|
|
||||
000000c0 07 a4 ec fc ec |.....|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue