github.com/goplus/gossa@v0.3.25/pkg/crypto/rc4/go116_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.16,!go1.17
     4  
     5  package rc4
     6  
     7  import (
     8  	q "crypto/rc4"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "rc4",
    18  		Path: "crypto/rc4",
    19  		Deps: map[string]string{
    20  			"crypto/internal/subtle": "subtle",
    21  			"strconv":                "strconv",
    22  		},
    23  		Interfaces: map[string]reflect.Type{},
    24  		NamedTypes: map[string]gossa.NamedType{
    25  			"Cipher":       {reflect.TypeOf((*q.Cipher)(nil)).Elem(), "", "Reset,XORKeyStream"},
    26  			"KeySizeError": {reflect.TypeOf((*q.KeySizeError)(nil)).Elem(), "Error", ""},
    27  		},
    28  		AliasTypes: map[string]reflect.Type{},
    29  		Vars:       map[string]reflect.Value{},
    30  		Funcs: map[string]reflect.Value{
    31  			"NewCipher": reflect.ValueOf(q.NewCipher),
    32  		},
    33  		TypedConsts:   map[string]gossa.TypedConst{},
    34  		UntypedConsts: map[string]gossa.UntypedConst{},
    35  	})
    36  }