Removed not deeded code

This commit is contained in:
WolverinDEV 2019-07-07 18:15:52 +02:00
parent 1055ffec6e
commit aed36dab90

View File

@ -133,7 +133,7 @@ bool CryptionHandler::setupSharedSecretNew(const std::string &alpha, const std::
uint8_t shared[32];
uint8_t shared_iv[64];
ed25519_key_exchange(shared, (uint8_t*) publicKey, (uint8_t*) privateKey);
//ed25519_key_exchange(shared, (uint8_t*) publicKey, (uint8_t*) privateKey);
keyMul(shared, reinterpret_cast<const uint8_t *>(publicKey), reinterpret_cast<const uint8_t *>(privateKey), true); //Remote key get negated
digest::sha512((char*) shared, 32, shared_iv);