github.com/goplus/igop@v0.17.0/pkg/crypto/ecdsa/go119_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.19 && !go1.20
     4  // +build go1.19,!go1.20
     5  
     6  package ecdsa
     7  
     8  import (
     9  	q "crypto/ecdsa"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "ecdsa",
    19  		Path: "crypto/ecdsa",
    20  		Deps: map[string]string{
    21  			"crypto":                                "crypto",
    22  			"crypto/aes":                            "aes",
    23  			"crypto/cipher":                         "cipher",
    24  			"crypto/elliptic":                       "elliptic",
    25  			"crypto/internal/boring":                "boring",
    26  			"crypto/internal/boring/bbig":           "bbig",
    27  			"crypto/internal/randutil":              "randutil",
    28  			"crypto/sha512":                         "sha512",
    29  			"errors":                                "errors",
    30  			"io":                                    "io",
    31  			"math/big":                              "big",
    32  			"vendor/golang.org/x/crypto/cryptobyte": "cryptobyte",
    33  			"vendor/golang.org/x/crypto/cryptobyte/asn1": "asn1",
    34  		},
    35  		Interfaces: map[string]reflect.Type{},
    36  		NamedTypes: map[string]reflect.Type{
    37  			"PrivateKey": reflect.TypeOf((*q.PrivateKey)(nil)).Elem(),
    38  			"PublicKey":  reflect.TypeOf((*q.PublicKey)(nil)).Elem(),
    39  		},
    40  		AliasTypes: map[string]reflect.Type{},
    41  		Vars:       map[string]reflect.Value{},
    42  		Funcs: map[string]reflect.Value{
    43  			"GenerateKey": reflect.ValueOf(q.GenerateKey),
    44  			"Sign":        reflect.ValueOf(q.Sign),
    45  			"SignASN1":    reflect.ValueOf(q.SignASN1),
    46  			"Verify":      reflect.ValueOf(q.Verify),
    47  			"VerifyASN1":  reflect.ValueOf(q.VerifyASN1),
    48  		},
    49  		TypedConsts:   map[string]igop.TypedConst{},
    50  		UntypedConsts: map[string]igop.UntypedConst{},
    51  	})
    52  }