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 ECDSA verification benchmarks #1772

Closed
briansmith opened this issue Oct 26, 2023 · 1 comment
Closed

Add ECDSA verification benchmarks #1772

briansmith opened this issue Oct 26, 2023 · 1 comment
Assignees

Comments

@briansmith
Copy link
Owner

We need benchmarks that verify ECDSA signatures in order to make progress on various improvements to ECDSA and to support the project of moving from C to Rust.

These benchmarks should use a fixed ECDSA public key loaded from a checked-in file and a fixed (set of) signature(s). Don't generate a new ECDSA keypair as part of the benchmark scaffolding, and don't generate new signatures in the scaffolding, because the ECDSA verification code is variable-time with respect to the bit pattern in the signature (the values of r and s), and we want the benchmarks to provide reproducible/comparable timing.

@briansmith
Copy link
Owner Author

PR #1773 provides a good example of how to do this.

vkrasnov added a commit to vkrasnov/ring that referenced this issue Oct 27, 2023
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

No branches or pull requests

1 participant