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

montgomery: Do runtime length checking during Montgomery multiplication. #1851

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    3c0f266 View commit details
    Browse the repository at this point in the history
  2. montgomery: Avoid using debug_assert! for length checks.

    Always enforce the bounds checks for `bn_mul_mont`.
    briansmith committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3ef1209 View commit details
    Browse the repository at this point in the history
  3. montgomery: Enforce maximum limb length with a runtime check.

    Further clarify the memory safety.
    briansmith committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    6d11f92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a393e1 View commit details
    Browse the repository at this point in the history