func init() {
	ec = s256k1.S256()
	registry = make(map[CurveName]elliptic.Curve)
	registry[Secp256k1] = s256k1.S256()
	registry[Ed25519] = edwards.Edwards()
}
Init default curve (secp256k1)
package tss
import (
	"crypto/elliptic"
	"errors"
	"reflect"
	s256k1 "github.com/btcsuite/btcd/btcec"
	"github.com/decred/dcrd/dcrec/edwards/v2"
)
type CurveName string
const (
	Secp256k1 CurveName = "secp256k1"
	Ed25519   CurveName = "ed25519"
)
var (
	ec       elliptic.Curve
	registry map[CurveName]elliptic.Curve
)