Home
last modified time | relevance | path

Searched refs:mtproto (Results 1 – 25 of 114) sorted by relevance

12345

/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/cmake/
H A Dtd_mtproto.cmake38 mtproto/mtproto_auth_key.cpp
39 mtproto/mtproto_auth_key.h
42 mtproto/mtproto_config.cpp
43 mtproto/mtproto_config.h
45 mtproto/mtproto_dc_options.h
46 mtproto/mtproto_dh_utils.cpp
47 mtproto/mtproto_dh_utils.h
48 mtproto/mtproto_pch.h
50 mtproto/mtproto_proxy_data.h
51 mtproto/mtproto_response.cpp
[all …]
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/test/
H A Dmtproto.cpp221mtproto::TransportType{mtproto::TransportType::Tcp, 0, mtproto::ProxySecret()}, in start_up()
300 mtproto::DhCallback *get_dh_callback() final { in get_dh_callback()
322 unique_ptr<mtproto::AuthKeyHandshake> handshake_;
343 mtproto::TransportType{mtproto::TransportType::Tcp, 0, mtproto::ProxySecret()}, nullptr); in loop()
364 create_actor<mtproto::HandshakeActor>( in loop()
533 unique_ptr<mtproto::RawConnection> connection_;
534 unique_ptr<mtproto::AuthKeyHandshake> handshake_;
549 mtproto::TransportType{mtproto::TransportType::Tcp, 0, mtproto::ProxySecret()}, nullptr); in start_up()
551 create_actor<mtproto::HandshakeActor>( in start_up()
599 unique_ptr<mtproto::AuthData> auth_data; in loop()
[all …]
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/net/
H A DConnectionCreator.h65 Promise<unique_ptr<mtproto::RawConnection>> promise, size_t hash = 0,
66 unique_ptr<mtproto::AuthData> auth_data = {});
67 void request_raw_connection_by_ip(IPAddress ip_address, mtproto::TransportType transport_type,
68 Promise<unique_ptr<mtproto::RawConnection>> promise);
85 mtproto::ConnectionManager::ConnectionToken connection_token;
86 unique_ptr<mtproto::RawConnection::StatsCallback> stats_callback;
156 std::vector<std::pair<unique_ptr<mtproto::RawConnection>, double>> ready_connections;
157 std::vector<Promise<unique_ptr<mtproto::RawConnection>>> queries;
167 unique_ptr<mtproto::AuthData> auth_data;
232 mtproto::TransportType transport_type;
[all …]
H A DSession.h41 namespace mtproto {
51 , private mtproto::SessionConnection::Callback {
61 virtual void request_raw_connection(unique_ptr<mtproto::AuthData> auth_data,
63 virtual void on_tmp_auth_key_updated(mtproto::AuthKey auth_key) = 0;
71 const vector<mtproto::ServerSalt> &server_salts);
148 unique_ptr<mtproto::SessionConnection> connection_;
157 mtproto::ConnectionManager::ConnectionToken connection_token_;
160 unique_ptr<mtproto::RawConnection> cached_connection_;
163 mtproto::AuthData auth_data_;
183 unique_ptr<mtproto::AuthKeyHandshake> handshake_;
[all …]
H A DAuthDataShared.cpp36 mtproto::AuthKey get_auth_key() final { in get_auth_key()
39 mtproto::AuthKey res; in get_auth_key()
50 void set_auth_key(const mtproto::AuthKey &auth_key) final { in set_auth_key()
73 void set_future_salts(const std::vector<mtproto::ServerSalt> &future_salts) final { in set_future_salts()
77 std::vector<mtproto::ServerSalt> get_future_salts() final { in get_future_salts()
79 std::vector<mtproto::ServerSalt> res; in get_future_salts()
106 void log_auth_key(const mtproto::AuthKey &auth_key) { in log_auth_key()
H A DAuthDataShared.h53 virtual mtproto::AuthKey get_auth_key() = 0;
55 virtual void set_auth_key(const mtproto::AuthKey &auth_key) = 0;
60 virtual void set_future_salts(const std::vector<mtproto::ServerSalt> &future_salts) = 0;
61 virtual std::vector<mtproto::ServerSalt> get_future_salts() = 0;
63 static AuthKeyState get_auth_key_state(const mtproto::AuthKey &auth_key) { in get_auth_key_state()
H A DSession.cpp74 unique_ptr<mtproto::AuthKeyHandshake> handshake_;
75 unique_ptr<mtproto::AuthKeyHandshakeContext> context_;
81 ActorOwn<mtproto::HandshakeActor> child_;
145 … const mtproto::AuthKey &tmp_auth_key, const vector<mtproto::ServerSalt> &server_salts) in Session()
447mtproto::ConnectionManager::connection(static_cast<ActorId<mtproto::ConnectionManager>>(G()->state… in on_connected()
1070 unique_ptr<mtproto::AuthData> auth_data; in connection_open()
1133 mtproto::SessionConnection::Mode mode; in connection_open_finish()
1136 mode = mtproto::SessionConnection::Mode::Tcp; in connection_open_finish()
1140 mode = mtproto::SessionConnection::Mode::Http; in connection_open_finish()
1317 mtproto::DhCallback *get_dh_callback() final { in create_gen_auth_key_actor()
[all …]
H A DSessionProxy.h48 mtproto::AuthKey tmp_auth_key_;
49 std::vector<mtproto::ServerSalt> server_salts_;
62 void on_tmp_auth_key_updated(mtproto::AuthKey auth_key);
63 void on_server_salt_updated(std::vector<mtproto::ServerSalt> server_salts);
H A DConnectionCreator.cpp51 class StatsCallback final : public mtproto::RawConnection::StatsCallback {
680 return mtproto::TransportType{mtproto::TransportType::ObfuscatedTcp, raw_dc_id, proxy.secret()}; in get_transport_type()
688 return mtproto::TransportType{mtproto::TransportType::Http, 0, in get_transport_type()
689 mtproto::ProxySecret::from_raw( in get_transport_type()
694 return mtproto::TransportType{mtproto::TransportType::Http, 0, mtproto::ProxySecret()}; in get_transport_type()
696 …return mtproto::TransportType{mtproto::TransportType::ObfuscatedTcp, raw_dc_id, info.option->get_s… in get_transport_type()
787 mtproto::ConnectionManager::ConnectionToken connection_token_; in prepare_connection()
789 unique_ptr<mtproto::RawConnection::StatsCallback> stats_callback_; in prepare_connection()
807 return ActorOwn<>(create_actor<mtproto::TlsInit>( in prepare_connection()
963 unique_ptr<mtproto::AuthData> auth_data; in client_create_raw_connection()
[all …]
H A DSessionProxy.cpp29 namespace mtproto { namespace
49 void request_raw_connection(unique_ptr<mtproto::AuthData> auth_data, in request_raw_connection()
50 Promise<unique_ptr<mtproto::RawConnection>> promise) final { in request_raw_connection()
55 void on_tmp_auth_key_updated(mtproto::AuthKey auth_key) final { in on_tmp_auth_key_updated()
59 void on_server_salt_updated(std::vector<mtproto::ServerSalt> server_salts) final { in on_server_salt_updated()
236 void SessionProxy::on_tmp_auth_key_updated(mtproto::AuthKey auth_key) { in on_tmp_auth_key_updated()
249 void SessionProxy::on_server_salt_updated(std::vector<mtproto::ServerSalt> server_salts) { in on_server_salt_updated()
H A DPublicRsaKeyShared.cpp25 auto r_rsa = mtproto::RSA::from_pem_public_key(pem); in PublicRsaKeyShared()
57 void PublicRsaKeyShared::add_rsa(mtproto::RSA rsa) { in add_rsa()
66 Result<mtproto::PublicRsaKeyInterface::RsaKey> PublicRsaKeyShared::get_rsa_key(const vector<int64> … in get_rsa_key()
100 mtproto::PublicRsaKeyInterface::RsaKey *PublicRsaKeyShared::get_rsa_key_unsafe(int64 fingerprint) { in get_rsa_key_unsafe()
H A DProxy.h57 static Proxy mtproto(string server, int32 port, mtproto::ProxySecret secret) { in mtproto() function
82 const mtproto::ProxySecret &secret() const { in secret()
137 …secret_ = mtproto::ProxySecret::from_link(parser.template fetch_string<Slice>(), true).move_as_ok(… in parse()
149 mtproto::ProxySecret secret_;
H A DDcOptions.h31 mtproto::ProxySecret secret_;
73 auto r_secret = mtproto::ProxySecret::from_binary(option.secret_.as_slice()); in DcOption()
91 auto r_secret = mtproto::ProxySecret::from_binary(ip_port.secret_.as_slice()); in DcOption()
135 const mtproto::ProxySecret &get_secret() const { in get_secret()
169 secret_ = mtproto::ProxySecret::from_raw(parser.template fetch_string<Slice>()); in parse()
H A DPublicRsaKeyShared.h19 class PublicRsaKeyShared final : public mtproto::PublicRsaKeyInterface {
34 void add_rsa(mtproto::RSA rsa);
/dports/security/xray-core/Xray-core-1.5.0/infra/conf/
H A Dmtproto.go19 func (a *MTProtoAccount) Build() (*mtproto.Account, error) {
27 return &mtproto.Account{
37 config := &mtproto.ServerConfig{}
66 config := new(mtproto.ClientConfig)
H A Dmtproto_test.go27 Output: &mtproto.ServerConfig{
32 Account: serial.ToTypedMessage(&mtproto.Account{
/dports/net/v2ray/v2ray-core-4.36.2/infra/conf/
H A Dmtproto.go19 func (a *MTProtoAccount) Build() (*mtproto.Account, error) {
27 return &mtproto.Account{
37 config := &mtproto.ServerConfig{}
67 config := new(mtproto.ClientConfig)
H A Dmtproto_test.go27 Output: &mtproto.ServerConfig{
32 Account: serial.ToTypedMessage(&mtproto.Account{
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/benchmark/
H A Dbench_handshake.cpp33 class FakeDhCallback final : public td::mtproto::DhCallback {
52 td::mtproto::DhHandshake a; in run()
53 td::mtproto::DhHandshake b; in run()
55 td::mtproto::DhHandshake::check_config(g, prime, &dh_callback).ensure(); in run()
/dports/security/xray-core/Xray-core-1.5.0/proxy/mtproto/
H A Dconfig.proto3 package xray.proxy.mtproto;
5 option go_package = "github.com/xtls/xray-core/proxy/mtproto";
6 option java_package = "com.xray.proxy.mtproto";
/dports/net/v2ray/v2ray-core-4.36.2/proxy/mtproto/
H A Dconfig.proto3 package v2ray.core.proxy.mtproto;
5 option go_package = "github.com/v2fly/v2ray-core/v4/proxy/mtproto";
6 option java_package = "com.v2ray.core.proxy.mtproto";
/dports/net-im/telegram-cli/tg-20200106/
H A DMakefile.tgl1mtproto-common.o ${OBJ}/mtproto-client.o ${OBJ}/mtproto-key.o ${OBJ}/queries.o ${OBJ}/structures.o…
39 …rypted_scheme.tl ${srcdir}/tgl/binlog.tl ${srcdir}/tgl/append.tl ${srcdir}/tgl/mtproto.tl | ${AUTO}
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/
H A DDhCache.h15 class DhCache final : public mtproto::DhCallback {
21 static mtproto::DhCallback *instance() { in instance()
/dports/net-im/telegram-cli/tg-20200106/tgl/
H A DMakefile.in22mtproto-common.o ${OBJ}/mtproto-client.o ${OBJ}/mtproto-key.o ${OBJ}/queries.o ${OBJ}/structures.o…
78 …r}/scheme.tl ${srcdir}/encrypted_scheme.tl ${srcdir}/binlog.tl ${srcdir}/mtproto.tl ${srcdir}/appe…
/dports/net-im/telegram-purple/telegram-purple-1.4.3/tgl/
H A DMakefile.in22mtproto-common.o ${OBJ}/mtproto-client.o ${OBJ}/mtproto-key.o ${OBJ}/queries.o ${OBJ}/structures.o…
89 …r}/scheme.tl ${srcdir}/encrypted_scheme.tl ${srcdir}/binlog.tl ${srcdir}/mtproto.tl ${srcdir}/appe…

12345