1
0
Fork 0
mirror of synced 2025-09-23 04:08:33 +00:00

restrict mimc and poseidon to bn128

This commit is contained in:
schaeff 2023-05-23 10:21:24 +02:00
parent 1c3187b062
commit cb9bf2eb05
4 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
Restrict mimc and poseidon to bn128

View file

@ -1,3 +1,5 @@
#pragma curve bn128;
const field[91] C = [
0,
20888961410941983456478427210666206549300505294776164667214940546594746570981,

View file

@ -1,3 +1,4 @@
#pragma curve bn128;
// MiMCFeistel configured with 220 rounds
const u32 R = 220;

View file

@ -1,3 +1,5 @@
#pragma curve bn128;
const field[6][497] POSEIDON_C = [
[
4417881134626180770308697923359573201005643519861877412381846989312604493735,