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

Add constant-time MontyParams::new #518

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Add constant-time MontyParams::new #518

merged 1 commit into from
Dec 27, 2023

Conversation

tarcieri
Copy link
Member

Adds a constant-time equivalent to MontyParams::new_vartime

Adds a constant-time equivalent to `MontyParams::new_vartime`
@tarcieri tarcieri merged commit a39b404 into master Dec 27, 2023
16 checks passed
@tarcieri tarcieri deleted the monty-params-ct-new branch December 27, 2023 01:53
@fjarri
Copy link
Contributor

fjarri commented Dec 27, 2023

Is there a big performance difference between vartime and constant-time here? Could we just remove the vartime one?

@tarcieri
Copy link
Member Author

See #521. The new_vartime constructor is 2.75x faster

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

2 participants