restrict mimc and poseidon to bn128
This commit is contained in:
parent
1c3187b062
commit
cb9bf2eb05
4 changed files with 6 additions and 0 deletions
1
changelogs/unreleased/1314-schaeff
Normal file
1
changelogs/unreleased/1314-schaeff
Normal file
|
@ -0,0 +1 @@
|
|||
Restrict mimc and poseidon to bn128
|
|
@ -1,3 +1,5 @@
|
|||
#pragma curve bn128;
|
||||
|
||||
const field[91] C = [
|
||||
0,
|
||||
20888961410941983456478427210666206549300505294776164667214940546594746570981,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#pragma curve bn128;
|
||||
// MiMCFeistel configured with 220 rounds
|
||||
|
||||
const u32 R = 220;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#pragma curve bn128;
|
||||
|
||||
const field[6][497] POSEIDON_C = [
|
||||
[
|
||||
4417881134626180770308697923359573201005643519861877412381846989312604493735,
|
||||
|
|
Loading…
Reference in a new issue