type crypto/ecdsa.PrivateKey

37 uses

	crypto/ecdsa (current package)
		ecdsa.go#L168: type PrivateKey struct {
		ecdsa.go#L185: func (priv *PrivateKey) ECDH() (*ecdh.PrivateKey, error) {
		ecdsa.go#L211: func (priv *PrivateKey) Public() crypto.PublicKey {
		ecdsa.go#L218: func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
		ecdsa.go#L219: 	xx, ok := x.(*PrivateKey)
		ecdsa.go#L246: func ParseRawPrivateKey(curve elliptic.Curve, data []byte) (*PrivateKey, error) {
		ecdsa.go#L261: func parseRawPrivateKey[P ecdsa.Point[P]](c *ecdsa.Curve[P], newPoint func() P, curve elliptic.Curve, data []byte) (*PrivateKey, error) {
		ecdsa.go#L285: func (priv *PrivateKey) Bytes() ([]byte, error) {
		ecdsa.go#L300: func privateKeyBytes[P ecdsa.Point[P]](c *ecdsa.Curve[P], priv *PrivateKey) ([]byte, error) {
		ecdsa.go#L323: func (priv *PrivateKey) Sign(random io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
		ecdsa.go#L336: func GenerateKey(c elliptic.Curve, r io.Reader) (*PrivateKey, error) {
		ecdsa.go#L342: 		return &PrivateKey{PublicKey: PublicKey{Curve: c, X: bbig.Dec(x), Y: bbig.Dec(y)}, D: bbig.Dec(d)}, nil
		ecdsa.go#L362: func generateFIPS[P ecdsa.Point[P]](curve elliptic.Curve, c *ecdsa.Curve[P], rand io.Reader) (*PrivateKey, error) {
		ecdsa.go#L382: func SignASN1(r io.Reader, priv *PrivateKey, hash []byte) ([]byte, error) {
		ecdsa.go#L408: func signFIPS[P ecdsa.Point[P]](c *ecdsa.Curve[P], priv *PrivateKey, rand io.Reader, hash []byte) ([]byte, error) {
		ecdsa.go#L426: func signRFC6979(priv *PrivateKey, hash []byte, opts crypto.SignerOpts) ([]byte, error) {
		ecdsa.go#L448: func signFIPSDeterministic[P ecdsa.Point[P]](c *ecdsa.Curve[P], hashFunc crypto.Hash, priv *PrivateKey, hash []byte) ([]byte, error) {
		ecdsa.go#L556: func privateKeyFromFIPS(curve elliptic.Curve, priv *ecdsa.PrivateKey) (*PrivateKey, error) {
		ecdsa.go#L561: 	return &PrivateKey{PublicKey: *pub, D: new(big.Int).SetBytes(priv.Bytes())}, nil
		ecdsa.go#L572: var privateKeyCache fips140cache.Cache[PrivateKey, ecdsa.PrivateKey]
		ecdsa.go#L574: func privateKeyToFIPS[P ecdsa.Point[P]](c *ecdsa.Curve[P], priv *PrivateKey) (*ecdsa.PrivateKey, error) {
		ecdsa_legacy.go#L22: func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
		ecdsa_legacy.go#L32: 	priv := new(PrivateKey)
		ecdsa_legacy.go#L69: func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
		ecdsa_legacy.go#L88: func signLegacy(priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) {
		notboring.go#L14: func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyECDSA, error) {

	crypto/tls
		auth.go#L275: 	case rsa.PrivateKey, ecdsa.PrivateKey:
		tls.go#L341: 		priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey)
		tls.go#L372: 		case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey:

	crypto/x509
		pkcs8.go#L121: 	case *ecdsa.PrivateKey:
		sec1.go#L36: func ParseECPrivateKey(der []byte) (*ecdsa.PrivateKey, error) {
		sec1.go#L45: func MarshalECPrivateKey(key *ecdsa.PrivateKey) ([]byte, error) {
		sec1.go#L56: func marshalECPrivateKeyWithOID(key *ecdsa.PrivateKey, oid asn1.ObjectIdentifier) ([]byte, error) {
		sec1.go#L87: func parseECPrivateKey(namedCurveOID *asn1.ObjectIdentifier, der []byte) (key *ecdsa.PrivateKey, err error) {

	github.com/refraction-networking/utls
		auth.go#L261: 	case rsa.PrivateKey, ecdsa.PrivateKey:
		tls.go#L331: 		priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey)
		tls.go#L362: 		case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey: