github.com/traefik/yaegi@v0.15.1/stdlib/go1_19_crypto_ecdsa.go (about)

     1  // Code generated by 'yaegi extract crypto/ecdsa'. DO NOT EDIT.
     2  
     3  //go:build go1.19 && !go1.20
     4  // +build go1.19,!go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"crypto/ecdsa"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["crypto/ecdsa/ecdsa"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"GenerateKey": reflect.ValueOf(ecdsa.GenerateKey),
    17  		"Sign":        reflect.ValueOf(ecdsa.Sign),
    18  		"SignASN1":    reflect.ValueOf(ecdsa.SignASN1),
    19  		"Verify":      reflect.ValueOf(ecdsa.Verify),
    20  		"VerifyASN1":  reflect.ValueOf(ecdsa.VerifyASN1),
    21  
    22  		// type definitions
    23  		"PrivateKey": reflect.ValueOf((*ecdsa.PrivateKey)(nil)),
    24  		"PublicKey":  reflect.ValueOf((*ecdsa.PublicKey)(nil)),
    25  	}
    26  }