mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-23 21:51:27 +00:00
25 lines
672 B
Python
25 lines
672 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "fp25519",
|
|
srcs = [
|
|
"fp.go",
|
|
"fp_amd64.go",
|
|
"fp_amd64.h",
|
|
"fp_amd64.s",
|
|
"fp_generic.go",
|
|
"fp_noasm.go",
|
|
],
|
|
importmap = "peridot.resf.org/vendor/github.com/cloudflare/circl/math/fp25519",
|
|
importpath = "github.com/cloudflare/circl/math/fp25519",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/github.com/cloudflare/circl/internal/conv",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:amd64": [
|
|
"//vendor/golang.org/x/sys/cpu",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|