github.com/goplus/igop@v0.25.0/pkg/crypto/elliptic/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package elliptic 6 7 import ( 8 q "crypto/elliptic" 9 10 "reflect" 11 12 "github.com/goplus/igop" 13 ) 14 15 func init() { 16 igop.RegisterPackage(&igop.Package{ 17 Name: "elliptic", 18 Path: "crypto/elliptic", 19 Deps: map[string]string{ 20 "io": "io", 21 "math/big": "big", 22 "sync": "sync", 23 }, 24 Interfaces: map[string]reflect.Type{ 25 "Curve": reflect.TypeOf((*q.Curve)(nil)).Elem(), 26 }, 27 NamedTypes: map[string]reflect.Type{ 28 "CurveParams": reflect.TypeOf((*q.CurveParams)(nil)).Elem(), 29 }, 30 AliasTypes: map[string]reflect.Type{}, 31 Vars: map[string]reflect.Value{}, 32 Funcs: map[string]reflect.Value{ 33 "GenerateKey": reflect.ValueOf(q.GenerateKey), 34 "Marshal": reflect.ValueOf(q.Marshal), 35 "MarshalCompressed": reflect.ValueOf(q.MarshalCompressed), 36 "P224": reflect.ValueOf(q.P224), 37 "P256": reflect.ValueOf(q.P256), 38 "P384": reflect.ValueOf(q.P384), 39 "P521": reflect.ValueOf(q.P521), 40 "Unmarshal": reflect.ValueOf(q.Unmarshal), 41 "UnmarshalCompressed": reflect.ValueOf(q.UnmarshalCompressed), 42 }, 43 TypedConsts: map[string]igop.TypedConst{}, 44 UntypedConsts: map[string]igop.UntypedConst{}, 45 }) 46 }