aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctOps.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-24 21:59:49 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-14 10:18:01 +0000
commit607301bf6dd4531c43d8e2f15c7cd94a92693918 (patch)
tree1c8798824aad22b82b1ab0f37bbdfc108ef1449e /src/ringct/rctOps.h
parentMerge pull request #4342 (diff)
downloadmonero-607301bf6dd4531c43d8e2f15c7cd94a92693918.tar.xz
rct: avoid repeated unnecessary conversions when accummulating
Diffstat (limited to 'src/ringct/rctOps.h')
-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 50645821c..60e920b3a 100644
--- a/src/ringct/rctOps.h
+++ b/src/ringct/rctOps.h
@@ -132,6 +132,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);
+ rct::key addKeys(const keyV &A);
//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