github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/go1_17_crypto_aes.go (about)

     1  // Code generated by 'yaegi extract crypto/aes'. DO NOT EDIT.
     2  
     3  //go:build go1.17
     4  // +build go1.17
     5  
     6  package stdlib
     7  
     8  import (
     9  	"crypto/aes"
    10  	"go/constant"
    11  	"go/token"
    12  	"reflect"
    13  )
    14  
    15  func init() {
    16  	Symbols["crypto/aes/aes"] = map[string]reflect.Value{
    17  		// function, constant and variable definitions
    18  		"BlockSize": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)),
    19  		"NewCipher": reflect.ValueOf(aes.NewCipher),
    20  
    21  		// type definitions
    22  		"KeySizeError": reflect.ValueOf((*aes.KeySizeError)(nil)),
    23  	}
    24  }