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-SNI
vendored
54
testdata/Server-TLSv12-SNI
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 71 01 00 00 6d 03 03 e8 20 88 32 3c |....q...m... .2<|
|
||||
00000010 30 7c b0 e8 86 e7 08 16 e0 47 4e 4a a9 b8 c6 5e |0|.......GNJ...^|
|
||||
00000020 21 4e 80 31 cf 25 6f 8f f7 e4 3e 00 00 04 00 2f |!N.1.%o...>..../|
|
||||
00000000 16 03 01 00 71 01 00 00 6d 03 03 35 8f 03 0b f4 |....q...m..5....|
|
||||
00000010 81 dd d7 ec 8b cc 85 bd 07 5b 83 16 cc 6e b2 67 |.........[...n.g|
|
||||
00000020 fd 33 69 81 14 9a 14 9d 37 43 5a 00 00 04 00 2f |.3i.....7CZ..../|
|
||||
00000030 00 ff 01 00 00 40 00 00 00 10 00 0e 00 00 0b 73 |.....@.........s|
|
||||
00000040 6e 69 74 65 73 74 2e 63 6f 6d 00 0d 00 20 00 1e |nitest.com... ..|
|
||||
00000050 06 01 06 02 06 03 05 01 05 02 05 03 04 01 04 02 |................|
|
||||
|
@ -51,31 +51,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 4f 68 55 f9 ae |...........OhU..|
|
||||
00000010 17 7b ff 2c c9 d2 87 cb 12 30 3a 4a 55 30 c6 31 |.{.,.....0:JU0.1|
|
||||
00000020 9e 3d 1d fd 19 43 cd 07 89 a1 6b ad ac 65 df 9d |.=...C....k..e..|
|
||||
00000030 e7 ff f5 85 8a 5f e3 4e 1a ab 1a 48 65 ee f1 3b |....._.N...He..;|
|
||||
00000040 63 b3 db ab cb 69 13 31 25 dd 7d 31 78 3f 80 48 |c....i.1%.}1x?.H|
|
||||
00000050 f4 2f b1 f9 c8 a1 02 bd 10 53 d9 46 90 c4 c2 87 |./.......S.F....|
|
||||
00000060 99 44 ad 89 0a b2 9c b2 8e 59 2a 1e 87 9b 79 2d |.D.......Y*...y-|
|
||||
00000070 e0 20 72 95 43 64 b3 6a c9 25 ec 26 76 ad b2 ff |. r.Cd.j.%.&v...|
|
||||
00000080 24 31 c0 b6 b2 75 8f c7 51 2f 53 14 03 03 00 01 |$1...u..Q/S.....|
|
||||
00000090 01 16 03 03 00 40 4c 1c 1d 4c cb b2 dc 2c 37 b4 |.....@L..L...,7.|
|
||||
000000a0 c7 dd ab 06 99 b7 4c 81 33 9e ef 07 4a 9a eb 88 |......L.3...J...|
|
||||
000000b0 39 c6 bf a6 df 0e 07 62 de 32 80 7f 9b a4 b6 6d |9......b.2.....m|
|
||||
000000c0 77 24 9f 5d 4d 1c 53 68 4f f4 7a da 60 5f b4 e5 |w$.]M.ShO.z.`_..|
|
||||
000000d0 61 06 e6 bd 52 15 |a...R.|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 4c 15 46 23 91 |...........L.F#.|
|
||||
00000010 a0 d8 6c 45 f0 49 7e 70 84 9f bf 53 3d 68 2c cc |..lE.I~p...S=h,.|
|
||||
00000020 20 3f 28 bd cf e6 6e fd e6 90 ff 87 14 82 65 00 | ?(...n.......e.|
|
||||
00000030 d6 b6 ef 5a 0c d6 30 76 88 d2 37 33 39 de 00 b4 |...Z..0v..739...|
|
||||
00000040 ec dd 30 3b f6 88 ff 4c b2 98 75 77 fd c3 61 38 |..0;...L..uw..a8|
|
||||
00000050 2d 00 f7 14 d8 a4 37 22 c0 db 8a bd 12 0b b8 cc |-.....7"........|
|
||||
00000060 37 82 78 d3 0e f2 0b 9b 51 c5 26 c5 e2 ce 3e 0e |7.x.....Q.&...>.|
|
||||
00000070 04 34 39 83 a8 f5 65 ff 40 d9 9b 4a 11 6b b3 d2 |.49...e.@..J.k..|
|
||||
00000080 f7 02 78 a9 7c f4 69 56 3a a4 98 14 03 03 00 01 |..x.|.iV:.......|
|
||||
00000090 01 16 03 03 00 40 d6 90 b3 07 d1 a1 c1 12 35 07 |.....@........5.|
|
||||
000000a0 4e c0 df 4b 17 cc fa 49 47 c9 22 c3 6f 70 fa ee |N..K...IG.".op..|
|
||||
000000b0 cf b3 61 d6 06 54 cd ce c2 15 17 8a a0 f6 5c 43 |..a..T........\C|
|
||||
000000c0 7c 92 ce 89 d4 96 53 d0 c7 e6 9a 24 bc 5a 83 e5 ||.....S....$.Z..|
|
||||
000000d0 9c 65 72 e7 80 a4 |.er...|
|
||||
>>> 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 2d 65 c0 13 cf |...........-e...|
|
||||
00000020 c5 4e 83 5b c3 6a d9 65 e8 b1 38 16 47 94 61 06 |.N.[.j.e..8.G.a.|
|
||||
00000030 28 da 6e 60 c0 0c d8 31 f5 61 58 55 b2 24 61 9a |(.n`...1.aXU.$a.|
|
||||
00000040 21 cb 64 31 3a 08 bb 29 1b 98 f8 17 03 03 00 40 |!.d1:..).......@|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 a0 61 69 4c 9d |............aiL.|
|
||||
00000020 68 f3 f8 f6 a0 ef 1b f4 a2 f5 83 fa 03 87 ad 67 |h..............g|
|
||||
00000030 7e 9f df c6 ce 9f 69 ce 22 fc de 91 0d 18 00 fb |~.....i.".......|
|
||||
00000040 c1 5d a1 2d bb 89 29 4f f6 de 57 17 03 03 00 40 |.].-..)O..W....@|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000060 71 cd f8 e4 7d dd 2c 03 a5 c9 11 ff 11 d2 19 fd |q...}.,.........|
|
||||
00000070 69 fa 88 a6 f2 cb 64 43 56 e0 d5 a6 eb d4 17 50 |i.....dCV......P|
|
||||
00000080 89 dd 34 3c 5d 1e 80 35 06 e9 c3 a0 11 83 41 cc |..4<]..5......A.|
|
||||
00000060 bb 54 f4 80 69 1d 3b 9c e7 9c 1a fb 4e 3d c1 02 |.T..i.;.....N=..|
|
||||
00000070 d3 05 86 35 47 61 59 aa 45 54 ae a2 59 4c 75 8c |...5GaY.ET..YLu.|
|
||||
00000080 8d a9 7d 7f a0 4b d9 65 7a 53 ef 7e ed a3 fa 9e |..}..K.ezS.~....|
|
||||
00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
000000a0 00 00 00 00 00 a1 31 41 88 62 af e7 df b9 9a 3b |......1A.b.....;|
|
||||
000000b0 d7 8a f0 11 0c 2f 9b 6d c5 91 cf 9f 51 a0 c1 06 |...../.m....Q...|
|
||||
000000c0 e4 3f da 7b 7a |.?.{z|
|
||||
000000a0 00 00 00 00 00 cc fd 0f cb 74 a5 36 ce c1 cd 54 |.........t.6...T|
|
||||
000000b0 6f 66 81 c0 ab ff 72 ea f3 1f a6 b7 ef 46 45 68 |of....r......FEh|
|
||||
000000c0 9b 0b 7f 4f 46 |...OF|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue