* 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 <ldez@users.noreply.github.com>
25 lines
530 B
Go
25 lines
530 B
Go
// Code generated by 'yaegi extract crypto/aes'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"crypto/aes"
|
|
"go/constant"
|
|
"go/token"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["crypto/aes/aes"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"BlockSize": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)),
|
|
"NewCipher": reflect.ValueOf(aes.NewCipher),
|
|
|
|
// type definitions
|
|
"KeySizeError": reflect.ValueOf((*aes.KeySizeError)(nil)),
|
|
}
|
|
}
|