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