mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 04:27:36 +03:00
crypto/tls: enable X25519 by default.
Since this changes the offered curves in the ClientHello, all the test data needs to be updated too. Change-Id: I227934711104349c0f0eab11d854e5a2adcbc363 Reviewed-on: https://go-review.googlesource.com/30825 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6bcda018f7
commit
46e9439117
63 changed files with 2757 additions and 2875 deletions
45
testdata/Client-TLSv12-AES128-GCM-SHA256
vendored
45
testdata/Client-TLSv12-AES128-GCM-SHA256
vendored
|
@ -1,19 +1,20 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 8b 01 00 00 87 03 03 00 00 00 00 00 |................|
|
||||
00000000 16 03 01 00 8d 01 00 00 89 03 03 00 00 00 00 00 |................|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 28 c0 2f |.............(./|
|
||||
00000030 c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 c0 09 c0 14 |.+.0.,.'...#....|
|
||||
00000040 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 c0 12 00 0a |.......<./.5....|
|
||||
00000050 00 05 c0 11 c0 07 01 00 00 36 00 05 00 05 01 00 |.........6......|
|
||||
00000060 00 00 00 00 0a 00 08 00 06 00 17 00 18 00 19 00 |................|
|
||||
00000070 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 03 05 |................|
|
||||
00000080 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................|
|
||||
00000050 00 05 c0 11 c0 07 01 00 00 38 00 05 00 05 01 00 |.........8......|
|
||||
00000060 00 00 00 00 0a 00 0a 00 08 00 1d 00 17 00 18 00 |................|
|
||||
00000070 19 00 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 |................|
|
||||
00000080 03 05 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 |................|
|
||||
00000090 00 00 |..|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 51 02 00 00 4d 03 03 c5 42 c0 de 64 |....Q...M...B..d|
|
||||
00000010 f2 2a cc a1 5e ab 9e 11 b0 d7 63 23 02 4e b3 8a |.*..^.....c#.N..|
|
||||
00000020 08 07 0a f0 ac 7f b4 77 26 8a b7 20 37 1f 7c 28 |.......w&.. 7.|(|
|
||||
00000030 3d 7a 6a 58 ee c3 b9 36 cd f0 38 a6 1e 90 a3 6e |=zjX...6..8....n|
|
||||
00000040 c1 ee e3 55 30 50 9a 55 bc 2c be dc 00 9c 00 00 |...U0P.U.,......|
|
||||
00000000 16 03 03 00 51 02 00 00 4d 03 03 7a 32 08 d2 4a |....Q...M..z2..J|
|
||||
00000010 af 6c 9f c8 46 15 1c 46 60 43 4c c9 6a 6c 43 12 |.l..F..F`CL.jlC.|
|
||||
00000020 c0 d8 56 97 b5 01 c2 96 9f d9 28 20 48 7e b0 97 |..V.......( H~..|
|
||||
00000030 10 ef a4 1b a7 f1 0e 15 f5 95 53 72 35 14 ed c9 |..........Sr5...|
|
||||
00000040 50 e2 1a 9f 7c c5 d2 f3 1e dd f8 4e 00 9c 00 00 |P...|......N....|
|
||||
00000050 05 ff 01 00 01 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.|
|
||||
00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......|
|
||||
00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..|
|
||||
|
@ -63,17 +64,17 @@
|
|||
00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..|
|
||||
00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..|
|
||||
00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....|
|
||||
00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 de a7 |.....(..........|
|
||||
000000a0 bc ad 94 20 fb 58 5e 46 9e 3f 31 63 14 ea e9 a4 |... .X^F.?1c....|
|
||||
000000b0 30 9e 12 3f a0 cd 9d b9 94 c2 31 58 38 2f |0..?......1X8/|
|
||||
00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 0d fe |.....(..........|
|
||||
000000a0 d9 28 21 4a bd 29 c8 a6 4c 37 b4 bd 32 35 c6 21 |.(!J.)..L7..25.!|
|
||||
000000b0 d5 29 3c c6 d3 18 d3 3e 38 0b 9e 51 1e c5 |.)<....>8..Q..|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 17 43 47 b8 bb |..........(.CG..|
|
||||
00000010 2d 6a 77 a9 de 2d a5 15 95 cd 41 89 1a b2 c1 9f |-jw..-....A.....|
|
||||
00000020 af fd 13 20 8a 42 1d 7e 47 45 91 c3 5a 11 75 a8 |... .B.~GE..Z.u.|
|
||||
00000030 fd 8d 1b |...|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 da f5 83 53 c6 |..........(...S.|
|
||||
00000010 97 4c c2 33 83 04 7d 35 c5 48 61 86 06 37 2e e8 |.L.3..}5.Ha..7..|
|
||||
00000020 18 4d de 6a 32 13 95 77 ac 03 3e 64 4f e0 fb 99 |.M.j2..w..>dO...|
|
||||
00000030 4c 6b 3d |Lk=|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 73 97 7e |.............s.~|
|
||||
00000010 de 2c d2 b9 cb fd cc 6d f1 2c df fd 17 84 1f 21 |.,.....m.,.....!|
|
||||
00000020 d3 63 da 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.c..............|
|
||||
00000030 2a 78 32 6b b3 fb 8e f2 35 44 00 f2 32 8e b7 41 |*x2k....5D..2..A|
|
||||
00000040 34 24 |4$|
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8e a9 14 |................|
|
||||
00000010 42 04 b1 b8 63 0d f1 4b e9 5c 3c 54 7e 28 14 31 |B...c..K.\<T~(.1|
|
||||
00000020 a6 2e 90 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................|
|
||||
00000030 ff e2 9e a8 be 31 0b f6 87 a6 11 39 5f b9 71 ff |.....1.....9_.q.|
|
||||
00000040 90 83 |..|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue