aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto-ops.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-07-26 18:03:10 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:38:20 +0000
commit463434d1f7159780f64b0fe2ca4d042cb49f1b2a (patch)
treefa92dd273c2d15848564ccc828357d1ce1a5d5a5 /src/crypto/crypto-ops.h
parentunit_tests: add a few more multiexp unit tests (diff)
downloadmonero-463434d1f7159780f64b0fe2ca4d042cb49f1b2a.tar.xz
more comprehensive test for ge_p3 comparison to identity/point at infinity
Reported by QuarksLab.
Diffstat (limited to '')
-rw-r--r--src/crypto/crypto-ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/crypto-ops.h b/src/crypto/crypto-ops.h
index 52854889f..2910dafd4 100644
--- a/src/crypto/crypto-ops.h
+++ b/src/crypto/crypto-ops.h
@@ -159,3 +159,5 @@ void ge_sub(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q);
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);