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

Div-by-2 adjustment #212

Merged
merged 2 commits into from
Apr 20, 2023
Merged

Div-by-2 adjustment #212

merged 2 commits into from
Apr 20, 2023

Conversation

fjarri
Copy link
Contributor

@fjarri fjarri commented Apr 20, 2023

A minor improvement I missed in the original PR.

  • use shr_1() instead of calling is_odd() separately
  • update the docstring of shr_1() to reflect that it now returns a CtChoice

@tarcieri tarcieri merged commit 2a29f9a into RustCrypto:master Apr 20, 2023
@fjarri fjarri deleted the div-by-2-p2 branch April 21, 2023 17:17
@tarcieri tarcieri mentioned this pull request Apr 26, 2023
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