Rename crypto to RSA.
GitOrigin-RevId: 4c15f44c0d5c618933b7c1aecb3580664a15a557
This commit is contained in:
parent
f8a550124c
commit
6f885c41d9
@ -356,7 +356,6 @@ set(TL_DOTNET_SCHEME_SOURCE
|
||||
|
||||
set(TDLIB_SOURCE
|
||||
td/mtproto/AuthData.cpp
|
||||
td/mtproto/crypto.cpp
|
||||
td/mtproto/DhHandshake.cpp
|
||||
td/mtproto/Handshake.cpp
|
||||
td/mtproto/HandshakeActor.cpp
|
||||
@ -367,6 +366,7 @@ set(TDLIB_SOURCE
|
||||
td/mtproto/PingConnection.cpp
|
||||
td/mtproto/ProxySecret.cpp
|
||||
td/mtproto/RawConnection.cpp
|
||||
td/mtproto/RSA.cpp
|
||||
td/mtproto/SessionConnection.cpp
|
||||
td/mtproto/TcpTransport.cpp
|
||||
td/mtproto/TlsInit.cpp
|
||||
@ -494,7 +494,6 @@ set(TDLIB_SOURCE
|
||||
|
||||
td/mtproto/AuthData.h
|
||||
td/mtproto/AuthKey.h
|
||||
td/mtproto/crypto.h
|
||||
td/mtproto/CryptoStorer.h
|
||||
td/mtproto/DhHandshake.h
|
||||
td/mtproto/Handshake.h
|
||||
@ -511,6 +510,7 @@ set(TDLIB_SOURCE
|
||||
td/mtproto/ProxySecret.h
|
||||
td/mtproto/Query.h
|
||||
td/mtproto/RawConnection.h
|
||||
td/mtproto/RSA.h
|
||||
td/mtproto/SessionConnection.h
|
||||
td/mtproto/TcpTransport.h
|
||||
td/mtproto/TlsInit.h
|
||||
|
@ -6,7 +6,6 @@
|
||||
//
|
||||
#include "td/mtproto/Handshake.h"
|
||||
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/KDF.h"
|
||||
#include "td/mtproto/utils.h"
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "td/mtproto/AuthKey.h"
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/DhHandshake.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
|
||||
#include "td/utils/buffer.h"
|
||||
#include "td/utils/Slice.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
|
||||
#include "td/mtproto/mtproto_api.h"
|
||||
|
||||
@ -25,7 +25,6 @@
|
||||
|
||||
namespace td {
|
||||
|
||||
/*** RSA ***/
|
||||
RSA::RSA(BigNum n, BigNum e) : n_(std::move(n)), e_(std::move(e)) {
|
||||
}
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
namespace td {
|
||||
|
||||
/*** RSA ***/
|
||||
class RSA {
|
||||
public:
|
||||
RSA clone() const;
|
||||
@ -33,7 +32,6 @@ class RSA {
|
||||
BigNum e_;
|
||||
};
|
||||
|
||||
/*** PublicRsaKeyInterface ***/
|
||||
class PublicRsaKeyInterface {
|
||||
public:
|
||||
virtual ~PublicRsaKeyInterface() = default;
|
@ -27,8 +27,8 @@
|
||||
|
||||
#include "td/mtproto/AuthData.h"
|
||||
#include "td/mtproto/AuthKey.h"
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/RawConnection.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
#include "td/mtproto/TransportType.h"
|
||||
|
||||
#include "td/net/HttpQuery.h"
|
||||
|
@ -99,11 +99,11 @@
|
||||
|
||||
#include "td/db/binlog/BinlogEvent.h"
|
||||
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/DhHandshake.h"
|
||||
#include "td/mtproto/Handshake.h"
|
||||
#include "td/mtproto/HandshakeActor.h"
|
||||
#include "td/mtproto/RawConnection.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
#include "td/mtproto/TransportType.h"
|
||||
|
||||
#include "td/utils/buffer.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "td/telegram/net/DcId.h"
|
||||
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/port/RwMutex.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include "td/telegram/telegram_api.h"
|
||||
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/Time.h"
|
||||
|
@ -18,11 +18,11 @@
|
||||
#include "td/telegram/StateManager.h"
|
||||
#include "td/telegram/UniqueId.h"
|
||||
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/DhHandshake.h"
|
||||
#include "td/mtproto/Handshake.h"
|
||||
#include "td/mtproto/HandshakeActor.h"
|
||||
#include "td/mtproto/RawConnection.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
#include "td/mtproto/SessionConnection.h"
|
||||
#include "td/mtproto/TransportType.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "td/actor/PromiseFuture.h"
|
||||
|
||||
#include "td/mtproto/AuthData.h"
|
||||
#include "td/mtproto/crypto.h"
|
||||
#include "td/mtproto/DhHandshake.h"
|
||||
#include "td/mtproto/Handshake.h"
|
||||
#include "td/mtproto/HandshakeActor.h"
|
||||
@ -18,6 +17,7 @@
|
||||
#include "td/mtproto/PingConnection.h"
|
||||
#include "td/mtproto/ProxySecret.h"
|
||||
#include "td/mtproto/RawConnection.h"
|
||||
#include "td/mtproto/RSA.h"
|
||||
#include "td/mtproto/TlsInit.h"
|
||||
#include "td/mtproto/TransportType.h"
|
||||
|
||||
|
Reference in New Issue
Block a user