changes...

This commit is contained in:
jtguibas
2022-10-10 22:44:59 -07:00
parent df3f8082ca
commit 51b98741b8
6 changed files with 27 additions and 32 deletions

View File

@@ -17,6 +17,10 @@ func NewFieldElement(x uint64) F {
return emulated.NewElement[EmulatedField](x)
}
func NewFieldElementFromString(x string) F {
return emulated.NewElement[EmulatedField](x)
}
func NewFieldAPI(api frontend.API) frontend.API {
field, err := emulated.NewField[EmulatedField](api)
if err != nil {