ringct: fix size argument to cn_fast_hash

Ported from Shen's RingCT repo
This commit is contained in:
Shen Noether 2016-06-02 17:23:30 +01:00 committed by moneromooo-monero
parent 720ac85553
commit 98f4c6f7eb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}