github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_crypto_ecdsa.go (about)

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