mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order
This commit is contained in:
parent
eec3a6014c
commit
c36ea26e5c
7 changed files with 111 additions and 11 deletions
|
@ -46,4 +46,6 @@ void random_scalar(crypto::ec_scalar &res);
|
|||
void hash_to_scalar(const void *data, std::size_t length, crypto::ec_scalar &res);
|
||||
void hash_to_point(const crypto::hash &h, crypto::ec_point &res);
|
||||
void hash_to_ec(const crypto::public_key &key, crypto::ec_point &res);
|
||||
bool check_ge_p3_identity_failure(const crypto::public_key &point);
|
||||
bool check_ge_p3_identity_success(const crypto::public_key &point);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue