-
Notifications
You must be signed in to change notification settings - Fork 0
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
Encodable curve #1
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
digest::typenum::UInt< | ||
digest::typenum::UInt< | ||
digest::typenum::UInt< | ||
digest::typenum::UInt< | ||
digest::typenum::UInt< | ||
digest::typenum::UInt<digest::typenum::UTerm, digest::consts::B1>, | ||
digest::consts::B0, | ||
>, | ||
digest::consts::B0, | ||
>, | ||
digest::consts::B0, | ||
>, | ||
digest::consts::B0, | ||
>, | ||
digest::consts::B0, | ||
>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use typenum::consts::U32
instead of writing everything with bits like here. For large values that aren't in typenum::consts
, you can use the typenum-consts
crate.
We are changing the implementation of PrimeField for Dalek (from using [u8,32] to using the new elliptic_curve::array::array<u8,32> structs. This is something that they will need to do upstream eventually, but there is no clear timeline. We need to make this change to have the version of Primefield used by Dalek be the same as the version used by other curves (k256 for example).
We are bumping versions of common crates to the versions used in async-mpc.
We are adding many implementations that are related to the EncodableCurve trait in async-mpc
The async-mpc PR is here: https://github.com/elusiv-privacy/async-mpc/pull/168