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