diff options
author | Shen Noether <Shen.Noether@gmx.com> | 2016-07-09 20:04:23 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:29:16 +0100 |
commit | dbb5f2d6a3d34c0fa899fd26313873cc69dbad9d (patch) | |
tree | c0ec7fe483b6918479bfa62a65396f9800fad82d /src/ringct/rctOps.h | |
parent | ringct: "simple" ringct variant (diff) | |
download | monero-dbb5f2d6a3d34c0fa899fd26313873cc69dbad9d.tar.xz |
ringct: optimization/cleanup of hash functions
Diffstat (limited to 'src/ringct/rctOps.h')
-rw-r--r-- | src/ringct/rctOps.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ringct/rctOps.h b/src/ringct/rctOps.h index ad6c520da..6438a1f03 100644 --- a/src/ringct/rctOps.h +++ b/src/ringct/rctOps.h @@ -151,6 +151,9 @@ namespace rct { key hash_to_scalar128(const void * in); key cn_fast_hash(ctkeyV PC); key hash_to_scalar(ctkeyV PC); + //for mg sigs + key cn_fast_hash(const keyV &keys); + key hash_to_scalar(const keyV &keys); //returns hashToPoint as described in https://github.com/ShenNoether/ge_fromfe_writeup key hashToPointSimple(const key &in); |