2020-09-16 13:28:28 +00:00
|
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
2022-05-04 06:15:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-09-16 13:28:28 +00:00
|
|
|
|
|
|
|
# gazelle:resolve go github.com/supranational/blst/bindings/go @com_github_supranational_blst//:go_default_library
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2022-05-04 06:15:09 +00:00
|
|
|
srcs = [
|
|
|
|
"aliases.go",
|
|
|
|
"doc.go",
|
|
|
|
"init.go",
|
|
|
|
"public_key.go",
|
|
|
|
"secret_key.go",
|
|
|
|
"signature.go",
|
|
|
|
"stub.go", # keep
|
|
|
|
],
|
2021-09-15 22:55:11 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/crypto/bls/blst",
|
2020-09-16 13:28:28 +00:00
|
|
|
visibility = [
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:__pkg__",
|
2020-09-16 13:28:28 +00:00
|
|
|
],
|
2022-06-14 11:47:27 +00:00
|
|
|
deps = [
|
|
|
|
"//cache/lru:go_default_library",
|
|
|
|
"//config/features:go_default_library",
|
|
|
|
"//config/fieldparams:go_default_library",
|
|
|
|
"//config/params:go_default_library",
|
|
|
|
"//crypto/bls/common:go_default_library",
|
|
|
|
"//crypto/rand:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_supranational_blst//:go_default_library",
|
|
|
|
],
|
2020-09-16 13:28:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2022-05-04 06:15:09 +00:00
|
|
|
srcs = [
|
|
|
|
"bls_benchmark_test.go",
|
|
|
|
"public_key_test.go",
|
|
|
|
"secret_key_test.go",
|
|
|
|
"signature_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
2022-06-14 11:47:27 +00:00
|
|
|
deps = [
|
|
|
|
"//crypto/bls/common:go_default_library",
|
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
],
|
2020-09-18 12:04:39 +00:00
|
|
|
)
|