diff options
author | koe <ukoe@protonmail.com> | 2021-11-08 18:14:17 -0600 |
---|---|---|
committer | koe <ukoe@protonmail.com> | 2022-01-25 07:14:46 -0600 |
commit | c36ea26e5c6b94f107cc1aeb02a45cfc5a7c38ef (patch) | |
tree | 06ead3fb8c9b88df1084d475d0673b88811a7183 /src/crypto/crypto-ops.h | |
parent | Merge pull request #8021 (diff) | |
download | monero-c36ea26e5c6b94f107cc1aeb02a45cfc5a7c38ef.tar.xz |
fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order
Diffstat (limited to '')
-rw-r--r-- | src/crypto/crypto-ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/crypto-ops.h b/src/crypto/crypto-ops.h index 22f76974b..96da16cbd 100644 --- a/src/crypto/crypto-ops.h +++ b/src/crypto/crypto-ops.h @@ -162,4 +162,4 @@ void fe_add(fe h, const fe f, const fe g); void fe_tobytes(unsigned char *, const fe); void fe_invert(fe out, const fe z); -int ge_p3_is_point_at_infinity(const ge_p3 *p); +int ge_p3_is_point_at_infinity_vartime(const ge_p3 *p); |