Commit Graph

99 Commits

Author SHA1 Message Date
levlam
78ca715746 Add AES CBC benchmark.
GitOrigin-RevId: 1341d108549c70d9d0b35904eb6389e7589452fc
2020-09-24 14:21:46 +03:00
Arseny Smirnov
6d379b0fd5 bench_crypto: test raw openssl ctr
GitOrigin-RevId: c173a74a094c294e75c6a2c09e3ad10676499611
2020-09-24 15:31:35 +03:00
levlam
499deffa8d Minor benchmark improvements.
GitOrigin-RevId: e75e3ebe819e248b2f5203aa17d736ef8284bd46
2020-08-08 22:00:05 +03:00
levlam
ab5d35371b Ensure that OpenSSL is linked against needed Windows libraries.
GitOrigin-RevId: d2928c94ebe6565e155f81db8ccc24c4c5d69a54
2020-07-28 01:34:35 +03:00
Arseny Smirnov
38ef3a75cc PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
2020-07-21 18:29:39 +03:00
levlam
c9889d1a20 Fix TLS handshake.
GitOrigin-RevId: 7542732a79c9fed971332203a620f32ce6d8f878
2020-07-15 16:38:04 +03:00
Arseny Smirnov
fee05df2cc HttpConnection: write_next_noflush for writes without flushing to socket
GitOrigin-RevId: 0b4ffbd7600b1ce466caf8a33897b555a2855211
2020-07-13 11:55:43 +03:00
levlam
97b2191697 Update TLS ClientHello.
GitOrigin-RevId: c7555b5f569c17fa0b1600c9d4cfb6bc4310b4b5
2020-07-09 16:59:57 +03:00
levlam
afcf7197ae Unify constant name style.
GitOrigin-RevId: 660f8aa17fa856c828e6c11ade6c497a82cb7612
2020-06-22 02:40:05 +03:00
levlam
b16bae42df Fix CE.
GitOrigin-RevId: e1b70566e852145961f740026ac5134b4a0f9278
2020-06-17 21:53:34 +03:00
Arseny Smirnov
005611e924 Refactor td::AesState::Impl
GitOrigin-RevId: 5731ddc8d85c912cbfb141bd4e5eefea22d8ab21
2020-06-16 17:57:19 +03:00
levlam
86ca096840 Improve crypto benchmark.
GitOrigin-RevId: ff215ba75a1d7005e13fb73b16f84d59c8365b98
2020-06-16 17:08:10 +03:00
levlam
8eadeaf7b3 Use only AES CBC in AES IGE encrypt.
GitOrigin-RevId: 380af89f18a77afee0baf7ec739836b071f96ab5
2020-06-16 06:34:17 +03:00
levlam
40ee207854 Improve AesIgeState.
GitOrigin-RevId: b0a1d8bad4be32e4f6fa9ff36f5a5bef2c464b26
2020-06-16 01:32:08 +03:00
levlam
e1515226be Simplify XorBytes.
GitOrigin-RevId: d20ae3c1d44d0a88068b42979685e5b1f9df0193
2020-06-16 01:13:45 +03:00
levlam
6a7dfc4f01 Minor AES improvements.
GitOrigin-RevId: 138384ad375735b9e889172cae919368c9976456
2020-06-15 23:20:44 +03:00
Arseny Smirnov
132caf5c8f tdutils: use new aes ige for long plaintext
GitOrigin-RevId: 4bd8ddd20508e235c0fb8b40ac42b9dcabfed30c
2020-06-15 19:23:40 +03:00
Arseny Smirnov
7e06d91739 tdutils: optimize aes ctr
GitOrigin-RevId: b24920ac38bb3b8e94ece87e7438a8b8b1b370c4
2020-06-15 18:59:56 +03:00
Arseny Smirnov
0c0f6a7b7b tdutils: simplify aes ige
GitOrigin-RevId: bc99b8c159cc866875ef69e44cd1e88f5e5dffee
2020-06-15 16:43:02 +03:00
Arseny Smirnov
7e5a08f272 tdutils: new ige implementation
GitOrigin-RevId: c19b702e3cfcb1edb182839e67c410c7fc3edac5
2020-06-15 15:07:58 +03:00
levlam
0cf4fea1ff Remove enum usages for static constants creation.
GitOrigin-RevId: 2a88fd2cd961398a09403fe35a15ae56372a44f8
2020-06-15 04:52:56 +03:00
levlam
c68481052a AES CTR improvements.
GitOrigin-RevId: c4ed8fdc883fdf7cc2ed10334d3bb9487d590d41
2020-06-13 04:45:40 +03:00
levlam
f6ef851fe2 AES fixes.
GitOrigin-RevId: bf30c8c381edb623fec0dfac1c494559f3f3739e
2020-06-12 19:43:58 +03:00
Arseny Smirnov
e913c3126b tdutils: optimize aes ctr
GitOrigin-RevId: 09c6df45c0bf2683507a0f279769471efc859ecb
2020-06-12 19:40:17 +03:00
Arseny Smirnov
c4ed5ce140 tdutils: aes experiments
GitOrigin-RevId: 1dd2812041778679fb1ef0462d9e8b1899181e0b
2020-06-12 18:06:40 +03:00
levlam
8e7c6fcda2 Fix OpenSSL initialization.
GitOrigin-RevId: 83eb7addf7d0407432fc8d4ba1a4cb6464818cc7
2020-06-11 01:49:20 +03:00
levlam
842e2033b7 Fix IP address verification in TLS certificate.
GitOrigin-RevId: 5275f8be34e9459a13a87e6fbd056754ceb515d4
2020-05-16 18:43:49 +03:00
levlam
fee023c29f Minor Wget improvement.
GitOrigin-RevId: eaf7fb05624fbf01012a83e18e733c77d2b9216c
2020-05-16 15:57:37 +03:00
levlam
c4023a3f9b Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
2020-03-20 03:20:07 +03:00
levlam
7ec4c26514 Improve error messages.
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
2020-03-02 12:52:13 +03:00
levlam
46a958212c Fix some link dependencies.
GitOrigin-RevId: 12d110232437c787821c49d884dca9335c6e3eeb
2020-02-24 01:29:51 +03:00
levlam
bffbded1d5 Remove unneded dependency.
GitOrigin-RevId: 731d75ab26fd9a6322b8c630adba4295d1dd9093
2020-02-23 23:50:22 +03:00
levlam
494eddda1c check_proxy: support human-readable domain specification.
GitOrigin-RevId: a3511e63b8b68a65af2e6c0e5a68ab3b00910797
2020-02-16 00:45:40 +03:00
levlam
e44b02fe45 Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
2020-01-03 01:48:23 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
26c5328b89 Do not generate default constructors.
GitOrigin-RevId: 89afa038ad99739ca0465e05a2e123ac60e7fa7a
2019-11-21 17:53:39 +03:00
levlam
1e018da7b8 Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +03:00
levlam
ee87414bab Fix misprints.
GitOrigin-RevId: e21e784c076005538ee889a61b12b8876567da13
2019-10-19 21:20:16 +03:00
levlam
0b6c1d226f Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
2019-09-28 05:14:21 +03:00
levlam
469193a5f5 check_proxy: add --proxy-list option.
GitOrigin-RevId: 40528dd5e9e72020da28fd11102ceda013e1c79f
2019-09-23 17:13:58 +03:00
levlam
0897a140c7 Check_proxy: get_next_arg.
GitOrigin-RevId: 9079c8f344a3bd2a8d6585c255e752abef66d3f1
2019-09-23 16:55:07 +03:00
levlam
0ca64b65de Support multiple proxies in check_proxy.
GitOrigin-RevId: 39404b0229cd41176219f0573b7a9681aa857a22
2019-09-23 05:19:07 +03:00
levlam
82892f577d Add dc_id and timeout parameters to testProxy.
GitOrigin-RevId: 399efb78e2c82d8ef6f6b854f572e0a6b6a90336
2019-09-23 04:13:42 +03:00
levlam
d02f0ffba9 TlsInit: better X25519 key generation.
GitOrigin-RevId: b7efb4bfd1d285a54292e5733c855d7693419af1
2019-08-22 23:09:49 +03:00
levlam
2e8ec529e9 check_tls: better key generation.
GitOrigin-RevId: 090ac63afcac8a61df92f008f054cc0cfd559d36
2019-08-22 22:26:12 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
Arseny Smirnov
5a032743e6 Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
2019-08-12 16:53:17 +03:00
levlam
ec3d9b7b3c Add check_proxy benchmark.
GitOrigin-RevId: 36ec86e51eab1f94d96a135b19c808ee83daa3e2
2019-07-24 00:53:08 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00