scipr-lab / libff

C++ library for Finite Fields and Elliptic Curves
Other
149 stars 82 forks source link

Adapt sage field parameter generation script to optionally output CPP code #73

Open ValarDragon opened 3 years ago

ValarDragon commented 3 years ago

To remove some of the boiler plate of adding new field, we should add method/parameter to Antoine's field parameter generation script to directly output the cpp code needed for it.

Antoine's script: https://github.com/scipr-lab/libff/blob/52d77c3ee213b0f1fb49402374f1cf099bb972dd/libff/algebra/curves/params_generator.sage