Removed not deeded code
This commit is contained in:
parent
1055ffec6e
commit
aed36dab90
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user