github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_crypto_sha512.go (about) 1 // Code generated by 'yaegi extract crypto/sha512'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "crypto/sha512" 9 "go/constant" 10 "go/token" 11 "reflect" 12 ) 13 14 func init() { 15 Symbols["crypto/sha512/sha512"] = map[string]reflect.Value{ 16 // function, constant and variable definitions 17 "BlockSize": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), 18 "New": reflect.ValueOf(sha512.New), 19 "New384": reflect.ValueOf(sha512.New384), 20 "New512_224": reflect.ValueOf(sha512.New512_224), 21 "New512_256": reflect.ValueOf(sha512.New512_256), 22 "Size": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), 23 "Size224": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), 24 "Size256": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), 25 "Size384": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), 26 "Sum384": reflect.ValueOf(sha512.Sum384), 27 "Sum512": reflect.ValueOf(sha512.Sum512), 28 "Sum512_224": reflect.ValueOf(sha512.Sum512_224), 29 "Sum512_256": reflect.ValueOf(sha512.Sum512_256), 30 } 31 }