aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/point.h
diff options
context:
space:
mode:
authorJ08nY2019-12-23 02:05:35 +0100
committerJ08nY2019-12-23 02:05:35 +0100
commitb43c5dba0ec18fe5a5204537855ea2b73fc674c6 (patch)
tree879c946cb9036f6db721fc44c37635c295ee2003 /pyecsca/codegen/point.h
parent878d95c4e4dadf882a205316a07bc0642f773256 (diff)
downloadpyecsca-codegen-b43c5dba0ec18fe5a5204537855ea2b73fc674c6.tar.gz
pyecsca-codegen-b43c5dba0ec18fe5a5204537855ea2b73fc674c6.tar.zst
pyecsca-codegen-b43c5dba0ec18fe5a5204537855ea2b73fc674c6.zip
Implement multipliers.
Diffstat (limited to 'pyecsca/codegen/point.h')
-rw-r--r--pyecsca/codegen/point.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyecsca/codegen/point.h b/pyecsca/codegen/point.h
index 61e7a7d..1b7e8e1 100644
--- a/pyecsca/codegen/point.h
+++ b/pyecsca/codegen/point.h
@@ -11,6 +11,8 @@ void point_set(const point_t *from, point_t *out);
void point_free(point_t *point);
+bool point_equals(const point_t *one, const point_t *other);
+
void point_to_affine(point_t *point, curve_t *curve, bn_t *out_x, bn_t *out_y);
void point_from_affine(bn_t *x, bn_t *y, curve_t *curve, point_t *out);