aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctOps.cpp
diff options
context:
space:
mode:
authorShen Noether <Shen.Noether@gmx.com>2016-06-02 17:23:30 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:27:54 +0100
commit98f4c6f7eba9d4862390e2ea649328221764cf83 (patch)
tree81ccd59b55eedcdbf44ecdf3d76d359d90be76a7 /src/ringct/rctOps.cpp
parenttests: zero inputs/outputs are in fact supposed to be accepted (diff)
downloadmonero-98f4c6f7eba9d4862390e2ea649328221764cf83.tar.xz
ringct: fix size argument to cn_fast_hash
Ported from Shen's RingCT repo
Diffstat (limited to '')
-rw-r--r--src/ringct/rctOps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctOps.cpp b/src/ringct/rctOps.cpp
index 0858dc4f4..9e45e0ac9 100644
--- a/src/ringct/rctOps.cpp
+++ b/src/ringct/rctOps.cpp
@@ -397,7 +397,7 @@ namespace rct {
m[i * 64 + 32 + j] = PC[i].mask[j];
}
}
- cn_fast_hash(rv, &m[0], l);
+ cn_fast_hash(rv, &m[0], 2*l);
return rv;
}