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
59
testdata/Client-TLSv12-AES128-SHA256
vendored
59
testdata/Client-TLSv12-AES128-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 18 36 ba 7c 68 |....Q...M...6.|h|
|
||||
00000010 f1 d6 d4 2e c8 08 97 dd 29 50 9c cf ca d1 59 7e |........)P....Y~|
|
||||
00000020 ec 70 1e 26 e6 9e 9e f8 32 25 1c 20 a0 45 0c ab |.p.&....2%. .E..|
|
||||
00000030 82 2f 2a de fa 34 72 cd 55 2f f3 ac 8b 02 e9 38 |./*..4r.U/.....8|
|
||||
00000040 eb 9c a1 c5 fa e4 f6 44 88 1e 5f 42 00 3c 00 00 |.......D.._B.<..|
|
||||
00000000 16 03 03 00 51 02 00 00 4d 03 03 8c 19 dc bf e8 |....Q...M.......|
|
||||
00000010 10 70 a2 51 1e d0 bd a8 c5 11 aa b7 e0 dd 29 f8 |.p.Q..........).|
|
||||
00000020 ab ad 4c e9 62 2f b5 54 5f 66 12 20 a4 90 11 92 |..L.b/.T_f. ....|
|
||||
00000030 c9 cc 4c 8e f4 e9 bf 32 da 7f 67 3b 40 7c b3 86 |..L....2..g;@|..|
|
||||
00000040 18 c6 23 d0 1c e1 f6 de 5c 0b ef aa 00 3c 00 00 |..#.....\....<..|
|
||||
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..|
|
||||
|
@ -64,25 +65,25 @@
|
|||
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 50 00 00 00 00 00 00 00 00 00 00 |.....P..........|
|
||||
000000a0 00 00 00 00 00 00 c6 3f 74 c9 ec e1 37 a5 d1 ed |.......?t...7...|
|
||||
000000b0 e2 08 b5 97 01 cb 15 db 9a fb 31 f7 fa 6b fd e6 |..........1..k..|
|
||||
000000c0 f1 4f 9c 90 f2 cb 78 e6 2d 9c 30 ba d4 d0 8e b4 |.O....x.-.0.....|
|
||||
000000d0 6d f1 ca 3d ec 03 6d aa 8b e2 ed 2f 46 79 30 8f |m..=..m..../Fy0.|
|
||||
000000e0 6f bb cf 6f 11 93 |o..o..|
|
||||
000000a0 00 00 00 00 00 00 c9 1b bf 6d f6 95 cc cf 9d 3b |.........m.....;|
|
||||
000000b0 15 6a da 27 dc b9 d3 b2 98 9e 9f f4 fc 85 c8 cd |.j.'............|
|
||||
000000c0 6a f6 6d 20 cf bf 0f 87 c9 b2 9e 16 12 69 1d f8 |j.m .........i..|
|
||||
000000d0 f2 52 12 23 58 a5 23 45 d0 3c f9 98 b5 1e 02 d0 |.R.#X.#E.<......|
|
||||
000000e0 d6 a1 7f bf 67 ed |....g.|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 50 d3 02 06 a8 ab |..........P.....|
|
||||
00000010 30 1e 01 16 cb ef 01 de 36 9c 7e 8f 3e c4 74 e9 |0.......6.~.>.t.|
|
||||
00000020 8f 33 c3 ab c3 bf 6e 46 c3 1d 43 16 be bb 63 cf |.3....nF..C...c.|
|
||||
00000030 79 c5 d3 f8 97 b7 ea 73 9d bb e9 3a 02 c6 4d 6f |y......s...:..Mo|
|
||||
00000040 75 cb 8d bd 16 22 1f 0e 56 d6 ef 6f 31 b9 a5 2e |u...."..V..o1...|
|
||||
00000050 ca 02 21 0b 10 d8 44 6a 09 ae 14 |..!...Dj...|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 50 b5 19 8a 2a a2 |..........P...*.|
|
||||
00000010 33 73 ff 3f 94 c6 a6 16 b5 a0 5f 64 33 11 77 90 |3s.?......_d3.w.|
|
||||
00000020 26 96 97 32 1d b2 aa c5 7d 86 78 db 98 b4 d7 65 |&..2....}.x....e|
|
||||
00000030 e9 4b 11 42 1b c5 6f 28 fe 1c 9e 0f 35 9f 6f 76 |.K.B..o(....5.ov|
|
||||
00000040 e5 f6 f8 6e c0 6f 93 a6 ff 49 e0 46 65 8f 8b 8f |...n.o...I.Fe...|
|
||||
00000050 c5 6f 69 5b 67 2f c1 ab 61 e1 8c |.oi[g/..a..|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........|
|
||||
00000010 00 00 00 00 00 38 7f df 9d 49 fc e7 b7 f8 ba 53 |.....8...I.....S|
|
||||
00000020 d6 0f c1 b8 2e 54 76 3e d8 c9 93 16 2c 63 09 dc |.....Tv>....,c..|
|
||||
00000030 ac 4b 73 59 7c 71 c2 46 4d 37 a7 c6 9b ab 7f 4c |.KsY|q.FM7.....L|
|
||||
00000040 6a cb fe 1e a3 15 03 03 00 40 00 00 00 00 00 00 |j........@......|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 65 f8 5f f9 73 a7 |..........e._.s.|
|
||||
00000060 6c a0 b1 58 b7 3c 63 77 df d0 64 54 fb 76 d8 ca |l..X.<cw..dT.v..|
|
||||
00000070 01 11 0b cb ad 41 f7 ad cb 56 d2 be 89 1b 70 dd |.....A...V....p.|
|
||||
00000080 23 5e 96 82 bd c1 8e a4 0d 30 |#^.......0|
|
||||
00000010 00 00 00 00 00 88 f5 2a f7 2d 8b d8 e0 8e e2 8f |.......*.-......|
|
||||
00000020 38 20 33 46 45 0c 75 cc d0 08 b0 e6 b8 dc 6f 6a |8 3FE.u.......oj|
|
||||
00000030 7b 57 0d 27 a5 e3 82 ee e7 e3 24 79 0c a9 4a 7c |{W.'......$y..J||
|
||||
00000040 65 45 a8 04 3b 15 03 03 00 40 00 00 00 00 00 00 |eE..;....@......|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 43 52 7c 12 59 f5 |..........CR|.Y.|
|
||||
00000060 ec 15 56 f9 ff 9e 8b c7 3d 99 06 a3 5a 98 1d 4e |..V.....=...Z..N|
|
||||
00000070 0f 34 bc 90 3e 61 64 cc 64 f4 23 8d e0 d5 cc 8a |.4..>ad.d.#.....|
|
||||
00000080 9b 43 c2 2e 93 ed eb 91 3f 02 |.C......?.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue