github.com/goplus/gossa@v0.3.25/pkg/crypto/aes/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package aes 6 7 import ( 8 q "crypto/aes" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "aes", 19 Path: "crypto/aes", 20 Deps: map[string]string{ 21 "crypto/cipher": "cipher", 22 "crypto/internal/subtle": "subtle", 23 "crypto/subtle": "subtle", 24 "encoding/binary": "binary", 25 "errors": "errors", 26 "internal/cpu": "cpu", 27 "strconv": "strconv", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]gossa.NamedType{ 31 "KeySizeError": {reflect.TypeOf((*q.KeySizeError)(nil)).Elem(), "Error", ""}, 32 }, 33 AliasTypes: map[string]reflect.Type{}, 34 Vars: map[string]reflect.Value{}, 35 Funcs: map[string]reflect.Value{ 36 "NewCipher": reflect.ValueOf(q.NewCipher), 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 }