Updated changelog

This commit is contained in:
WolverinDEV 2019-07-07 18:29:44 +02:00
parent fcffb56425
commit 741aeacead

View File

@ -132,7 +132,6 @@ bool CryptionHandler::setupSharedSecretNew(const std::string &alpha, const std::
string sharedIv; string sharedIv;
shared.resize(32, '\0'); shared.resize(32, '\0');
sharedIv.resize(64, '\0'); sharedIv.resize(64, '\0');
ed25519_key_exchange((uint8_t*) shared.data(), (uint8_t*) publicKey, (uint8_t*) privateKey);
shared = keyMul(reinterpret_cast<const uint8_t *>(publicKey), reinterpret_cast<const uint8_t *>(privateKey), true); //Remote key get negated shared = keyMul(reinterpret_cast<const uint8_t *>(publicKey), reinterpret_cast<const uint8_t *>(privateKey), true); //Remote key get negated
sharedIv = digest::sha512(shared); sharedIv = digest::sha512(shared);