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

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