aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto-ops.h
diff options
context:
space:
mode:
authorkoe <ukoe@protonmail.com>2022-12-01 17:53:17 -0600
committerkoe <ukoe@protonmail.com>2023-01-03 16:50:08 -0600
commitb1bce857c90ee06110e38dfaf78df4b1d20f2b90 (patch)
tree1c154045b39e4c6fe6efd2ce89d75a960a45e956 /src/crypto/crypto-ops.h
parentMerge pull request #8635 (diff)
downloadmonero-b1bce857c90ee06110e38dfaf78df4b1d20f2b90.tar.xz
miscellaneous crypto updates
Diffstat (limited to '')
-rw-r--r--src/crypto/crypto-ops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/crypto-ops.h b/src/crypto/crypto-ops.h
index e4901e080..7a6f0789a 100644
--- a/src/crypto/crypto-ops.h
+++ b/src/crypto/crypto-ops.h
@@ -30,6 +30,8 @@
#pragma once
+#include <stdint.h>
+
/* From fe.h */
typedef int32_t fe[10];
@@ -161,5 +163,7 @@ 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);
+void fe_mul(fe out, const fe, const fe);
+void fe_0(fe h);
int ge_p3_is_point_at_infinity_vartime(const ge_p3 *p);