diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-10-22 22:10:01 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-10-22 22:10:01 +0200 |
commit | 2bb0bdc8b8afa1907c8590113d99f2cd58cfce8d (patch) | |
tree | 49226dabe545f93346fcb03ca8c2533ef6096411 /src/ringct/rctOps.h | |
parent | Merge pull request #1216 (diff) | |
parent | ringct: thread verRct and verRctSimple (diff) | |
download | monero-2bb0bdc8b8afa1907c8590113d99f2cd58cfce8d.tar.xz |
Merge pull request #1218
3429bfb ringct: thread verRct and verRctSimple (moneromooo-monero)
e06a4da ringct: remove unneeded type conversions (moneromooo-monero)
afc70df ringct: reserve space in vectors to avoid excessive reallocation (moneromooo-monero)
9ebf7b6 ringct: avoid unnecessary memcpy (moneromooo-monero)
1fe75c1 ringct: add a few consts where possible (moneromooo-monero)
ab002a1 ringct: pass vectors by const ref where possible (moneromooo-monero)
Diffstat (limited to 'src/ringct/rctOps.h')
-rw-r--r-- | src/ringct/rctOps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ringct/rctOps.h b/src/ringct/rctOps.h index 1e71c645d..a7e13eefa 100644 --- a/src/ringct/rctOps.h +++ b/src/ringct/rctOps.h @@ -149,8 +149,8 @@ namespace rct { //for mg sigs key cn_fast_hash128(const void * in); key hash_to_scalar128(const void * in); - key cn_fast_hash(ctkeyV PC); - key hash_to_scalar(ctkeyV PC); + key cn_fast_hash(const ctkeyV &PC); + key hash_to_scalar(const ctkeyV &PC); //for mg sigs key cn_fast_hash(const keyV &keys); key hash_to_scalar(const keyV &keys); |