Skip to content

Remove dependency on cfg(target_pointer_width) in src/scalar.rs #35

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

Closed
wants to merge 2 commits into from

Conversation

dot-asm
Copy link

@dot-asm dot-asm commented Feb 2, 2022

And even simplify some conversions.

In reply to #34.

impl PrimeFieldBits for Scalar {
// Representation in non-Montgomery form.
type ReprBits = ReprBits;
type ReprBits = [u8; 32];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change doesn't quite work for us, as I am trying to mirror this: https://github.com/zkcrypto/bls12_381/blob/main/src/scalar.rs#L729

@vmx
Copy link
Contributor

vmx commented May 26, 2025

Closing, see the comment in the review.

@vmx vmx closed this May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants