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