Debian Codegraph @

stdlib/go1_21_crypto_sha256.go

raw symbols SCIP
1 // Code generated by 'yaegi extract crypto/sha256'. DO NOT EDIT.
2
3 //go:build go1.21 && !go1.22
4 // +build go1.21,!go1.22
5
6 package stdlib
7
8 import (
9 "crypto/sha256"
10 "go/constant"
11 "go/token"
12 "reflect"
13 )
14
15 func init() {
16 Symbols["crypto/sha256/sha256"] = map[string]reflect.Value{
17 // function, constant and variable definitions
18 "BlockSize": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
19 "New": reflect.ValueOf(sha256.New),
20 "New224": reflect.ValueOf(sha256.New224),
21 "Size": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)),
22 "Size224": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)),
23 "Sum224": reflect.ValueOf(sha256.Sum224),
24 "Sum256": reflect.ValueOf(sha256.Sum256),
25 }
26 }