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-TLSv12-IssueTicket
vendored
68
testdata/Server-TLSv12-IssueTicket
vendored
|
@ -1,7 +1,7 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 23 70 bb 15 df |....a...]..#p...|
|
||||
00000010 ba a2 24 4c 6a 3f 34 0c 75 40 a6 ee 11 1c 7e 74 |..$Lj?4.u@....~t|
|
||||
00000020 7e 7f 01 51 97 c3 de 3e d4 e0 c1 00 00 04 00 2f |~..Q...>......./|
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 b1 be 1f 18 b6 |....a...].......|
|
||||
00000010 a2 5d 4f 2f a0 e5 3b c4 4a 2d 76 bd 98 92 32 85 |.]O/..;.J-v...2.|
|
||||
00000020 9d 6b 9e 10 4b fc 03 7b fb bc e4 00 00 04 00 2f |.k..K..{......./|
|
||||
00000030 00 ff 01 00 00 30 00 23 00 00 00 0d 00 20 00 1e |.....0.#..... ..|
|
||||
00000040 06 01 06 02 06 03 05 01 05 02 05 03 04 01 04 02 |................|
|
||||
00000050 04 03 03 01 03 02 03 03 02 01 02 02 02 03 00 16 |................|
|
||||
|
@ -51,39 +51,39 @@
|
|||
00000290 84 5c 21 d3 3b e9 fa e7 16 03 03 00 04 0e 00 00 |.\!.;...........|
|
||||
000002a0 00 |.|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 ce 22 39 8f e2 |............"9..|
|
||||
00000010 00 3a 42 d3 2c 0f 60 59 3d 7c 51 02 88 ae dd 49 |.:B.,.`Y=|Q....I|
|
||||
00000020 b2 c3 6b c4 9a 1d 97 b1 07 bc 84 70 32 95 6d 8a |..k........p2.m.|
|
||||
00000030 2f 01 48 29 96 d1 a4 c9 e9 12 9e 31 11 d5 22 21 |/.H).......1.."!|
|
||||
00000040 86 b6 8d a1 7e 8f ad be 9e a9 7f 64 f6 b4 07 be |....~......d....|
|
||||
00000050 f3 a0 34 af 7f 9f 73 70 16 24 2f ae f2 8a bb 51 |..4...sp.$/....Q|
|
||||
00000060 34 4a ed 1e 53 32 cb b3 b8 84 b1 0e 79 c1 5b 9e |4J..S2......y.[.|
|
||||
00000070 6c 61 08 6f 9b dd a5 c7 b1 fb 8f ce e2 37 79 39 |la.o.........7y9|
|
||||
00000080 1c 6a 57 60 91 89 53 25 b5 9b 41 14 03 03 00 01 |.jW`..S%..A.....|
|
||||
00000090 01 16 03 03 00 40 b0 f3 19 1f 2b 96 7f 05 72 a9 |.....@....+...r.|
|
||||
000000a0 21 48 d8 77 7f d3 e0 39 e6 58 8f 8d 06 b1 bd 9e |!H.w...9.X......|
|
||||
000000b0 53 6a cd 5b 52 a8 2f a5 7c fb 6a b4 88 f7 b2 c4 |Sj.[R./.|.j.....|
|
||||
000000c0 a7 a8 69 fe a9 ae 07 4e 4f 11 6d 51 55 0c 10 7c |..i....NO.mQU..||
|
||||
000000d0 9c 31 a7 45 3c 0f |.1.E<.|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 8f f0 5a 2f 01 |.............Z/.|
|
||||
00000010 99 79 e6 f2 a0 31 a4 02 d8 c0 1e 70 e8 67 58 bd |.y...1.....p.gX.|
|
||||
00000020 a0 2a 37 3a 3c 2d 45 53 e7 d2 7d 94 16 ea 10 5c |.*7:<-ES..}....\|
|
||||
00000030 07 91 36 87 ab f6 d1 7a c7 40 a7 7f 23 1b ef 33 |..6....z.@..#..3|
|
||||
00000040 80 ea 7d 75 d3 62 de 7d d2 6b cf 90 54 0f e7 02 |..}u.b.}.k..T...|
|
||||
00000050 03 85 ef 38 f4 e9 88 8f e4 7c 8c ac 95 e6 88 f4 |...8.....|......|
|
||||
00000060 05 f7 c7 89 4a 64 de 34 5f 09 c2 84 19 36 c1 42 |....Jd.4_....6.B|
|
||||
00000070 ea 03 69 38 7e 32 10 8a b5 cf c7 2f 8e c6 5f 29 |..i8~2...../.._)|
|
||||
00000080 4e 8a 8e d4 17 6c 9c 18 7b ea df 14 03 03 00 01 |N....l..{.......|
|
||||
00000090 01 16 03 03 00 40 5f 50 47 5a 97 52 9d 11 b5 db |.....@_PGZ.R....|
|
||||
000000a0 ab 7b b9 e3 74 52 c5 cd f4 73 18 cf 12 c4 fe 07 |.{..tR...s......|
|
||||
000000b0 88 5f a9 18 7a 12 23 67 ec 72 07 9f 19 b5 bf 52 |._..z.#g.r.....R|
|
||||
000000c0 2f dd 26 66 25 98 8c 5a 07 0f 26 c1 b0 38 6c 01 |/.&f%..Z..&..8l.|
|
||||
000000d0 e4 f4 ee dd b3 72 |.....r|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 16 03 03 00 82 04 00 00 7e 00 00 00 00 00 78 50 |........~.....xP|
|
||||
00000010 46 ad c1 db a8 38 86 7b 2b bb fd d0 c3 42 3e 00 |F....8.{+....B>.|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................|
|
||||
00000030 6f 2c 9f 83 61 f0 a9 9a d5 65 c7 25 32 9d 86 4e |o,..a....e.%2..N|
|
||||
00000040 fb 8e 2a dd 84 8d 32 6d 6b f0 a9 de 59 fa 15 20 |..*...2mk...Y.. |
|
||||
00000050 7a 85 cd 2e 42 e1 f3 44 62 6c 24 24 e7 1f b6 fa |z...B..Dbl$$....|
|
||||
00000060 4d 8a cd 30 83 33 94 65 b6 e2 01 d8 fb a0 37 ca |M..0.3.e......7.|
|
||||
00000070 87 59 a4 29 cf d9 85 7c 54 2f 2d 5d 73 69 9a ae |.Y.)...|T/-]si..|
|
||||
00000080 6f 85 29 8b c3 eb 97 14 03 03 00 01 01 16 03 03 |o.).............|
|
||||
00000030 6f 2c 9f 83 61 0b b1 b7 9e 10 2d 0c 56 e8 70 66 |o,..a.....-.V.pf|
|
||||
00000040 ad de b1 15 74 2f 8b 08 8c 96 bb 4b 1b 4e dd 81 |....t/.....K.N..|
|
||||
00000050 0e bf 84 4d 43 8f c0 7e a0 7f be c0 59 bf 83 26 |...MC..~....Y..&|
|
||||
00000060 0f a2 22 52 2c 33 94 5a 77 54 f3 b5 f2 22 51 d5 |.."R,3.ZwT..."Q.|
|
||||
00000070 24 c2 60 c3 2e 0f 9c 5e 33 3b e8 7c 52 2a 76 08 |$.`....^3;.|R*v.|
|
||||
00000080 58 ac 47 98 bc 36 b6 14 03 03 00 01 01 16 03 03 |X.G..6..........|
|
||||
00000090 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
|
||||
000000a0 00 00 28 59 a1 a9 c9 27 e0 1d ff c1 18 37 83 6f |..(Y...'.....7.o|
|
||||
000000b0 5d 48 af a3 6b 5e b0 d7 54 46 49 e8 6d be 73 74 |]H..k^..TFI.m.st|
|
||||
000000c0 fa a3 80 df 41 ce 6a 43 ee b9 ec a4 cc 24 e8 a9 |....A.jC.....$..|
|
||||
000000d0 1f 3a 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |.:....@.........|
|
||||
000000e0 00 00 00 00 00 00 00 e8 7d 83 df d2 6e 2b 00 cc |........}...n+..|
|
||||
000000f0 4b fd 3c 20 4e 84 b3 b6 31 e5 47 ab 3f 45 81 f8 |K.< N...1.G.?E..|
|
||||
00000100 d3 a9 2f 07 9a 45 5a c5 cb 8a 68 ee d9 20 78 72 |../..EZ...h.. xr|
|
||||
00000110 8c a0 be 3d 3b 46 56 15 03 03 00 30 00 00 00 00 |...=;FV....0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 d7 b5 17 2a |...............*|
|
||||
00000130 14 69 7e f7 c7 9a 0c 66 56 19 d1 e3 d4 6b ef 27 |.i~....fV....k.'|
|
||||
00000140 d3 a7 ce 96 d8 2a 20 38 8a b5 50 f8 |.....* 8..P.|
|
||||
000000a0 00 00 31 fa c3 6c 95 c0 86 a5 55 30 41 c3 2d 6b |..1..l....U0A.-k|
|
||||
000000b0 a5 00 0b af 33 63 de 80 01 3d 7a 38 8e a7 f4 b1 |....3c...=z8....|
|
||||
000000c0 2d bb e3 1d 1a b4 61 18 b5 d9 d1 7f d1 9a e7 e8 |-.....a.........|
|
||||
000000d0 49 ee 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |I.....@.........|
|
||||
000000e0 00 00 00 00 00 00 00 a6 d5 e4 a8 9b d3 7d 72 1c |.............}r.|
|
||||
000000f0 ff 14 03 68 34 c9 ca 0d 2e 80 a1 09 f7 92 f6 86 |...h4...........|
|
||||
00000100 44 22 e8 1c ea e9 dd cc a7 92 9a 72 ec 22 5b 82 |D".........r."[.|
|
||||
00000110 7b 43 02 f7 fa 59 7b 15 03 03 00 30 00 00 00 00 |{C...Y{....0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 5f ab 03 1d |............_...|
|
||||
00000130 08 72 07 6d 78 66 5b 18 ec 3a b7 ea 75 96 ce 95 |.r.mxf[..:..u...|
|
||||
00000140 0c c9 6f 86 91 14 30 d6 2e 5d b1 b4 |..o...0..]..|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue