github.com/goplus/gossa@v0.3.25/pkg/crypto/ecdsa/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package ecdsa 6 7 import ( 8 q "crypto/ecdsa" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.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 "errors": "errors", 27 "io": "io", 28 "math/big": "big", 29 "vendor/golang.org/x/crypto/cryptobyte": "cryptobyte", 30 "vendor/golang.org/x/crypto/cryptobyte/asn1": "asn1", 31 }, 32 Interfaces: map[string]reflect.Type{}, 33 NamedTypes: map[string]gossa.NamedType{ 34 "PrivateKey": {reflect.TypeOf((*q.PrivateKey)(nil)).Elem(), "", "Equal,Public,Sign"}, 35 "PublicKey": {reflect.TypeOf((*q.PublicKey)(nil)).Elem(), "", "Equal"}, 36 }, 37 AliasTypes: map[string]reflect.Type{}, 38 Vars: map[string]reflect.Value{}, 39 Funcs: map[string]reflect.Value{ 40 "GenerateKey": reflect.ValueOf(q.GenerateKey), 41 "Sign": reflect.ValueOf(q.Sign), 42 "SignASN1": reflect.ValueOf(q.SignASN1), 43 "Verify": reflect.ValueOf(q.Verify), 44 "VerifyASN1": reflect.ValueOf(q.VerifyASN1), 45 }, 46 TypedConsts: map[string]gossa.TypedConst{}, 47 UntypedConsts: map[string]gossa.UntypedConst{}, 48 }) 49 }