2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-10-14 02:32:29 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-04-10 03:13:07 +00:00
|
|
|
srcs = ["hash.go"],
|
2021-09-15 22:55:11 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/crypto/hash",
|
2018-10-14 02:32:29 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-01-14 16:41:20 +00:00
|
|
|
deps = [
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2019-10-03 16:33:16 +00:00
|
|
|
"@com_github_minio_highwayhash//:go_default_library",
|
2019-08-02 21:42:59 +00:00
|
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
2022-06-28 13:03:24 +00:00
|
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
"@org_golang_x_crypto//sha3:go_default_library",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2021-04-10 03:13:07 +00:00
|
|
|
srcs = ["hash_test.go"],
|
2019-01-14 16:41:20 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2019-03-07 16:32:01 +00:00
|
|
|
"//proto/testing:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2019-03-07 16:32:01 +00:00
|
|
|
"@com_github_google_gofuzz//:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|