forked from TrueCloudLab/frostfs-sdk-go
[#190] crypto/ecdsa: Use separate types for RFC-6979 signature algo
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7fe75d2cd9
commit
9f20d74d76
9 changed files with 105 additions and 124 deletions
|
@ -8,9 +8,6 @@ func init() {
|
|||
})
|
||||
|
||||
neofscrypto.RegisterScheme(neofscrypto.ECDSA_DETERMINISTIC_SHA256, func() neofscrypto.PublicKey {
|
||||
var key PublicKey
|
||||
key.MakeDeterministic()
|
||||
|
||||
return &key
|
||||
return new(PublicKeyRFC6979)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue