github.com/goplus/igop@v0.25.0/pkg/crypto/cipher/go114_export.go (about)

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