Updated changelog
This commit is contained in:
parent
fcffb56425
commit
741aeacead
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user