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

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