1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
// Code generated by 'yaegi extract crypto/ed25519'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"crypto/ed25519"
"go/constant"
"go/token"
"reflect"
)
func init() {
Symbols["crypto/ed25519/ed25519"] = map[string]reflect.Value{
// function, constant and variable definitions
"GenerateKey": reflect.ValueOf(ed25519.GenerateKey),
"NewKeyFromSeed": reflect.ValueOf(ed25519.NewKeyFromSeed),
"PrivateKeySize": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
"PublicKeySize": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)),
"SeedSize": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)),
"Sign": reflect.ValueOf(ed25519.Sign),
"SignatureSize": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
"Verify": reflect.ValueOf(ed25519.Verify),
"VerifyWithOptions": reflect.ValueOf(ed25519.VerifyWithOptions),
// type definitions
"Options": reflect.ValueOf((*ed25519.Options)(nil)),
"PrivateKey": reflect.ValueOf((*ed25519.PrivateKey)(nil)),
"PublicKey": reflect.ValueOf((*ed25519.PublicKey)(nil)),
}
}
|