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,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
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...../|
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 8e 50 ff 02 c4 |....]...Y...P...|
|
||||
00000010 3b 5e dd ee 59 d1 3a e1 db f1 30 f4 bb a7 8a 8c |;^..Y.:...0.....|
|
||||
00000020 b2 d2 1a fd f8 a4 c9 e4 5f 41 e1 00 00 04 00 2f |........_A...../|
|
||||
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 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..|
|
||||
00000210 03 03 00 86 10 00 00 82 00 80 2b 80 6e 49 b8 ec |..........+.nI..|
|
||||
00000220 12 7a 7c f3 2a d3 7e 16 a0 39 e5 77 61 7a 56 15 |.z|.*.~..9.wazV.|
|
||||
00000230 97 c6 64 63 13 cf 09 d0 1b f5 b6 78 1d cb 86 4f |..dc.......x...O|
|
||||
00000240 14 84 c9 e6 5d 3c 6b 61 5e 46 83 7e ef 1d 74 d4 |....]<ka^F.~..t.|
|
||||
00000250 3b 8c 78 be 26 92 24 04 b4 6f 21 88 03 8d 92 a8 |;.x.&.$..o!.....|
|
||||
00000260 60 c6 08 b5 75 5d 2f 2c 71 60 5f 54 27 a0 fa 83 |`...u]/,q`_T'...|
|
||||
00000270 4d 39 1e 22 1e 1e 60 92 51 ac 2d 35 c7 cf fc 5e |M9."..`.Q.-5...^|
|
||||
00000280 db e3 60 37 6b 4e 7c d8 04 f3 09 54 de 38 af 57 |..`7kN|....T.8.W|
|
||||
00000290 20 d0 f5 08 5a a8 6f 65 03 55 16 03 03 00 93 0f | ...Z.oe.U......|
|
||||
000002a0 00 00 8f 04 03 00 8b 30 81 88 02 42 00 97 84 ac |.......0...B....|
|
||||
000002b0 cf 9b df b0 3a c8 9d a6 da 8c 11 87 35 2a d7 d0 |....:.......5*..|
|
||||
000002c0 15 df e1 02 ca 85 3f 1c a5 21 17 8c 8a 73 1b 76 |......?..!...s.v|
|
||||
000002d0 8d 0f af 26 ea b5 7f 87 a6 b6 c8 61 32 27 fc f4 |...&.......a2'..|
|
||||
000002e0 b7 c5 c3 2c 53 61 59 5a 5d 12 c6 dd 9e 54 02 42 |...,SaYZ]....T.B|
|
||||
000002f0 01 04 3f 82 bb a4 5c ea ea c9 9c 2a 75 96 c2 88 |..?...\....*u...|
|
||||
00000300 5a ae f8 2e 29 01 cf 7b a4 20 83 df ec c8 9d 37 |Z...)..{. .....7|
|
||||
00000310 0c 33 fb 20 73 51 47 6d 81 d0 75 b1 19 ed 02 00 |.3. sQGm..u.....|
|
||||
00000320 b8 40 67 75 b9 72 63 9c 1e e1 c9 44 93 d6 ec e7 |.@gu.rc....D....|
|
||||
00000330 16 5c 14 03 03 00 01 01 16 03 03 00 40 43 51 cf |.\..........@CQ.|
|
||||
00000340 07 b2 de 6e 40 10 eb dd 3f 84 6a 54 a3 7f b2 48 |...n@...?.jT...H|
|
||||
00000350 b3 aa 3c d4 e7 69 32 7c 77 ba e9 0b 99 b3 c9 e8 |..<..i2|w.......|
|
||||
00000360 c5 53 29 9a 6b 82 ee 7d 5e a9 ae 63 fa a9 af 21 |.S).k..}^..c...!|
|
||||
00000370 f2 04 b1 a1 bf f1 10 4c 65 6c 49 34 a0 |.......LelI4.|
|
||||
>>> 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 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}......@|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 93 a2 18 a9 e2 |................|
|
||||
00000020 51 be f7 bd c0 05 64 51 0a 17 9d 58 11 d1 a6 b9 |Q.....dQ...X....|
|
||||
00000030 6d 1e 42 16 e4 bc bf 09 f2 b9 29 20 74 8a cd 8a |m.B.......) t...|
|
||||
00000040 b6 31 04 64 fb 5b 1f 83 c3 19 78 17 03 03 00 40 |.1.d.[....x....@|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
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|
|
||||
00000060 ee c4 d0 5d 69 37 2b fc dc 9c f1 77 df 44 6f da |...]i7+....w.Do.|
|
||||
00000070 4e 22 05 05 3a 6c 32 a8 6c c2 fb ce ca a7 1b 54 |N"..:l2.l......T|
|
||||
00000080 2a 25 ae cf 77 e4 47 21 33 b6 29 54 62 00 dd 30 |*%..w.G!3.)Tb..0|
|
||||
00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
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 |.....|
|
||||
000000a0 00 00 00 00 00 cf e1 fd e3 5f d3 19 cd 05 70 79 |........._....py|
|
||||
000000b0 be 16 a5 26 18 f1 92 bc 73 bd 6f 4d 33 3d 6f 8a |...&....s.oM3=o.|
|
||||
000000c0 13 51 7c 57 c7 |.Q|W.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue