github.com/goplus/gossa@v0.3.25/pkg/crypto/des/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 des 7 8 import ( 9 q "crypto/des" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/gossa" 15 ) 16 17 func init() { 18 gossa.RegisterPackage(&gossa.Package{ 19 Name: "des", 20 Path: "crypto/des", 21 Deps: map[string]string{ 22 "crypto/cipher": "cipher", 23 "crypto/internal/subtle": "subtle", 24 "encoding/binary": "binary", 25 "strconv": "strconv", 26 "sync": "sync", 27 }, 28 Interfaces: map[string]reflect.Type{}, 29 NamedTypes: map[string]gossa.NamedType{ 30 "KeySizeError": {reflect.TypeOf((*q.KeySizeError)(nil)).Elem(), "Error", ""}, 31 }, 32 AliasTypes: map[string]reflect.Type{}, 33 Vars: map[string]reflect.Value{}, 34 Funcs: map[string]reflect.Value{ 35 "NewCipher": reflect.ValueOf(q.NewCipher), 36 "NewTripleDESCipher": reflect.ValueOf(q.NewTripleDESCipher), 37 }, 38 TypedConsts: map[string]gossa.TypedConst{}, 39 UntypedConsts: map[string]gossa.UntypedConst{ 40 "BlockSize": {"untyped int", constant.MakeInt64(int64(q.BlockSize))}, 41 }, 42 }) 43 }