diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-24 21:59:49 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-14 10:18:01 +0000 |
commit | 607301bf6dd4531c43d8e2f15c7cd94a92693918 (patch) | |
tree | 1c8798824aad22b82b1ab0f37bbdfc108ef1449e /src/ringct/rctOps.h | |
parent | Merge pull request #4342 (diff) | |
download | monero-607301bf6dd4531c43d8e2f15c7cd94a92693918.tar.xz |
rct: avoid repeated unnecessary conversions when accummulating
Diffstat (limited to 'src/ringct/rctOps.h')
-rw-r--r-- | src/ringct/rctOps.h | 1 |
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 |