Daniel Lubarov 3bc34c59d8
Refactor GMiMC code (#224)
* Refactor GMiMC code

Adds a sub-trait of `Field` called `GMiMCInterface`, which is similar to `PoseidonInterface`.

This lets us have different fields with different GMiMC constants in a type-safe way.

* Remove `Interface`

* Const generic for width
2021-09-07 18:28:28 -07:00
..
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-08-23 14:22:20 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00
2021-09-07 18:28:28 -07:00