github.com/goplus/gossa@v0.3.25/pkg/crypto/cipher/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package cipher 7 8 import ( 9 q "crypto/cipher" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "cipher", 19 Path: "crypto/cipher", 20 Deps: map[string]string{ 21 "crypto/internal/subtle": "subtle", 22 "crypto/subtle": "subtle", 23 "encoding/binary": "binary", 24 "errors": "errors", 25 "io": "io", 26 }, 27 Interfaces: map[string]reflect.Type{ 28 "AEAD": reflect.TypeOf((*q.AEAD)(nil)).Elem(), 29 "Block": reflect.TypeOf((*q.Block)(nil)).Elem(), 30 "BlockMode": reflect.TypeOf((*q.BlockMode)(nil)).Elem(), 31 "Stream": reflect.TypeOf((*q.Stream)(nil)).Elem(), 32 }, 33 NamedTypes: map[string]gossa.NamedType{ 34 "StreamReader": {reflect.TypeOf((*q.StreamReader)(nil)).Elem(), "Read", ""}, 35 "StreamWriter": {reflect.TypeOf((*q.StreamWriter)(nil)).Elem(), "Close,Write", ""}, 36 }, 37 AliasTypes: map[string]reflect.Type{}, 38 Vars: map[string]reflect.Value{}, 39 Funcs: map[string]reflect.Value{ 40 "NewCBCDecrypter": reflect.ValueOf(q.NewCBCDecrypter), 41 "NewCBCEncrypter": reflect.ValueOf(q.NewCBCEncrypter), 42 "NewCFBDecrypter": reflect.ValueOf(q.NewCFBDecrypter), 43 "NewCFBEncrypter": reflect.ValueOf(q.NewCFBEncrypter), 44 "NewCTR": reflect.ValueOf(q.NewCTR), 45 "NewGCM": reflect.ValueOf(q.NewGCM), 46 "NewGCMWithNonceSize": reflect.ValueOf(q.NewGCMWithNonceSize), 47 "NewGCMWithTagSize": reflect.ValueOf(q.NewGCMWithTagSize), 48 "NewOFB": reflect.ValueOf(q.NewOFB), 49 }, 50 TypedConsts: map[string]gossa.TypedConst{}, 51 UntypedConsts: map[string]gossa.UntypedConst{}, 52 }) 53 }