libsnark icon indicating copy to clipboard operation
libsnark copied to clipboard

prime field power check with exponentiation_gadget()

Open vadym-f opened this issue 5 years ago • 0 comments

Base field declared as my_Fp for parent gadget() class prevents verifying exponentiation in a base (prime) field.

For prime fields, it could be explicitly defined that base field is the field given (as template parameter), to complement base field definitions (my_Fp) for extensions like Fp2_model.

vadym-f avatar May 04 '19 19:05 vadym-f