github.com/goplus/gossa@v0.3.25/pkg/crypto/subtle/go117_export.go (about)

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