Skip to content
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

Add BitOps trait #507

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Add BitOps trait #507

merged 1 commit into from
Dec 27, 2023

Conversation

fjarri
Copy link
Contributor

@fjarri fjarri commented Dec 25, 2023

  • Add a trait for various bit counting/setting operations. Some were moved from the Integer trait.
  • Extract the implementations of various methods into functions acting on &[Limb], to be shared between Uint and BoxedUint.

src/traits.rs Outdated Show resolved Hide resolved
@fjarri fjarri changed the title Add BitOperations trait Add BitOps trait Dec 26, 2023
@tarcieri tarcieri merged commit 3ce99d4 into RustCrypto:master Dec 27, 2023
16 checks passed
@fjarri fjarri deleted the bit-traits branch December 27, 2023 18:30
@tarcieri tarcieri mentioned this pull request Jan 22, 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.

2 participants