Closed dis2 closed 6 years ago
Fq/Fq2 (and soon to be Fq12 for gt) is now abstracted to common interface https://github.com/dis2/bls12/blob/master/field.go
This presents some quirks in regards to things like FromInt/ToInt (which now operate on vectors of ints). SetOne/SetZero now fit an interface for marshalling, and thus can't return self for chaining. Use G1One() etc.
Thanks for updating this with your latest changes!
Fq/Fq2 (and soon to be Fq12 for gt) is now abstracted to common interface https://github.com/dis2/bls12/blob/master/field.go
This presents some quirks in regards to things like FromInt/ToInt (which now operate on vectors of ints). SetOne/SetZero now fit an interface for marshalling, and thus can't return self for chaining. Use G1One() etc.