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
68
testdata/Server-TLSv10-ECDHE-ECDSA-AES
vendored
68
testdata/Server-TLSv10-ECDHE-ECDSA-AES
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 4f 01 00 00 4b 03 01 fe 61 b4 5d ae |....O...K...a.].|
|
||||
00000010 19 2f b0 b6 45 79 41 a6 87 85 18 21 7f 67 91 4f |./..EyA....!.g.O|
|
||||
00000020 1c 5a 8f 96 18 88 e6 15 63 8e 19 00 00 04 c0 0a |.Z......c.......|
|
||||
00000000 16 03 01 00 4f 01 00 00 4b 03 01 f1 86 d0 c8 69 |....O...K......i|
|
||||
00000010 46 0b 0b 89 08 c0 82 c0 f7 f1 9a b6 d2 2b e1 46 |F............+.F|
|
||||
00000020 e6 e1 44 65 de 39 0a 68 a8 d5 1c 00 00 04 c0 0a |..De.9.h........|
|
||||
00000030 00 ff 01 00 00 1e 00 0b 00 04 03 00 01 02 00 0a |................|
|
||||
00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 16 00 00 |................|
|
||||
00000050 00 17 00 00 |....|
|
||||
|
@ -42,37 +42,37 @@
|
|||
00000210 0e bd 3f a3 8c 25 c1 33 13 83 0d 94 06 bb d4 37 |..?..%.3.......7|
|
||||
00000220 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.|
|
||||
00000230 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1|
|
||||
00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 01 00 b4 0c 00 |{j.9....*.......|
|
||||
00000250 00 b0 03 00 1d 20 2f e5 7d a3 47 cd 62 43 15 28 |..... /.}.G.bC.(|
|
||||
00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 01 00 b5 0c 00 |{j.9....*.......|
|
||||
00000250 00 b1 03 00 1d 20 2f e5 7d a3 47 cd 62 43 15 28 |..... /.}.G.bC.(|
|
||||
00000260 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 |.._.).0.........|
|
||||
00000270 99 5f 58 cb 3b 74 00 8a 30 81 87 02 42 00 9b 23 |._X.;t..0...B..#|
|
||||
00000280 b7 7f 16 df 0f 3e c0 51 b0 97 7f 75 54 e7 3f a8 |.....>.Q...uT.?.|
|
||||
00000290 f6 c4 64 ca 69 ad 3b 56 7f 58 c2 94 b3 b2 5c ee |..d.i.;V.X....\.|
|
||||
000002a0 66 ea f7 bc f6 0d 06 02 94 08 e0 d6 99 03 3c da |f.............<.|
|
||||
000002b0 80 80 34 46 52 8b 9a c6 31 61 6f 4e a0 1c a6 02 |..4FR...1aoN....|
|
||||
000002c0 41 79 ba 2e d2 48 85 b5 bc b4 08 bd be 11 d8 62 |Ay...H.........b|
|
||||
000002d0 cd 06 22 f2 a6 49 e7 14 9b 79 56 c1 29 26 de 7e |.."..I...yV.)&.~|
|
||||
000002e0 1f 41 a3 a3 1d 0f 67 90 0b da 20 dc e6 04 18 f2 |.A....g... .....|
|
||||
000002f0 fb f0 4f 30 ed e5 97 90 37 01 f4 8a 86 ed 5f 40 |..O0....7....._@|
|
||||
00000300 fe ba 16 03 01 00 04 0e 00 00 00 |...........|
|
||||
00000270 99 5f 58 cb 3b 74 00 8b 30 81 88 02 42 00 ad 93 |._X.;t..0...B...|
|
||||
00000280 e2 c2 3d 7e 95 63 17 5d 45 cf cd 27 af d2 db b3 |..=~.c.]E..'....|
|
||||
00000290 d0 bc 13 1e 6f 0a 61 3a fb 3c b3 03 61 2c 36 ae |....o.a:.<..a,6.|
|
||||
000002a0 4f be 27 e9 43 3c cf 57 9b 82 5e 7d 54 36 ed 7e |O.'.C<.W..^}T6.~|
|
||||
000002b0 0b 34 68 26 90 00 20 02 0f c1 18 bc 79 1b 90 02 |.4h&.. .....y...|
|
||||
000002c0 42 01 6b 66 9d 56 48 8e 5e 38 93 48 03 6b b9 d7 |B.kf.VH.^8.H.k..|
|
||||
000002d0 bd 14 a0 3e 8a 27 81 7f fe 4d e5 8a 12 4d 95 16 |...>.'...M...M..|
|
||||
000002e0 ef c7 8d 60 07 1d 22 f8 5d 72 0d cc be c3 51 69 |...`..".]r....Qi|
|
||||
000002f0 7a 04 e3 84 e5 ba dd 04 1d d4 4c 6f 9f 6b 12 e0 |z.........Lo.k..|
|
||||
00000300 2f 83 3c 16 03 01 00 04 0e 00 00 00 |/.<.........|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 01 00 25 10 00 00 21 20 74 53 a0 24 31 0e |....%...! tS.$1.|
|
||||
00000010 24 0f be da 29 8c 2c a2 50 c4 f1 bc 96 36 4c b2 |$...).,.P....6L.|
|
||||
00000020 be 4e f3 71 e2 9f 00 e5 d1 2d 14 03 01 00 01 01 |.N.q.....-......|
|
||||
00000030 16 03 01 00 30 cc 38 0f 1e 21 0e e7 19 f0 6f 45 |....0.8..!....oE|
|
||||
00000040 44 c3 d4 3c 18 16 c5 b3 0f 30 71 c2 92 db 0e 29 |D..<.....0q....)|
|
||||
00000050 e5 07 0c 59 7a c6 94 da 8d 83 47 5b af 57 7f 20 |...Yz.....G[.W. |
|
||||
00000060 bb 74 cc 67 03 |.t.g.|
|
||||
00000000 16 03 01 00 25 10 00 00 21 20 18 40 ea d1 e1 17 |....%...! .@....|
|
||||
00000010 b6 a2 a5 db 20 13 70 81 90 fc ac e8 96 7c b1 e1 |.... .p......|..|
|
||||
00000020 ff 6f 57 1f c1 64 72 94 f7 05 14 03 01 00 01 01 |.oW..dr.........|
|
||||
00000030 16 03 01 00 30 05 33 48 f0 2a 3a df df 1d c4 3d |....0.3H.*:....=|
|
||||
00000040 87 ea 9d 04 04 eb 84 bf a0 ed bc 56 2f ab 36 52 |...........V/.6R|
|
||||
00000050 d5 b2 2c 6f 8c 58 49 51 33 d5 fc df 5d 09 df e9 |..,o.XIQ3...]...|
|
||||
00000060 be 20 30 9a 37 |. 0.7|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 03 83 0b c1 bb |..........0.....|
|
||||
00000010 69 43 63 46 48 8d 18 e2 d7 8d 0d 8b 69 d7 98 a8 |iCcFH.......i...|
|
||||
00000020 eb 11 94 5a 37 70 ef 4c 74 28 1d d0 9e 19 b7 4f |...Z7p.Lt(.....O|
|
||||
00000030 2e 01 7d a4 e2 22 12 89 26 64 3a 17 03 01 00 20 |..}.."..&d:.... |
|
||||
00000040 d3 a1 47 e6 96 87 67 f0 44 a9 0b 6b 58 c8 00 6a |..G...g.D..kX..j|
|
||||
00000050 74 76 58 82 3a 70 b9 37 b1 ce 6a 0a 19 8c 22 64 |tvX.:p.7..j..."d|
|
||||
00000060 17 03 01 00 30 c4 c9 e2 83 68 ac f3 a6 4e a4 38 |....0....h...N.8|
|
||||
00000070 bb 52 3f be a7 19 89 ea 73 36 79 04 f3 d2 e0 b4 |.R?.....s6y.....|
|
||||
00000080 a6 fb 9c d8 40 a4 5a af 17 c1 c9 61 af a8 90 e5 |....@.Z....a....|
|
||||
00000090 e0 06 c4 40 4f 15 03 01 00 20 e2 08 3c 9a e3 c5 |...@O.... ..<...|
|
||||
000000a0 44 ad 0e fc 07 4d 64 80 e2 9d 82 67 8a 62 10 34 |D....Md....g.b.4|
|
||||
000000b0 7a 68 6c 15 79 76 eb a0 5f 30 |zhl.yv.._0|
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 8c b6 5b 83 03 |..........0..[..|
|
||||
00000010 c0 d8 83 f7 1d 24 2e ec 39 68 00 91 73 d2 5a 15 |.....$..9h..s.Z.|
|
||||
00000020 3f 83 aa e3 6d fd cc 31 58 90 e9 a9 e3 e4 78 5d |?...m..1X.....x]|
|
||||
00000030 ce 8e b3 ba cd 71 aa a2 fd f4 7c 17 03 01 00 20 |.....q....|.... |
|
||||
00000040 62 98 34 9d 01 13 13 2d 1b 27 3a 4f 10 28 48 d6 |b.4....-.':O.(H.|
|
||||
00000050 32 8c 99 2a c8 64 14 6e dc f5 7c 6d 16 59 45 8e |2..*.d.n..|m.YE.|
|
||||
00000060 17 03 01 00 30 1e ed f9 40 ad 5c 5d f6 94 c9 fd |....0...@.\]....|
|
||||
00000070 a1 ac fc 00 7b 48 9a 59 6d f5 b7 06 a4 66 25 04 |....{H.Ym....f%.|
|
||||
00000080 61 33 08 f3 66 86 21 00 fb f3 03 78 83 4c b6 c8 |a3..f.!....x.L..|
|
||||
00000090 9d 5e ea f5 7e 15 03 01 00 20 98 d8 f6 2a 79 60 |.^..~.... ...*y`|
|
||||
000000a0 8d fb c9 45 2f 27 59 17 a9 79 eb e7 b9 46 f1 57 |...E/'Y..y...F.W|
|
||||
000000b0 a6 fa ea e1 d0 23 8c 03 4f 72 |.....#..Or|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue