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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.20 && !go1.21
     4  // +build go1.20,!go1.21
     5  
     6  package aes
     7  
     8  import (
     9  	q "crypto/aes"
    10  
    11  	"go/constant"
    12  	"reflect"
    13  
    14  	"github.com/goplus/igop"
    15  )
    16  
    17  func init() {
    18  	igop.RegisterPackage(&igop.Package{
    19  		Name: "aes",
    20  		Path: "crypto/aes",
    21  		Deps: map[string]string{
    22  			"crypto/cipher":          "cipher",
    23  			"crypto/internal/alias":  "alias",
    24  			"crypto/internal/boring": "boring",
    25  			"crypto/subtle":          "subtle",
    26  			"encoding/binary":        "binary",
    27  			"errors":                 "errors",
    28  			"internal/cpu":           "cpu",
    29  			"internal/goarch":        "goarch",
    30  			"strconv":                "strconv",
    31  		},
    32  		Interfaces: map[string]reflect.Type{},
    33  		NamedTypes: map[string]reflect.Type{
    34  			"KeySizeError": reflect.TypeOf((*q.KeySizeError)(nil)).Elem(),
    35  		},
    36  		AliasTypes: map[string]reflect.Type{},
    37  		Vars:       map[string]reflect.Value{},
    38  		Funcs: map[string]reflect.Value{
    39  			"NewCipher": reflect.ValueOf(q.NewCipher),
    40  		},
    41  		TypedConsts: map[string]igop.TypedConst{},
    42  		UntypedConsts: map[string]igop.UntypedConst{
    43  			"BlockSize": {"untyped int", constant.MakeInt64(int64(q.BlockSize))},
    44  		},
    45  	})
    46  }