aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto-ops.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2017-01-18 13:54:05 -0600
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-07 19:23:05 +0000
commit7ff07928ad304a797235cd2c5a2317bc417e7994 (patch)
treed7854221ce4693a8bf725797485414f141a1cfba /src/crypto/crypto-ops.h
parentepee: add do while(0) around brace statement in a macro (diff)
downloadmonero-7ff07928ad304a797235cd2c5a2317bc417e7994.tar.xz
sc_mul and sc_muladd
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 37edf5b6d..5091de1f6 100644
--- a/src/crypto/crypto-ops.h
+++ b/src/crypto/crypto-ops.h
@@ -141,6 +141,8 @@ void sc_reduce32(unsigned char *);
void sc_add(unsigned char *, const unsigned char *, const unsigned char *);
void sc_sub(unsigned char *, const unsigned char *, const unsigned char *);
void sc_mulsub(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *);
+void sc_mul(unsigned char *, const unsigned char *, const unsigned char *);
+void sc_muladd(unsigned char *s, const unsigned char *a, const unsigned char *b, const unsigned char *c);
int sc_check(const unsigned char *);
int sc_isnonzero(const unsigned char *); /* Doesn't normalize */