-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
optimizationCode optimization and algorithmic improvementsCode optimization and algorithmic improvementsperformanceSpeed improvements and optimization workSpeed improvements and optimization workpriority: mediumImportant improvements that enhance functionality or performanceImportant improvements that enhance functionality or performance
Description
Batch verification for ECDSA signatures is partially done but not optimized for P-384, P-521, and secp256k1. The performance gains here are massive - we're talking 3-10x faster signature verification.
What's missing:
hpcrypt-signatures/ecdsa_p384.rs- batch verification exists but isn't optimizedhpcrypt-signatures/ecdsa_p521.rs- precomputed tables not implementedhpcrypt-signatures/ecdsa_secp256k1.rs- needs optimized batch verification
The work:
- Finish optimized batch verification for all three curves
- Add precomputed tables where beneficial
- Run benchmarks to measure improvements
- Write comprehensive tests
- Document the API and show performance numbers
This is a big win for blockchain nodes, certificate validation servers, and anything doing high-volume signature checks.
Metadata
Metadata
Assignees
Labels
optimizationCode optimization and algorithmic improvementsCode optimization and algorithmic improvementsperformanceSpeed improvements and optimization workSpeed improvements and optimization workpriority: mediumImportant improvements that enhance functionality or performanceImportant improvements that enhance functionality or performance