9f20d74d76
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
13 lines
347 B
Go
13 lines
347 B
Go
package neofsecdsa
|
|
|
|
import neofscrypto "github.com/nspcc-dev/neofs-sdk-go/crypto"
|
|
|
|
func init() {
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_SHA512, func() neofscrypto.PublicKey {
|
|
return new(PublicKey)
|
|
})
|
|
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_DETERMINISTIC_SHA256, func() neofscrypto.PublicKey {
|
|
return new(PublicKeyRFC6979)
|
|
})
|
|
}
|