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 double and lincomb_vartime methods to Monty trait #686

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

andrewwhitehead
Copy link
Contributor

This changes the signature of MontyForm::lincomb_vartime to take references, for consistency with BoxedMontyForm and the trait method. ConstMontyForm I've left with owned values, as changing to references seems to have a 15% performance penalty on the benchmark.

@tarcieri tarcieri merged commit 0c32703 into RustCrypto:master Oct 5, 2024
18 checks passed
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