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
50
testdata/Server-TLSv12-RSA-AES256-GCM-SHA384
vendored
50
testdata/Server-TLSv12-RSA-AES256-GCM-SHA384
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 73 01 00 00 6f 03 03 bc e7 1a ca 08 |....s...o.......|
|
||||
00000010 96 da c8 af ca 82 23 6b 38 66 bf ae ce e1 1e 9a |......#k8f......|
|
||||
00000020 b8 3f 89 85 4e a8 3c 97 a4 89 b8 00 00 04 c0 30 |.?..N.<........0|
|
||||
00000000 16 03 01 00 73 01 00 00 6f 03 03 b7 d2 dc fe 53 |....s...o......S|
|
||||
00000010 d6 13 08 19 be 30 22 17 db a7 06 9b 62 82 14 38 |.....0".....b..8|
|
||||
00000020 2e 68 70 08 02 7d 22 64 13 75 f5 00 00 04 c0 30 |.hp..}"d.u.....0|
|
||||
00000030 00 ff 01 00 00 42 00 0b 00 04 03 00 01 02 00 0a |.....B..........|
|
||||
00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 0d 00 20 |............... |
|
||||
00000050 00 1e 06 01 06 02 06 03 05 01 05 02 05 03 04 01 |................|
|
||||
|
@ -52,28 +52,28 @@
|
|||
00000290 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............|
|
||||
000002a0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)|
|
||||
000002b0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;|
|
||||
000002c0 74 05 01 00 80 89 eb fc 69 bd e7 5a 8d 4a 9c 7e |t.......i..Z.J.~|
|
||||
000002d0 2a b8 8c 5e 9e 37 62 89 7b 95 0c aa 78 c8 87 d5 |*..^.7b.{...x...|
|
||||
000002e0 50 38 25 9e 42 52 51 c5 85 de 76 48 78 44 3a 96 |P8%.BRQ...vHxD:.|
|
||||
000002f0 87 dd b8 83 c7 89 d2 39 88 c0 e1 77 c5 eb 92 21 |.......9...w...!|
|
||||
00000300 cb 5e 40 5a 82 13 cb d6 86 ce 26 17 b0 7c d7 56 |.^@Z......&..|.V|
|
||||
00000310 8a 49 9c a2 70 a3 cb 61 12 f5 0e b9 dd f2 ec c4 |.I..p..a........|
|
||||
00000320 74 b6 bf a1 83 9a 94 3b ff b1 82 2e 14 da 3f 86 |t......;......?.|
|
||||
00000330 31 86 c5 92 ee e4 f1 41 06 57 06 de 5d 36 58 31 |1......A.W..]6X1|
|
||||
00000340 2b ac e0 47 04 16 03 03 00 04 0e 00 00 00 |+..G..........|
|
||||
000002c0 74 05 01 00 80 b8 c4 6a be 2a dd 47 03 7b 84 72 |t......j.*.G.{.r|
|
||||
000002d0 0b a4 c0 a7 2e b5 a4 be c7 6a 2a 8b d0 23 6f b5 |.........j*..#o.|
|
||||
000002e0 bc 0e ba 3c f5 9d a3 90 b0 af 80 11 bd 22 b5 7b |...<.........".{|
|
||||
000002f0 3c 53 f8 54 d0 b4 b0 53 28 75 0d 15 58 88 c2 90 |<S.T...S(u..X...|
|
||||
00000300 69 ea e0 08 aa 07 93 15 ae ed e5 a8 3d 2d 9c 62 |i...........=-.b|
|
||||
00000310 1d 40 26 7d 0e d3 23 52 71 71 ff ea 18 f9 0a eb |.@&}..#Rqq......|
|
||||
00000320 78 8a 8f 9e 12 8c 0b 33 a8 ee 42 76 16 29 58 ec |x......3..Bv.)X.|
|
||||
00000330 ea 6d 22 48 0d d0 68 c3 97 8d e9 ec cd 10 f6 47 |.m"H..h........G|
|
||||
00000340 c9 9d 42 12 54 16 03 03 00 04 0e 00 00 00 |..B.T.........|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 25 10 00 00 21 20 54 93 b9 c3 5d 0f |....%...! T...].|
|
||||
00000010 9f 34 0a a0 0c bd df 96 12 a6 35 ed c3 ab ae d0 |.4........5.....|
|
||||
00000020 41 3c 7d 7e b4 f4 0b a6 4c 1a 14 03 03 00 01 01 |A<}~....L.......|
|
||||
00000030 16 03 03 00 28 5d a3 8e f4 82 cd 79 ff a1 4a f6 |....(].....y..J.|
|
||||
00000040 8b f5 fd 79 b1 db 00 33 a8 e0 65 fa 6a 66 77 92 |...y...3..e.jfw.|
|
||||
00000050 f1 9a 03 f6 c3 04 8d e9 fd 77 23 41 ed |.........w#A.|
|
||||
00000000 16 03 03 00 25 10 00 00 21 20 20 df 4a b8 02 4f |....%...! .J..O|
|
||||
00000010 31 db 22 90 59 57 20 23 e1 72 8d 28 60 b3 f2 77 |1.".YW #.r.(`..w|
|
||||
00000020 db 3a ce 64 5a a5 63 94 be 09 14 03 03 00 01 01 |.:.dZ.c.........|
|
||||
00000030 16 03 03 00 28 de 72 f3 c3 b2 aa b4 9b b7 fe 35 |....(.r........5|
|
||||
00000040 3b 25 af 74 47 d3 49 39 07 d9 70 37 30 d0 b7 47 |;%.tG.I9..p70..G|
|
||||
00000050 bf ad 97 08 44 59 a7 3c 12 f2 4a 2d 7c |....DY.<..J-||
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....|
|
||||
00000010 00 00 00 48 6d dc 6d 66 cd 9f e1 f7 9c fa 39 d0 |...Hm.mf......9.|
|
||||
00000020 f9 25 1d 03 43 1f b8 78 1c e5 1e 46 1f ee fe 05 |.%..C..x...F....|
|
||||
00000030 1d 4b 3c 17 03 03 00 25 00 00 00 00 00 00 00 01 |.K<....%........|
|
||||
00000040 f3 ee a6 01 db 34 54 f0 9a ee 15 da ff d7 7a a2 |.....4T.......z.|
|
||||
00000050 55 c5 55 3f df 8a f7 70 f6 62 67 10 05 15 03 03 |U.U?...p.bg.....|
|
||||
00000060 00 1a 00 00 00 00 00 00 00 02 64 17 7b 79 a6 0d |..........d.{y..|
|
||||
00000070 a2 3e 5a 11 60 72 ba 4d 5e 03 de 49 |.>Z.`r.M^..I|
|
||||
00000010 00 00 00 16 18 e1 e8 d4 c0 d1 19 3a 50 10 85 fc |...........:P...|
|
||||
00000020 fc 3e 27 54 e4 57 b6 e7 c4 25 d5 4e 10 ad 0f ff |.>'T.W...%.N....|
|
||||
00000030 ad 45 8c 17 03 03 00 25 00 00 00 00 00 00 00 01 |.E.....%........|
|
||||
00000040 50 b8 af 5f a2 3e 0f f7 f0 81 1f 32 69 39 2f f2 |P.._.>.....2i9/.|
|
||||
00000050 47 28 80 fb d0 46 d4 b7 a2 ba e3 71 ea 15 03 03 |G(...F.....q....|
|
||||
00000060 00 1a 00 00 00 00 00 00 00 02 c4 64 7a 81 b3 3a |...........dz..:|
|
||||
00000070 2c 71 35 ec f7 0c 52 36 20 2c eb fe |,q5...R6 ,..|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue