Skip to content

Add ECDSA verification benchmarks #1772

Closed

Description

@briansmith

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.

Activity

  1. self-assigned this
    on Oct 26, 2023
  2. briansmith commented on Oct 26, 2023

    @briansmith
    OwnerAuthor

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

  3. added a commit that references this issue on Oct 27, 2023
    785e17e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions