Skip to content

Conversation

@tarcieri
Copy link
Member

This updates the crates in this repo to leverage the following generic implementations recently added to the ecdsa crate:

The p256 crate is able to directly utilize the generic implementation from the ecdsa crate.

The k256 crate retains its previous custom implementation, which provides a secp256k1-specific take on public key recovery, but can also directly leverage optimizations for computing linear combinations, which there are not presently traits in elliptic-curve or group to express.

@tarcieri tarcieri force-pushed the ecdsa-updates branch 2 times, most recently from 3ad2115 to 6a8905a Compare November 18, 2021 03:21
This updates the crates in this repo to leverage the following generic
implementations recently added to the `ecdsa` crate:

- Sign: RustCrypto/signatures#396
- Verify: RustCrypto/signatures#397

The `p256` crate is able to directly utilize the generic implementation
from the `ecdsa` crate.

The `k256` crate retains its previous custom implementation, which
provides a secp256k1-specific take on public key recovery, but can also
directly leverage optimizations for computing linear combinations, which
there are not presently traits in `elliptic-curve` or `group` to
express.
@tarcieri tarcieri merged commit 79dac2d into master Nov 18, 2021
@tarcieri tarcieri deleted the ecdsa-updates branch November 18, 2021 03:36
@tarcieri tarcieri mentioned this pull request Dec 14, 2021
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