2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2018-11-08 03:22:31 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2019-02-19 06:17:27 +00:00
|
|
|
"keccak256.go",
|
2018-11-08 03:22:31 +00:00
|
|
|
"key.go",
|
|
|
|
"keystore.go",
|
|
|
|
"utils.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/keystore",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2019-02-15 18:31:07 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2020-07-08 17:30:22 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-09-22 11:49:58 +00:00
|
|
|
"//shared/timeutils:go_default_library",
|
2019-08-02 21:42:59 +00:00
|
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
2018-11-08 03:22:31 +00: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 03:22:31 +00:00
|
|
|
"@org_golang_x_crypto//pbkdf2:go_default_library",
|
|
|
|
"@org_golang_x_crypto//scrypt:go_default_library",
|
2019-02-19 06:17:27 +00:00
|
|
|
"@org_golang_x_crypto//sha3:go_default_library",
|
2018-11-08 03:22:31 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2018-11-08 03:22:31 +00:00
|
|
|
srcs = [
|
|
|
|
"key_test.go",
|
|
|
|
"keystore_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-15 18:31:07 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-02-19 15:09:50 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-02-15 19:04:51 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-08-25 10:18:29 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2018-11-08 03:22:31 +00:00
|
|
|
"@com_github_pborman_uuid//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|