-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Other possible sqrt-related operations #33
Comments
zcash/halo2#120 implements a generalization of |
#33 adds the |
I think you mean #93. |
We removed the
SqrtField
trait inff 0.7.0
, as all fields that we intend theField
trait to apply to support asqrt
operation (ff_derive
is able to derive implementations forp = 3 (mod 4)
andp = 1 (mod 16)
). More precisely,SqrtField
was a separate trait becauseField
was previously implemented on thepairing::bls12_381::{Fq6, Fq12}
extension fields of BLS12-381, which didn't have square-root operations; these are not part of thebls12_381
crate's public API.In #6, @hdevalence had separately suggested adding several sqrt-related operations to the then-existing
SqrtField
trait:If these would be sufficiently widely-useful, they could be added to the
Field
trait. If not, we could consider re-introducing theSqrtField
trait.The text was updated successfully, but these errors were encountered: