Skip to content

Update bingcd#846

Merged
tarcieri merged 42 commits intoRustCrypto:masterfrom
erik-3milabs:update-gcd
Jul 3, 2025
Merged

Update bingcd#846
tarcieri merged 42 commits intoRustCrypto:masterfrom
erik-3milabs:update-gcd

Conversation

@erik-3milabs
Copy link
Contributor

@erik-3milabs erik-3milabs commented Jun 17, 2025

This PR

  • refactors the bingcd code to better locations in the crate,
  • fixes a bug in bingcd (as shown in 110735a), and
  • support Int::bingcd
  • speeds up the bingcd test suite (as requested in Binary GCD #755)
  • Implement bingcd_vartime

@erik-3milabs erik-3milabs marked this pull request as ready for review June 23, 2025 08:06
@erik-3milabs
Copy link
Contributor Author

@erik-3milabs is this ready for review?

Yup! Forgot to press "review"; wanted to make sure the CI passed before I did.

@erik-3milabs
Copy link
Contributor Author

@tarcieri this one is ready for review

@erik-3milabs erik-3milabs requested a review from tarcieri June 25, 2025 06:41
@erik-3milabs
Copy link
Contributor Author

@tarcieri do you have a projected timeline on reviewing/merging this and the other three binxgcd PRs?

@tarcieri
Copy link
Member

@erik-3milabs I can take a look in the next few days though I’m busy today

@erik-3milabs
Copy link
Contributor Author

@erik-3milabs I can take a look in the next few days though I’m busy today

Excellent. No rush; just wanted to know what to expect. I'll keep an eye out for any notifications on this thread :)

Comment on lines 83 to 85

[profile.dev]
opt-level = 2
Copy link
Member

Choose a reason for hiding this comment

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

This is probably good to leave around, IMO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I readded these lines.

@erik-3milabs
Copy link
Contributor Author

Clippy is failing in Rust v1.88. Posted the fix in #859.

@erik-3milabs
Copy link
Contributor Author

@tarcieri fixed the CI & the two points you mentioned. Let me know if there is anything else I can do to have this PR merged.

@tarcieri tarcieri merged commit 5222e72 into RustCrypto:master Jul 3, 2025
23 checks passed
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.

4 participants