mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +03:00
crypto/tls: enable ChaCha20-Poly1305 cipher suites by default.
This change enables the ChaCha20-Poly1305 cipher suites by default. This changes the default ClientHello and thus requires updating all the tests. Change-Id: I6683a2647caaff4a11f9e932babb6f07912cad94 Reviewed-on: https://go-review.googlesource.com/30958 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
0b98d05a6d
commit
38982b663e
64 changed files with 2662 additions and 2721 deletions
|
@ -1,20 +1,20 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 8d 01 00 00 89 03 03 00 00 00 00 00 |................|
|
||||
00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 28 c0 2f |.............(./|
|
||||
00000030 c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 c0 09 c0 14 |.+.0.,.'...#....|
|
||||
00000040 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 c0 12 00 0a |.......<./.5....|
|
||||
00000050 00 05 c0 11 c0 07 01 00 00 38 00 05 00 05 01 00 |.........8......|
|
||||
00000060 00 00 00 00 0a 00 0a 00 08 00 1d 00 17 00 18 00 |................|
|
||||
00000070 19 00 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 |................|
|
||||
00000080 03 05 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 |................|
|
||||
00000090 00 00 |..|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 2c cc a8 |.............,..|
|
||||
00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#|
|
||||
00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5|
|
||||
00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..|
|
||||
00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................|
|
||||
00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................|
|
||||
00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................|
|
||||
00000090 01 00 00 12 00 00 |......|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 25 53 12 07 e9 |....Y...U..%S...|
|
||||
00000010 0c 84 dd 43 23 7e 89 4d de 4f d2 a6 86 1f be f1 |...C#~.M.O......|
|
||||
00000020 33 4c 11 b1 c7 ab 97 5a ce a0 af 20 1d 1d 0d d6 |3L.....Z... ....|
|
||||
00000030 44 8e e8 14 aa c3 07 ac 26 f9 4b 62 2f ab 1d 83 |D.......&.Kb/...|
|
||||
00000040 0c 0e f4 99 c9 1b 63 83 6f 9b 0e 26 c0 2c 00 00 |......c.o..&.,..|
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 e6 0e 27 a7 58 |....Y...U....'.X|
|
||||
00000010 1d a3 1d 1d 21 64 31 f6 1e bc 28 b4 46 7e 26 be |....!d1...(.F~&.|
|
||||
00000020 de 0a 65 eb f0 18 dc 7f 3e 1b 55 20 fe 66 50 20 |..e.....>.U .fP |
|
||||
00000030 f0 f0 48 a8 db 0a ff ee 60 ea 3d 7f 07 5e b9 65 |..H.....`.=..^.e|
|
||||
00000040 c3 e4 2a 19 9c bd 57 36 ca e3 a7 2d c0 2c 00 00 |..*...W6...-.,..|
|
||||
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
|
||||
00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..|
|
||||
00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....|
|
||||
|
@ -49,34 +49,34 @@
|
|||
00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....|
|
||||
00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.|
|
||||
00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....|
|
||||
00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 0d ae |*............ ..|
|
||||
00000280 d8 d1 97 30 6d b0 2f a9 d5 42 5d 36 7c 86 19 3d |...0m./..B]6|..=|
|
||||
00000290 1c ad fe 32 a7 09 c7 b7 5c 13 3a 36 39 1a 04 03 |...2....\.:69...|
|
||||
000002a0 00 8b 30 81 88 02 42 01 61 83 4b 88 59 3b 1a 77 |..0...B.a.K.Y;.w|
|
||||
000002b0 b3 bf d9 dc f5 49 ba c8 9e 68 f2 df ed ab 19 f9 |.....I...h......|
|
||||
000002c0 b1 2d cb d9 35 b2 03 59 9f 11 dd 3f 48 a0 b6 15 |.-..5..Y...?H...|
|
||||
000002d0 3b df e6 3d bf 3e 51 ac 92 cc 55 32 81 11 95 85 |;..=.>Q...U2....|
|
||||
000002e0 50 7d b2 7e 81 3e 9a b2 2e 02 42 00 a3 24 28 c0 |P}.~.>....B..$(.|
|
||||
000002f0 56 f8 20 29 77 f4 3d ff 2d 09 36 58 31 cf 9d d5 |V. )w.=.-.6X1...|
|
||||
00000300 9c b6 df 95 b1 5f f7 88 2b 09 a3 58 17 41 79 ae |....._..+..X.Ay.|
|
||||
00000310 9e 6a 80 6a a6 d2 64 77 1b 79 44 55 bc af 8f df |.j.j..dw.yDU....|
|
||||
00000320 07 58 fe e7 97 4b d7 39 3f 8a 10 ae 0d 16 03 03 |.X...K.9?.......|
|
||||
00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 17 21 |*............ .!|
|
||||
00000280 a9 b8 65 8b aa 41 d2 d1 45 45 e5 ce 39 60 54 b6 |..e..A..EE..9`T.|
|
||||
00000290 43 9f c4 19 a4 aa ec 71 08 b0 d1 22 f7 46 04 03 |C......q...".F..|
|
||||
000002a0 00 8b 30 81 88 02 42 00 8b a5 d9 d3 8f a1 72 48 |..0...B.......rH|
|
||||
000002b0 06 42 25 c3 f6 c8 46 8d 88 30 36 7d d8 18 a9 cc |.B%...F..06}....|
|
||||
000002c0 de e4 c8 3f e9 d2 f0 88 18 cc c6 fb 14 e0 05 b1 |...?............|
|
||||
000002d0 ec 50 3d 57 b4 e9 83 57 55 4b 0d 2c 89 69 ff b1 |.P=W...WUK.,.i..|
|
||||
000002e0 58 0b 01 89 48 97 ee 88 7e 02 42 01 e1 6f 9c 36 |X...H...~.B..o.6|
|
||||
000002f0 6a 6c 86 24 d6 b3 45 f1 6c 03 d8 fd da d8 cc 52 |jl.$..E.l......R|
|
||||
00000300 04 41 7a c5 f9 b5 91 a5 6c d8 5a 03 ad de e3 da |.Az.....l.Z.....|
|
||||
00000310 de f8 db b0 bc 75 38 03 ab 84 ac 3f b2 c2 7e 6d |.....u8....?..~m|
|
||||
00000320 a7 2e c0 d9 bd 85 e2 7b 36 11 2b 12 14 16 03 03 |.......{6.+.....|
|
||||
00000330 00 04 0e 00 00 00 |......|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.|
|
||||
00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....|
|
||||
00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......|
|
||||
00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 53 ce b7 |....(........S..|
|
||||
00000040 2e 05 87 4b dc da ee 78 8e b9 24 7c 79 a3 29 c2 |...K...x..$|y.).|
|
||||
00000050 03 35 d5 81 91 4a a7 b5 d4 86 a0 76 91 |.5...J.....v.|
|
||||
00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 4b a3 cc |....(........K..|
|
||||
00000040 a1 5b 04 d4 1e 6c 2c 26 56 23 62 50 bc d6 90 0b |.[...l,&V#bP....|
|
||||
00000050 67 41 d9 7c 79 a5 53 54 73 0a 93 e2 73 |gA.|y.STs...s|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 fc 0c 83 69 48 |..........(...iH|
|
||||
00000010 3c ef b2 24 08 0b 80 4f 37 48 a1 47 21 b1 99 d9 |<..$...O7H.G!...|
|
||||
00000020 06 1e db 1b 13 21 18 99 ad 2d a9 7e 66 1f 00 39 |.....!...-.~f..9|
|
||||
00000030 53 2f 36 |S/6|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 e3 19 7b 8c 8a |..........(..{..|
|
||||
00000010 52 35 82 cc 70 50 83 22 88 8b 0a 54 bc eb ff 57 |R5..pP."...T...W|
|
||||
00000020 2c df 0d 50 d6 21 2f d2 d9 e8 15 27 b9 d7 01 a3 |,..P.!/....'....|
|
||||
00000030 f2 62 0b |.b.|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 c2 08 d0 |................|
|
||||
00000010 5a f6 bd a8 68 a9 91 91 be b8 d9 bb 71 96 c7 e0 |Z...h.......q...|
|
||||
00000020 0e 30 10 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.0..............|
|
||||
00000030 b9 c5 46 64 12 c1 bb 38 69 1b 59 59 f0 69 75 01 |..Fd...8i.YY.iu.|
|
||||
00000040 3f 8b |?.|
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 cc cf 92 |................|
|
||||
00000010 4d 25 58 96 1d dc df fb d9 1f a5 49 87 45 dd 73 |M%X........I.E.s|
|
||||
00000020 1a 17 ae 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................|
|
||||
00000030 fb b5 c5 e4 aa ea e7 7e ff dd f7 11 63 c0 e4 a3 |.......~....c...|
|
||||
00000040 86 fc |..|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue