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

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