func MarshalECDSAPublicKey(ePub ECDSAPublicKey) ([]byte, error) {
	return core.MarshalECDSAPublicKey(ePub)
}
Deprecated: use github.com/libp2p/go-libp2p-core/crypto.MarshalECDSAPublicKey instead.
package crypto
import (
	"crypto/ecdsa"
	"crypto/elliptic"
	"io"
	core "github.com/libp2p/go-libp2p-core/crypto"
)
type ECDSAPrivateKey = core.ECDSAPrivateKey
type ECDSAPublicKey = core.ECDSAPublicKey
type ECDSASig = core.ECDSASig
var (
	ErrNotECDSAPubKey = core.ErrNotECDSAPubKey
	ErrNilSig = core.ErrNilSig
	ErrNilPrivateKey = core.ErrNilPrivateKey
	ECDSACurve = core.ECDSACurve
)
func GenerateECDSAKeyPair(src io.Reader) (PrivKey, PubKey, error) {
	return core.GenerateECDSAKeyPair(src)
}
func GenerateECDSAKeyPairWithCurve(curve elliptic.Curve, src io.Reader) (PrivKey, PubKey, error) {
	return core.GenerateECDSAKeyPairWithCurve(curve, src)
}
func ECDSAKeyPairFromKey(priv *ecdsa.PrivateKey) (PrivKey, PubKey, error) {
	return core.ECDSAKeyPairFromKey(priv)
}
func MarshalECDSAPrivateKey(ePriv ECDSAPrivateKey) ([]byte, error) {
	return core.MarshalECDSAPrivateKey(ePriv)
}