2020-05-05 00:22:26 -07:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2018-11-08 11:22:31 +08:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2019-02-19 01:17:27 -05:00
|
|
|
"keccak256.go",
|
2018-11-08 11:22:31 +08:00
|
|
|
"key.go",
|
|
|
|
"keystore.go",
|
|
|
|
"utils.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/keystore",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2019-02-15 13:31:07 -05:00
|
|
|
"//shared/bls:go_default_library",
|
2020-07-08 13:30:22 -04:00
|
|
|
"//shared/params:go_default_library",
|
2020-04-09 16:35:42 -07:00
|
|
|
"//shared/roughtime:go_default_library",
|
2019-08-02 14:42:59 -07:00
|
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
2018-11-08 11:22:31 +08:00
|
|
|
"@com_github_pborman_uuid//:go_default_library",
|
2020-03-07 05:05:48 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-11-08 11:22:31 +08:00
|
|
|
"@org_golang_x_crypto//pbkdf2:go_default_library",
|
|
|
|
"@org_golang_x_crypto//scrypt:go_default_library",
|
2019-02-19 01:17:27 -05:00
|
|
|
"@org_golang_x_crypto//sha3:go_default_library",
|
2018-11-08 11:22:31 +08:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 12:00:22 -04:00
|
|
|
size = "small",
|
2018-11-08 11:22:31 +08:00
|
|
|
srcs = [
|
|
|
|
"key_test.go",
|
|
|
|
"keystore_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-15 13:31:07 -05:00
|
|
|
"//shared/bls:go_default_library",
|
2019-02-19 09:09:50 -06:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-02-15 14:04:51 -05:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-11-08 11:22:31 +08:00
|
|
|
"@com_github_pborman_uuid//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|