montgomery: Do runtime length checking during Montgomery multiplication. #1851
75.51% of diff hit (target 96.02%)
View this Pull Request on Codecov
75.51% of diff hit (target 96.02%)
Annotations
Check warning on line 18 in src/arithmetic/error.rs
codecov / codecov/patch
src/arithmetic/error.rs#L18
Added line #L18 was not covered by tests
Check warning on line 25 in src/arithmetic/error.rs
codecov / codecov/patch
src/arithmetic/error.rs#L22-L25
Added lines #L22 - L25 were not covered by tests
Check warning on line 31 in src/arithmetic/error.rs
codecov / codecov/patch
src/arithmetic/error.rs#L29-L31
Added lines #L29 - L31 were not covered by tests
Check warning on line 139 in src/arithmetic/montgomery.rs
codecov / codecov/patch
src/arithmetic/montgomery.rs#L139
Added line #L139 was not covered by tests
Check warning on line 279 in src/arithmetic/montgomery.rs
codecov / codecov/patch
src/arithmetic/montgomery.rs#L279
Added line #L279 was not covered by tests
Check warning on line 295 in src/arithmetic/montgomery.rs
codecov / codecov/patch
src/arithmetic/montgomery.rs#L295
Added line #L295 was not covered by tests
Check warning on line 308 in src/arithmetic/montgomery.rs
codecov / codecov/patch
src/arithmetic/montgomery.rs#L308
Added line #L308 was not covered by tests