ecdsa: Implementation of recoverable signatures#566
ecdsa: Implementation of recoverable signatures#566aumetra wants to merge 2 commits intoRustCrypto:masterfrom
Conversation
|
@aumetra I was just about to take a look at implementing something like this I'd prefer not to define a separate |
|
Sure, the implementation shouldn't be too difficult to move to the existing Should the |
|
@aumetra that was my plan, yes. I was planning on working on it this weekend, as part of a larger effort to move to |
|
Oh I see, if you feel more comfortable doing it yourself you can just take whatever I implemented so far (if it's of any use to you) and base it off of that, I don't mind |
|
Closing in favor of #576 |
Adds an initial implementation of Ethereum-style recoverable signatures that's generic over the underlying curve.
This is mostly a port of the code in the
k256crate adapted to work generically."Marked ready for review" checklist:
SignatureEncodingfor the recoverable signaturecfgflagsRecoverySignatureRecoveryId(instead of always returningNone)Trial recovery was tested with P256 and P384 and their respective preferred digest
Closes #525