Skip to content

Conversation

@tarcieri
Copy link
Member

Replaces struct MontyParams and struct BoxedMontyParamsInner with type aliases for a single struct which is generic around U: Unsigned, as these two types previously had identical structure and only differed in the unsigned integer type they used.

This makes it possible to consolidate some impls generically.

Replaces `struct MontyParams` and `struct BoxedMontyParamsInner` with
type aliases for a single struct which is generic around `U: Unsigned`,
as these two types previously had identical structure and only differed
in the unsigned integer type they used.

This makes it possible to consolidate some impls generically.
@tarcieri tarcieri force-pushed the crypto-bigint/unified-monty-params branch from 9b972af to 105196e Compare January 18, 2026 07:01
@codecov
Copy link

codecov bot commented Jan 18, 2026

Codecov Report

❌ Patch coverage is 10.52632% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.60%. Comparing base (8154d5b) to head (105196e).

Files with missing lines Patch % Lines
src/modular/monty_params.rs 11.11% 48 Missing ⚠️
src/modular/boxed_monty_form.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1107      +/-   ##
==========================================
- Coverage   79.65%   79.60%   -0.05%     
==========================================
  Files         176      177       +1     
  Lines       18212    18222      +10     
==========================================
  Hits        14506    14506              
- Misses       3706     3716      +10     

☔ View full report in Codecov by Sentry.
📢 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.

2 participants