diff --git a/src/protocol/CryptionHandler.cpp b/src/protocol/CryptionHandler.cpp index fb6ff19..18c6e1c 100644 --- a/src/protocol/CryptionHandler.cpp +++ b/src/protocol/CryptionHandler.cpp @@ -132,7 +132,6 @@ bool CryptionHandler::setupSharedSecretNew(const std::string &alpha, const std:: string sharedIv; shared.resize(32, '\0'); sharedIv.resize(64, '\0'); - ed25519_key_exchange((uint8_t*) shared.data(), (uint8_t*) publicKey, (uint8_t*) privateKey); shared = keyMul(reinterpret_cast(publicKey), reinterpret_cast(privateKey), true); //Remote key get negated sharedIv = digest::sha512(shared);