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
54
testdata/Server-TLSv12-RSA-AES
vendored
54
testdata/Server-TLSv12-RSA-AES
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 50 0b 78 b2 4c |....]...Y..P.x.L|
|
||||
00000010 1e 56 23 02 c5 62 24 b5 a1 59 9d 2e fc 74 81 cc |.V#..b$..Y...t..|
|
||||
00000020 48 25 bb 7f 14 0d aa 77 c4 17 4e 00 00 04 00 2f |H%.....w..N..../|
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 7a e5 86 e2 0a |....]...Y..z....|
|
||||
00000010 53 e7 ba 32 d1 57 47 ed 45 29 1b 33 2c 58 33 8f |S..2.WG.E).3,X3.|
|
||||
00000020 36 2c 50 6f f9 c7 3b 12 40 23 e2 00 00 04 00 2f |6,Po..;.@#...../|
|
||||
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 |................|
|
||||
|
@ -50,31 +50,31 @@
|
|||
00000280 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.|
|
||||
00000290 3b e9 fa e7 16 03 03 00 04 0e 00 00 00 |;............|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 5b ee e9 53 45 |...........[..SE|
|
||||
00000010 1b 58 be 12 94 b2 42 8d 50 22 f8 7c af 2b 56 dd |.X....B.P".|.+V.|
|
||||
00000020 0d 67 25 5d 26 b4 f8 3e 6a 1b de a1 05 17 25 e7 |.g%]&..>j.....%.|
|
||||
00000030 50 5e fa c3 57 7e d6 5a 66 4c d8 9e e1 ec 7a 58 |P^..W~.ZfL....zX|
|
||||
00000040 13 8b 88 77 3e 36 49 6f 25 aa 9f 31 75 95 48 78 |...w>6Io%..1u.Hx|
|
||||
00000050 54 48 e5 dd 37 1f a3 5a f8 93 ce b4 14 c5 16 be |TH..7..Z........|
|
||||
00000060 30 54 d6 f5 26 08 0e b9 80 5a 70 c6 92 2b 89 50 |0T..&....Zp..+.P|
|
||||
00000070 3e 44 3c b8 2b 0a 37 d9 ff 81 81 ff 5c f9 73 75 |>D<.+.7.....\.su|
|
||||
00000080 a3 24 6f 3f 36 4e f6 26 ed 8c 67 14 03 03 00 01 |.$o?6N.&..g.....|
|
||||
00000090 01 16 03 03 00 40 eb 95 ee 33 f8 ed d0 38 47 1e |.....@...3...8G.|
|
||||
000000a0 bf 62 95 87 2b d7 96 0d 17 af ec 89 2d e7 33 83 |.b..+.......-.3.|
|
||||
000000b0 2e c3 18 67 22 06 31 f2 47 3b 10 28 98 e6 e7 b3 |...g".1.G;.(....|
|
||||
000000c0 f6 19 52 92 ad 77 74 89 4f 92 66 e7 00 a9 60 12 |..R..wt.O.f...`.|
|
||||
000000d0 30 c8 d6 d9 b3 fd |0.....|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 8f 13 d1 23 1b |..............#.|
|
||||
00000010 8d 28 c7 a3 97 66 9f 8a c1 13 a1 c9 3b 25 93 7a |.(...f......;%.z|
|
||||
00000020 ea 54 58 fc 57 41 ca 92 77 99 13 01 61 e4 73 90 |.TX.WA..w...a.s.|
|
||||
00000030 c7 f1 2b 5e 5e 79 cf 69 7d 6b 3f 6e 5f 2e b0 f5 |..+^^y.i}k?n_...|
|
||||
00000040 f7 53 2b 46 15 92 6c 20 95 6b 44 6a 0a 3d 0b 56 |.S+F..l .kDj.=.V|
|
||||
00000050 66 53 ff 55 ec 38 10 cf 76 2c 0e ab 45 7a 02 6a |fS.U.8..v,..Ez.j|
|
||||
00000060 75 07 11 80 6c d0 57 79 ed d6 4b b8 a0 04 91 a0 |u...l.Wy..K.....|
|
||||
00000070 d4 4b 76 38 9c b3 a6 2e 0c 3e 63 a8 18 15 c9 ab |.Kv8.....>c.....|
|
||||
00000080 54 69 cd e5 6f 3c 56 a6 5f a7 e0 14 03 03 00 01 |Ti..o<V._.......|
|
||||
00000090 01 16 03 03 00 40 06 07 16 b4 7f fa 1a 8f 9b 1a |.....@..........|
|
||||
000000a0 a3 23 ba 5f ce ff 0a 70 b1 11 2b 84 77 7a 78 1a |.#._...p..+.wzx.|
|
||||
000000b0 6c 32 93 6c 31 e8 e5 26 12 97 14 33 a9 77 71 19 |l2.l1..&...3.wq.|
|
||||
000000c0 0b 20 5d 8f 3c 71 0d a4 b9 94 aa ff 42 8e d3 2d |. ].<q......B..-|
|
||||
000000d0 7e 57 3b 35 41 cc |~W;5A.|
|
||||
>>> 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 2c 6f 4a 71 23 |...........,oJq#|
|
||||
00000020 84 5a 5c f9 93 8c c6 91 17 8a fb f5 cd d6 72 9a |.Z\...........r.|
|
||||
00000030 f8 01 9b 54 cc 82 fd d5 51 62 a3 88 1b ce 42 b9 |...T....Qb....B.|
|
||||
00000040 f6 f6 a3 f9 35 2b 24 93 d0 ba c0 17 03 03 00 40 |....5+$........@|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 51 27 cd 07 6e |...........Q'..n|
|
||||
00000020 72 c8 17 ba e7 62 7c d0 49 55 e7 e6 c5 2c 93 39 |r....b|.IU...,.9|
|
||||
00000030 55 02 f5 fa 9a 7a 6f c5 79 6f ff 0f 4b b9 3d ad |U....zo.yo..K.=.|
|
||||
00000040 23 c7 53 ad 13 2d d6 da 83 d0 67 17 03 03 00 40 |#.S..-....g....@|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000060 84 ad d5 dd 56 ce ec 6f 91 4f cc 02 6e ab 88 4b |....V..o.O..n..K|
|
||||
00000070 04 46 9e 84 8f d5 56 5d 8d 7a e3 e4 f1 32 1c e9 |.F....V].z...2..|
|
||||
00000080 b7 cc 44 aa bc 00 80 8d 39 c0 36 42 d2 f5 8e bf |..D.....9.6B....|
|
||||
00000060 f5 09 3b 69 c2 1f f8 03 78 1b 13 57 ca 92 96 eb |..;i....x..W....|
|
||||
00000070 f8 71 30 09 5a 68 01 47 96 b1 5b 7d b7 57 5e 70 |.q0.Zh.G..[}.W^p|
|
||||
00000080 00 77 bb 55 32 7b d9 a5 f7 e2 a8 6d 4b d6 be c6 |.w.U2{.....mK...|
|
||||
00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
000000a0 00 00 00 00 00 c6 5b b6 1d 1e 53 03 95 3d fc 1c |......[...S..=..|
|
||||
000000b0 1c 22 67 dc 2c c3 46 1d d7 23 69 7e 3d c6 a0 10 |."g.,.F..#i~=...|
|
||||
000000c0 a5 e0 ce 54 d4 |...T.|
|
||||
000000a0 00 00 00 00 00 58 1e a0 14 82 8d e4 c5 92 35 79 |.....X........5y|
|
||||
000000b0 3b 5e 3a fe 97 18 db 27 19 7e b5 14 8c 01 fb 6a |;^:....'.~.....j|
|
||||
000000c0 e4 26 96 e6 de |.&...|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue