Skip to content

Conversation

@andrewwhitehead
Copy link
Contributor

Fixes #707

@tarcieri
Copy link
Member

Can you add a regression test as well?

@tarcieri tarcieri mentioned this pull request Dec 10, 2024
@tarcieri tarcieri changed the title Fix modulus leading zeros calculation for MontyForm, BoxedMontyForm Fix modulus leading zeros calculation for (Boxed)MontyForm Dec 11, 2024
@tarcieri tarcieri merged commit c128bbd into RustCrypto:master Dec 11, 2024
18 checks passed

let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(1);
for n in 0..1000 {
for n in 0..1500 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably would be more reliable to have a specialized regression test. And a proptest instead of iterating a 1000 times.

@tarcieri tarcieri mentioned this pull request Jan 22, 2025
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.

lincomb: unexpected failure at index 1309

3 participants