diff --git a/zokrates_stdlib/stdlib/hashes/mimc7/mimc7.zok b/zokrates_stdlib/stdlib/hashes/mimc7/mimc7.zok index dd7cbded7..d547105ca 100644 --- a/zokrates_stdlib/stdlib/hashes/mimc7/mimc7.zok +++ b/zokrates_stdlib/stdlib/hashes/mimc7/mimc7.zok @@ -1,3 +1,5 @@ +#pragma curve bn128; + const field[91] C = [ 0, 20888961410941983456478427210666206549300505294776164667214940546594746570981, diff --git a/zokrates_stdlib/stdlib/hashes/mimcSponge/mimcFeistel.zok b/zokrates_stdlib/stdlib/hashes/mimcSponge/mimcFeistel.zok index f887ce738..f1bc1ae6a 100644 --- a/zokrates_stdlib/stdlib/hashes/mimcSponge/mimcFeistel.zok +++ b/zokrates_stdlib/stdlib/hashes/mimcSponge/mimcFeistel.zok @@ -1,3 +1,4 @@ +#pragma curve bn128; // MiMCFeistel configured with 220 rounds const u32 R = 220; diff --git a/zokrates_stdlib/stdlib/hashes/poseidon/constants.zok b/zokrates_stdlib/stdlib/hashes/poseidon/constants.zok index 5800127a0..6f349cd24 100644 --- a/zokrates_stdlib/stdlib/hashes/poseidon/constants.zok +++ b/zokrates_stdlib/stdlib/hashes/poseidon/constants.zok @@ -1,3 +1,5 @@ +#pragma curve bn128; + const field[6][497] POSEIDON_C = [ [ 4417881134626180770308697923359573201005643519861877412381846989312604493735,