Files
moxa/stdlib/crypto_ecdsa.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
509 B
Go

package stdlib
// Generated by 'goexports crypto/ecdsa'. Do not edit!
import (
"crypto/ecdsa"
"reflect"
)
func init() {
Value["crypto/ecdsa"] = map[string]reflect.Value{
"GenerateKey": reflect.ValueOf(ecdsa.GenerateKey),
"Sign": reflect.ValueOf(ecdsa.Sign),
"Verify": reflect.ValueOf(ecdsa.Verify),
}
Type["crypto/ecdsa"] = map[string]reflect.Type{
"PrivateKey": reflect.TypeOf((*ecdsa.PrivateKey)(nil)).Elem(),
"PublicKey": reflect.TypeOf((*ecdsa.PublicKey)(nil)).Elem(),
}
}