1
0
Fork 0
forked from lthn/blockchain

crypto: gcc fixup

This commit is contained in:
sowle 2021-04-11 00:18:42 +03:00
parent 457b84fd7b
commit fc82f572c2
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,10 @@
// Copyright (c) 2018-2021 Zano Project
// Copyright (c) 2012-2013 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <stddef.h> // size_t
/* From fe.h */

View file

@ -765,7 +765,7 @@ struct hash_helper_t
point_t result;
crypto::public_key pk = p.to_public_key();
ge_bytes_hash_to_ec(&result.m_p3, (const unsigned char*)&pk);
ge_bytes_hash_to_ec_32(&result.m_p3, (const unsigned char*)&pk);
return result;
}
@ -773,7 +773,7 @@ struct hash_helper_t
static point_t hp(const crypto::public_key& p)
{
point_t result;
ge_bytes_hash_to_ec(&result.m_p3, (const unsigned char*)&p);
ge_bytes_hash_to_ec_32(&result.m_p3, (const unsigned char*)&p);
return result;
}
};