Skip to content

montgomery: Use a distinct error for length checks.

Codecov / codecov/patch failed Dec 6, 2023 in 0s

75.51% of diff hit (target 91.46%)

View this Pull Request on Codecov

75.51% of diff hit (target 91.46%)

Annotations

Check warning on line 18 in src/arithmetic/error.rs

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/arithmetic/montgomery.rs#L308

Added line #L308 was not covered by tests