forked from lthn/blockchain
crypto: gcc fixup
This commit is contained in:
parent
457b84fd7b
commit
fc82f572c2
2 changed files with 4 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue