crypto/secp256k1: Fix signature malleability, adopt more efficient en… (#2239)

* crypto/secp256k1: Fix signature malleability, adopt more efficient encoding

This removes signature malleability per ADR 14, and makes secp match
the encoding in ADR 15.

* (squash this) add lock
This commit is contained in:
Dev Ojha
2018-08-28 09:32:54 +04:00
committed by Anton Kaliaev
parent 38b401657e
commit b1bc3e4f89
8 changed files with 46 additions and 30 deletions
@@ -47,7 +47,7 @@ Fork https://github.com/btcsuite/btcd, and just update the [parse sig method](ht
## Status
Proposed.
Implemented
## Consequences
+1 -2
View File
@@ -67,8 +67,7 @@ This is basically Ethereum's encoding, but without the leading recovery bit.
## Status
Proposed. The signature section seems to be agreed upon for the most part.
Needs decision on Enum types.
Implemented
## Consequences