diff options
author | Shen Noether <Shen.Noether@gmx.com> | 2016-06-02 17:23:30 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:27:54 +0100 |
commit | 98f4c6f7eba9d4862390e2ea649328221764cf83 (patch) | |
tree | 81ccd59b55eedcdbf44ecdf3d76d359d90be76a7 /src/ringct/rctOps.cpp | |
parent | tests: zero inputs/outputs are in fact supposed to be accepted (diff) | |
download | monero-98f4c6f7eba9d4862390e2ea649328221764cf83.tar.xz |
ringct: fix size argument to cn_fast_hash
Ported from Shen's RingCT repo
Diffstat (limited to 'src/ringct/rctOps.cpp')
-rw-r--r-- | src/ringct/rctOps.cpp | 2 |
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; } |