2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-03-10 02:22:41 +00:00
|
|
|
|
2019-02-15 18:31:07 +00:00
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-06-25 00:47:51 +00:00
|
|
|
srcs = [
|
|
|
|
"bls.go",
|
|
|
|
"constants.go",
|
2020-10-30 19:06:33 +00:00
|
|
|
"error.go",
|
2020-06-25 00:47:51 +00:00
|
|
|
"interface.go",
|
2021-11-23 16:57:06 +00:00
|
|
|
"signature_batch.go",
|
2020-06-25 00:47:51 +00:00
|
|
|
],
|
2021-09-15 22:55:11 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/crypto/bls",
|
2019-02-15 18:31:07 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-02-19 15:09:50 +00:00
|
|
|
deps = [
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls/blst:go_default_library",
|
|
|
|
"//crypto/bls/common:go_default_library",
|
|
|
|
"//crypto/bls/herumi:go_default_library",
|
2022-05-04 04:47:53 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-08-06 00:11:38 +00:00
|
|
|
],
|
|
|
|
)
|
2020-10-30 19:06:33 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-09-15 05:49:50 +00:00
|
|
|
srcs = [
|
|
|
|
"bls_test.go",
|
2021-11-23 16:57:06 +00:00
|
|
|
"signature_batch_test.go",
|
2021-09-15 05:49:50 +00:00
|
|
|
],
|
2020-10-30 19:06:33 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls/common:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-10-30 19:06:33 +00:00
|
|
|
],
|
|
|
|
)
|