aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctOps.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-21 14:13:20 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-07 19:23:08 +0000
commitd43eef6def9b1ae06c2f9f12eb5a141cfc22f7c8 (patch)
treec43ae75cb8047aa8e508bc53d83a6c4c19f630c0 /src/ringct/rctOps.h
parentsc_mul and sc_muladd (diff)
downloadmonero-d43eef6def9b1ae06c2f9f12eb5a141cfc22f7c8.tar.xz
ringct: add a version of addKeys which returns the result
Diffstat (limited to '')
-rw-r--r--src/ringct/rctOps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ringct/rctOps.h b/src/ringct/rctOps.h
index 412450c18..1ff2e257b 100644
--- a/src/ringct/rctOps.h
+++ b/src/ringct/rctOps.h
@@ -123,6 +123,7 @@ namespace rct {
//for curve points: AB = A + B
void addKeys(key &AB, const key &A, const key &B);
+ rct::key addKeys(const key &A, const key &B);
//aGB = aG + B where a is a scalar, G is the basepoint, and B is a point
void addKeys1(key &aGB, const key &a, const key & B);
//aGbB = aG + bB where a, b are scalars, G is the basepoint and B is a point