Skip to content

Conversation

@tarcieri
Copy link
Member

This includes changes to BoxedMontyForm::new that handle cloning the Arc around the BoxedMontyParams internally, rather than requiring the caller to clone it.

It also renames the unchecked square root to floor_sqrt, which is fine for the one usage here (in the prime recovery implementation), because it immediately performs a check on the result.

This includes changes to `BoxedMontyForm::new` that handle cloning the
`Arc` around the `BoxedMontyParams` internally, rather than requiring
the caller to clone it.

It also renames the unchecked square root to `floor_sqrt`, which is fine
for the one usage here (in the prime recovery implementation), because
it immediately performs a check on the result.
@tarcieri tarcieri force-pushed the crypto-bigint/v0.7.0-rc.16 branch from e6a5b49 to d9f8564 Compare January 12, 2026 19:50
@tarcieri tarcieri merged commit d891ab1 into master Jan 12, 2026
12 checks passed
@tarcieri tarcieri deleted the crypto-bigint/v0.7.0-rc.16 branch January 12, 2026 19:56
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