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