mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 12:37:35 +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 15 ae f7 7e 39 |....]...Y.....~9|
|
||||
00000010 6a 96 da d0 a0 58 44 b7 38 92 d7 4c 41 72 49 d3 |j....XD.8..LArI.|
|
||||
00000020 e8 65 74 4c 1c a0 1a de e5 03 53 00 00 04 00 2f |.etL......S..../|
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 94 e5 c5 27 21 |....]...Y.....'!|
|
||||
00000010 3f de 6d 5e 20 2f a9 54 9b db db fd 60 38 22 1e |?.m^ /.T....`8".|
|
||||
00000020 df 4a ba e7 40 4e e5 f1 64 58 fa 00 00 04 00 2f |.J..@N..dX...../|
|
||||
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 |................|
|
||||
|
@ -84,40 +84,40 @@
|
|||
000001d0 ac 11 b1 28 56 be 1d cd 61 62 84 09 bf d6 80 c6 |...(V...ab......|
|
||||
000001e0 45 8d 82 2c b4 d8 83 9b db c9 22 b7 2a 12 11 7b |E..,......".*..{|
|
||||
000001f0 fa 02 3b c1 c9 ff ea c9 9d a8 49 d3 95 d7 d5 0e |..;.......I.....|
|
||||
00000200 e5 35 16 03 03 00 86 10 00 00 82 00 80 20 d8 e1 |.5........... ..|
|
||||
00000210 b1 0a 0d a5 85 07 d9 45 a0 36 29 4e 37 b7 17 13 |.......E.6)N7...|
|
||||
00000220 b7 c4 52 a6 a0 55 3b ad ee 67 20 3f 96 76 d4 6d |..R..U;..g ?.v.m|
|
||||
00000230 bd 4c 76 23 e4 a3 df a8 1e 73 22 ce ca 99 02 39 |.Lv#.....s"....9|
|
||||
00000240 2f 75 3a 7d 60 7e c8 dd 9e 51 d6 f5 7b 14 b1 e4 |/u:}`~...Q..{...|
|
||||
00000250 1e ed 71 e0 26 99 41 68 0d d2 61 3e 5f 90 f1 58 |..q.&.Ah..a>_..X|
|
||||
00000260 20 af ab 5f a6 e2 61 47 b8 d2 14 e0 d8 51 54 16 | .._..aG.....QT.|
|
||||
00000270 9c f8 75 13 ec e6 df 7e eb 06 c9 0a 12 b2 b3 09 |..u....~........|
|
||||
00000280 2f 59 97 e7 c5 33 e1 24 59 bf 66 a9 51 16 03 03 |/Y...3.$Y.f.Q...|
|
||||
00000290 00 88 0f 00 00 84 04 01 00 80 b0 6e dd cd d8 26 |...........n...&|
|
||||
000002a0 26 e3 4c e9 1c 30 4e 15 99 fb 79 b0 3d 78 38 76 |&.L..0N...y.=x8v|
|
||||
000002b0 fe 42 f5 50 af 38 69 17 83 3b 08 93 13 65 36 59 |.B.P.8i..;...e6Y|
|
||||
000002c0 69 55 85 cf 42 dc 04 38 14 a5 f2 6f 64 35 8a 58 |iU..B..8...od5.X|
|
||||
000002d0 1a de ea 53 f8 69 f4 d0 08 d7 7a b2 c0 b3 66 b6 |...S.i....z...f.|
|
||||
000002e0 ef a1 f0 59 19 72 78 b9 c1 61 77 06 00 b2 43 51 |...Y.rx..aw...CQ|
|
||||
000002f0 ae 97 2c be 29 b8 61 fc 4d 15 fd db 44 4d 16 4c |..,.).a.M...DM.L|
|
||||
00000300 0b bb 2c 2e 1b 66 c1 4c 68 7e 20 21 75 1d c9 56 |..,..f.Lh~ !u..V|
|
||||
00000310 d8 88 01 79 bd 64 d8 2e 6f 24 14 03 03 00 01 01 |...y.d..o$......|
|
||||
00000320 16 03 03 00 40 74 6a 8d 2f bc 4c 1f cf cc c0 db |....@tj./.L.....|
|
||||
00000330 a8 e6 bf d4 6b 42 00 b2 f3 97 fb db 5a 62 01 47 |....kB......Zb.G|
|
||||
00000340 49 83 04 7f ac 1c 2f 97 36 86 04 d0 14 55 9f ba |I...../.6....U..|
|
||||
00000350 8d b5 af df 31 8b 05 ae b5 42 93 fc 4f 0f 47 78 |....1....B..O.Gx|
|
||||
00000360 69 1e 7b b1 85 |i.{..|
|
||||
00000200 e5 35 16 03 03 00 86 10 00 00 82 00 80 07 40 a1 |.5............@.|
|
||||
00000210 a4 df e2 86 a1 2b 63 f9 2b 60 e2 ee 53 2c 31 19 |.....+c.+`..S,1.|
|
||||
00000220 30 f6 ca 42 4d 16 c8 f6 7a 93 7c c9 49 b5 46 f5 |0..BM...z.|.I.F.|
|
||||
00000230 f8 fc 24 91 83 06 51 b4 96 a3 c4 29 a0 3c c4 64 |..$...Q....).<.d|
|
||||
00000240 a9 e3 28 79 88 0a b2 98 26 c7 e3 bf 36 74 cd b7 |..(y....&...6t..|
|
||||
00000250 b6 90 6c 6b 52 41 1d 0b 34 3f 28 24 fd 0a fd 53 |..lkRA..4?($...S|
|
||||
00000260 e1 ba f8 54 0f a0 01 d1 41 4b ab 2e c6 8a 6e d7 |...T....AK....n.|
|
||||
00000270 6b b5 f8 e0 8b 24 b9 d2 ce 67 58 77 95 ad c9 84 |k....$...gXw....|
|
||||
00000280 7f a3 6f bc 3c 25 aa 5d ae b0 d8 9e ac 16 03 03 |..o.<%.]........|
|
||||
00000290 00 88 0f 00 00 84 04 01 00 80 54 6c d7 6f 08 34 |..........Tl.o.4|
|
||||
000002a0 30 5d 62 1c d2 47 c2 03 1d f3 74 36 f0 41 be 1c |0]b..G....t6.A..|
|
||||
000002b0 b6 d6 e2 69 52 4d 05 19 1e 29 03 fa 84 69 c6 f0 |...iRM...)...i..|
|
||||
000002c0 83 2c e1 05 8f 6c 3b 6d 85 a2 5b 17 d1 65 5a 5d |.,...l;m..[..eZ]|
|
||||
000002d0 7a 17 d1 4d b5 10 f7 a5 6d a6 22 5e 34 5c c9 eb |z..M....m."^4\..|
|
||||
000002e0 fc 6e 82 7b fb bc aa 13 56 3e 42 d5 ea 81 25 a8 |.n.{....V>B...%.|
|
||||
000002f0 5e 1d cc f8 b3 db 88 68 1b 9d f2 b1 e8 31 07 b4 |^......h.....1..|
|
||||
00000300 4e 8f 51 ac a3 7b a8 91 20 30 21 41 c9 b6 db 91 |N.Q..{.. 0!A....|
|
||||
00000310 6c 55 e5 95 1a 59 14 82 0f 79 14 03 03 00 01 01 |lU...Y...y......|
|
||||
00000320 16 03 03 00 40 5d 23 b8 61 24 07 ff 4c 52 c5 41 |....@]#.a$..LR.A|
|
||||
00000330 f2 5c 67 c1 bc 98 82 15 d2 f0 9c fb c8 bc ad df |.\g.............|
|
||||
00000340 20 c0 3f dd 14 68 ec b9 e3 b4 1b 75 8b 90 90 75 | .?..h.....u...u|
|
||||
00000350 e6 46 5b 53 76 d4 53 98 d2 e5 13 fa a8 74 18 74 |.F[Sv.S......t.t|
|
||||
00000360 ef dd a5 02 2d |....-|
|
||||
>>> 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 1d 68 a8 dc aa |............h...|
|
||||
00000020 c4 e4 11 4a 2b 96 20 bf e8 53 ec 78 1d e6 b8 62 |...J+. ..S.x...b|
|
||||
00000030 c0 3e 87 3b 1a 1c 21 55 76 99 33 83 8b d1 d1 dd |.>.;..!Uv.3.....|
|
||||
00000040 3b 4e 11 5b 32 18 4c 08 1d 0a 75 17 03 03 00 40 |;N.[2.L...u....@|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 8b ed 4b 14 13 |.............K..|
|
||||
00000020 c8 be 9e d4 63 ab 7e 4e b5 61 43 a2 aa 64 a4 00 |....c.~N.aC..d..|
|
||||
00000030 b7 85 b5 67 c5 0c 85 09 c3 d5 b9 2e 70 60 59 d1 |...g........p`Y.|
|
||||
00000040 32 68 55 6a 4f 19 e8 5d c0 06 c5 17 03 03 00 40 |2hUjO..].......@|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000060 13 bc 72 77 fa 97 52 ce b3 0a 0d fb 2d 2e a0 81 |..rw..R.....-...|
|
||||
00000070 12 3b 9d 9d c3 ad bd 6e ab d9 17 ec d5 e8 f4 76 |.;.....n.......v|
|
||||
00000080 94 5c 96 a3 1a 78 0c 0a de cd fb 35 f6 95 90 4a |.\...x.....5...J|
|
||||
00000060 cd ae 88 cd bb 85 80 23 ac ca d5 3e 67 f7 c1 2d |.......#...>g..-|
|
||||
00000070 0c 08 3f c6 b4 32 c8 ac ce e8 04 4f 80 41 30 bc |..?..2.....O.A0.|
|
||||
00000080 c2 58 7a 7e 20 e3 4a 63 96 23 70 3e 83 b2 ec 90 |.Xz~ .Jc.#p>....|
|
||||
00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
000000a0 00 00 00 00 00 61 34 c5 62 46 75 7d a3 af ba f0 |.....a4.bFu}....|
|
||||
000000b0 e8 f5 9c 79 a7 4c f4 b6 d0 63 56 29 92 c5 26 1f |...y.L...cV)..&.|
|
||||
000000c0 54 85 e4 74 80 |T..t.|
|
||||
000000a0 00 00 00 00 00 9f 18 6b e8 4b 70 8c e6 f7 d4 bc |.......k.Kp.....|
|
||||
000000b0 3e 65 77 94 7a 51 a0 fb 81 e1 58 94 2f 9a cf 72 |>ew.zQ....X./..r|
|
||||
000000c0 1c 22 93 c1 af |."...|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue