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