github.com/goplus/igop@v0.25.0/pkg/crypto/dsa/go114_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package dsa 6 7 import ( 8 q "crypto/dsa" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "dsa", 19 Path: "crypto/dsa", 20 Deps: map[string]string{ 21 "crypto/internal/randutil": "randutil", 22 "errors": "errors", 23 "io": "io", 24 "math/big": "big", 25 }, 26 Interfaces: map[string]reflect.Type{}, 27 NamedTypes: map[string]reflect.Type{ 28 "ParameterSizes": reflect.TypeOf((*q.ParameterSizes)(nil)).Elem(), 29 "Parameters": reflect.TypeOf((*q.Parameters)(nil)).Elem(), 30 "PrivateKey": reflect.TypeOf((*q.PrivateKey)(nil)).Elem(), 31 "PublicKey": reflect.TypeOf((*q.PublicKey)(nil)).Elem(), 32 }, 33 AliasTypes: map[string]reflect.Type{}, 34 Vars: map[string]reflect.Value{ 35 "ErrInvalidPublicKey": reflect.ValueOf(&q.ErrInvalidPublicKey), 36 }, 37 Funcs: map[string]reflect.Value{ 38 "GenerateKey": reflect.ValueOf(q.GenerateKey), 39 "GenerateParameters": reflect.ValueOf(q.GenerateParameters), 40 "Sign": reflect.ValueOf(q.Sign), 41 "Verify": reflect.ValueOf(q.Verify), 42 }, 43 TypedConsts: map[string]igop.TypedConst{ 44 "L1024N160": {reflect.TypeOf(q.L1024N160), constant.MakeInt64(int64(q.L1024N160))}, 45 "L2048N224": {reflect.TypeOf(q.L2048N224), constant.MakeInt64(int64(q.L2048N224))}, 46 "L2048N256": {reflect.TypeOf(q.L2048N256), constant.MakeInt64(int64(q.L2048N256))}, 47 "L3072N256": {reflect.TypeOf(q.L3072N256), constant.MakeInt64(int64(q.L3072N256))}, 48 }, 49 UntypedConsts: map[string]igop.UntypedConst{}, 50 }) 51 }