mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <[email protected]>
27 lines
691 B
Go
27 lines
691 B
Go
// Code generated by 'yaegi extract crypto/ecdsa'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"crypto/ecdsa"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["crypto/ecdsa/ecdsa"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"GenerateKey": reflect.ValueOf(ecdsa.GenerateKey),
|
|
"Sign": reflect.ValueOf(ecdsa.Sign),
|
|
"SignASN1": reflect.ValueOf(ecdsa.SignASN1),
|
|
"Verify": reflect.ValueOf(ecdsa.Verify),
|
|
"VerifyASN1": reflect.ValueOf(ecdsa.VerifyASN1),
|
|
|
|
// type definitions
|
|
"PrivateKey": reflect.ValueOf((*ecdsa.PrivateKey)(nil)),
|
|
"PublicKey": reflect.ValueOf((*ecdsa.PublicKey)(nil)),
|
|
}
|
|
}
|