MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / CreateClientToServerEncryptionHandler

Method CreateClientToServerEncryptionHandler

src/network/network_crypto.cpp:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268std::unique_ptr<NetworkEncryptionHandler> X25519AuthenticationHandler::CreateClientToServerEncryptionHandler() const
269{
270 return std::make_unique<X25519EncryptionHandler>(this->derived_keys.ClientToServer(), this->encryption_nonce);
271}
272
273std::unique_ptr<NetworkEncryptionHandler> X25519AuthenticationHandler::CreateServerToClientEncryptionHandler() const
274{

Calls 1

ClientToServerMethod · 0.80

Tested by

no test coverage detected