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

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