Files
moxa/stdlib/crypto_subtle.go
Marc Vertes 25adc35a3c Change representation of stdlib from interface{} to reflect.Value
This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
2018-08-28 03:12:28 +02:00

21 lines
652 B
Go

package stdlib
// Generated by 'goexports crypto/subtle'. Do not edit!
import (
"crypto/subtle"
"reflect"
)
func init() {
Value["crypto/subtle"] = map[string]reflect.Value{
"ConstantTimeByteEq": reflect.ValueOf(subtle.ConstantTimeByteEq),
"ConstantTimeCompare": reflect.ValueOf(subtle.ConstantTimeCompare),
"ConstantTimeCopy": reflect.ValueOf(subtle.ConstantTimeCopy),
"ConstantTimeEq": reflect.ValueOf(subtle.ConstantTimeEq),
"ConstantTimeLessOrEq": reflect.ValueOf(subtle.ConstantTimeLessOrEq),
"ConstantTimeSelect": reflect.ValueOf(subtle.ConstantTimeSelect),
}
Type["crypto/subtle"] = map[string]reflect.Type{}
}