Skip to content

Only use classic binary GCD in Jacobi symbol calculation#1313

Open
andrewwhitehead wants to merge 1 commit into
RustCrypto:masterfrom
andrewwhitehead:fix/jacobi
Open

Only use classic binary GCD in Jacobi symbol calculation#1313
andrewwhitehead wants to merge 1 commit into
RustCrypto:masterfrom
andrewwhitehead:fix/jacobi

Conversation

@andrewwhitehead

Copy link
Copy Markdown
Contributor

This is much slower for large integers, but avoids incorrect results.

Fixes #1295

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.03%. Comparing base (e25b054) to head (4d66e26).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1313      +/-   ##
==========================================
- Coverage   91.04%   91.03%   -0.01%     
==========================================
  Files         189      189              
  Lines       22598    22580      -18     
==========================================
- Hits        20574    20556      -18     
  Misses       2024     2024              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Jacobi symbol computation error

1 participant