github.com/goplus/igop@v0.25.0/pkg/crypto/aes/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package aes
     6  
     7  import (
     8  	q "crypto/aes"
     9  
    10  	"go/constant"
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.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]reflect.Type{
    31  			"KeySizeError": reflect.TypeOf((*q.KeySizeError)(nil)).Elem(),
    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]igop.TypedConst{},
    39  		UntypedConsts: map[string]igop.UntypedConst{
    40  			"BlockSize": {"untyped int", constant.MakeInt64(int64(q.BlockSize))},
    41  		},
    42  	})
    43  }