forked from TrueCloudLab/frostfs-sdk-go
Alex Vanin
94476f9055
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
17 lines
514 B
Go
17 lines
514 B
Go
package frostfsecdsa
|
|
|
|
import frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto"
|
|
|
|
func init() {
|
|
frostfscrypto.RegisterScheme(frostfscrypto.ECDSA_SHA512, func() frostfscrypto.PublicKey {
|
|
return new(PublicKey)
|
|
})
|
|
|
|
frostfscrypto.RegisterScheme(frostfscrypto.ECDSA_DETERMINISTIC_SHA256, func() frostfscrypto.PublicKey {
|
|
return new(PublicKeyRFC6979)
|
|
})
|
|
|
|
frostfscrypto.RegisterScheme(frostfscrypto.ECDSA_WALLETCONNECT, func() frostfscrypto.PublicKey {
|
|
return new(PublicKeyWalletConnect)
|
|
})
|
|
}
|