peridot/vendor/golang.org/x/crypto/blake2b/BUILD.bazel
2024-10-16 12:56:53 +02:00

25 lines
655 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "blake2b",
srcs = [
"blake2b.go",
"blake2bAVX2_amd64.go",
"blake2bAVX2_amd64.s",
"blake2b_amd64.s",
"blake2b_generic.go",
"blake2b_ref.go",
"blake2x.go",
"register.go",
],
importmap = "peridot.resf.org/vendor/golang.org/x/crypto/blake2b",
importpath = "golang.org/x/crypto/blake2b",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:amd64": [
"//vendor/golang.org/x/sys/cpu",
],
"//conditions:default": [],
}),
)