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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.20
     4  // +build 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  			"bytes":                                 "bytes",
    22  			"crypto":                                "crypto",
    23  			"crypto/aes":                            "aes",
    24  			"crypto/cipher":                         "cipher",
    25  			"crypto/ecdh":                           "ecdh",
    26  			"crypto/elliptic":                       "elliptic",
    27  			"crypto/internal/bigmod":                "bigmod",
    28  			"crypto/internal/boring":                "boring",
    29  			"crypto/internal/boring/bbig":           "bbig",
    30  			"crypto/internal/nistec":                "nistec",
    31  			"crypto/internal/randutil":              "randutil",
    32  			"crypto/sha512":                         "sha512",
    33  			"crypto/subtle":                         "subtle",
    34  			"errors":                                "errors",
    35  			"io":                                    "io",
    36  			"math/big":                              "big",
    37  			"sync":                                  "sync",
    38  			"vendor/golang.org/x/crypto/cryptobyte": "cryptobyte",
    39  			"vendor/golang.org/x/crypto/cryptobyte/asn1": "asn1",
    40  		},
    41  		Interfaces: map[string]reflect.Type{},
    42  		NamedTypes: map[string]reflect.Type{
    43  			"PrivateKey": reflect.TypeOf((*q.PrivateKey)(nil)).Elem(),
    44  			"PublicKey":  reflect.TypeOf((*q.PublicKey)(nil)).Elem(),
    45  		},
    46  		AliasTypes: map[string]reflect.Type{},
    47  		Vars:       map[string]reflect.Value{},
    48  		Funcs: map[string]reflect.Value{
    49  			"GenerateKey": reflect.ValueOf(q.GenerateKey),
    50  			"Sign":        reflect.ValueOf(q.Sign),
    51  			"SignASN1":    reflect.ValueOf(q.SignASN1),
    52  			"Verify":      reflect.ValueOf(q.Verify),
    53  			"VerifyASN1":  reflect.ValueOf(q.VerifyASN1),
    54  		},
    55  		TypedConsts:   map[string]igop.TypedConst{},
    56  		UntypedConsts: map[string]igop.UntypedConst{},
    57  	})
    58  }