peridot/vendor/github.com/cloudflare/circl/dh/x25519/BUILD.bazel
2024-10-16 12:56:53 +02:00

28 lines
738 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "x25519",
srcs = [
"curve.go",
"curve_amd64.go",
"curve_amd64.h",
"curve_amd64.s",
"curve_generic.go",
"curve_noasm.go",
"doc.go",
"key.go",
"table.go",
],
importmap = "peridot.resf.org/vendor/github.com/cloudflare/circl/dh/x25519",
importpath = "github.com/cloudflare/circl/dh/x25519",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/cloudflare/circl/math/fp25519",
] + select({
"@io_bazel_rules_go//go/platform:amd64": [
"//vendor/golang.org/x/sys/cpu",
],
"//conditions:default": [],
}),
)