Commit Graph

89 Commits

Author SHA1 Message Date
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
levlam
5de928006b Fix GCC CE and warnings.
GitOrigin-RevId: 21c7aa0f95f6534c8d8f1515fc93c67b55bb7998
2019-07-22 07:05:50 +03:00
levlam
58dd51916d Fix error message.
GitOrigin-RevId: bd671f9c961e737fccbe45220ab5ca84985bdfaa
2019-07-15 20:29:44 +03:00
levlam
a0f6616ad3 Improve check_tls.
GitOrigin-RevId: 6cce74e45b3cf0da84fb6e8ac8c3686d6185f4af
2019-07-05 23:46:17 +03:00
Arseny Smirnov
d4cb9d2d52 MpscPollableQueue: move system calls out of spin lock
GitOrigin-RevId: 6e826bcca1006aeadab4af84ad86ce2e402c10e4
2019-07-03 21:21:38 +02:00
levlam
e9a03ba5d1 Improve check_tls.
GitOrigin-RevId: ef95d9d401fc8fd7071dbe58e69610c4d6e849db
2019-07-01 19:43:50 +03:00
levlam
c19139aedc Add check_tls.
GitOrigin-RevId: 6465c7c6ae7b3279415e652bbe366864a23908f3
2019-06-26 22:31:08 +03:00
levlam
a5413cf50d Explicitly use unique_ptr<HttpQuery>.
GitOrigin-RevId: 1d729c6b0a3d1deaf3423672414f155492b7a0e8
2019-06-17 19:12:54 +03:00
levlam
34fcde6827 Minor fixes.
GitOrigin-RevId: a5d8a4b0b9b9c4e858d7a9a7403bef0de7e009e0
2019-05-22 21:17:24 +03:00
Arseny Smirnov
1aa86c15be CE fix
GitOrigin-RevId: 14f5e0e38a771f42213ab544ef065da86425dbc5
2019-05-04 19:05:17 +02:00
levlam
16a209cef0 Use some unused Status responses.
GitOrigin-RevId: b49d15a22918169b5e1a212e5858dc2e9bd2033e
2019-04-28 15:00:06 +03:00