From 98f4c6f7eba9d4862390e2ea649328221764cf83 Mon Sep 17 00:00:00 2001 From: Shen Noether Date: Thu, 2 Jun 2016 17:23:30 +0100 Subject: ringct: fix size argument to cn_fast_hash Ported from Shen's RingCT repo --- src/ringct/rctOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3