This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
21 lines
652 B
Go
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{}
|
|
}
|