Increase the number of pedersen hash generators, exercise all test vectors.

This commit is contained in:
Taylor Hornby
2019-08-29 15:57:02 -06:00
committed by Jack Grigg
parent 4dff8055bf
commit 3701c2b442
2 changed files with 17 additions and 11 deletions

View File

@@ -220,7 +220,7 @@ impl JubjubBls12 {
{
let mut pedersen_hash_generators = vec![];
for m in 0..5 {
for m in 0..6 {
use byteorder::{LittleEndian, WriteBytesExt};
let mut segment_number = [0u8; 4];