* 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>
26 lines
593 B
Go
26 lines
593 B
Go
// Code generated by 'yaegi extract crypto/des'. DO NOT EDIT.
|
|
|
|
//go:build go1.22
|
|
// +build go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"crypto/des"
|
|
"go/constant"
|
|
"go/token"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["crypto/des/des"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"BlockSize": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
|
|
"NewCipher": reflect.ValueOf(des.NewCipher),
|
|
"NewTripleDESCipher": reflect.ValueOf(des.NewTripleDESCipher),
|
|
|
|
// type definitions
|
|
"KeySizeError": reflect.ValueOf((*des.KeySizeError)(nil)),
|
|
}
|
|
}
|