Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

montgomery: Do runtime length checking during Montgomery multiplication. #1851

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

montgomery: Use a distinct error for length checks.

9a393e1
Select commit
Loading
Failed to load commit list.
Open

montgomery: Do runtime length checking during Montgomery multiplication. #1851

montgomery: Use a distinct error for length checks.
9a393e1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 6, 2023 in 0s

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

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