Updated changelog

This commit is contained in:
WolverinDEV 2019-07-07 18:42:48 +02:00
parent 0bf70698e5
commit 885ce5d057
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void _fe_neg(fe h, const fe f) {
h[9] = h9;
}
inline void keyMul(uint8_t* target_buffer, const uint8_t* publicKey /* compressed */, const uint8_t* privateKey /* uncompressed */, bool negate){
inline void keyMul(uint8_t(& target_buffer)[32], const uint8_t* publicKey /* compressed */, const uint8_t* privateKey /* uncompressed */, bool negate){
ge_p3 keyA{};
ge_p2 result{};
@ -122,6 +122,7 @@ inline void keyMul(uint8_t* target_buffer, const uint8_t* publicKey /* compresse
ge_tobytes(target_buffer, &result);
}
bool CryptionHandler::setupSharedSecretNew(const std::string &alpha, const std::string &beta, const char* privateKey /* uncompressed */, const char* publicKey /* compressed */) {
if(alpha.length() != 10 || beta.length() != 54)
return false;