mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-30 16:46:27 +00:00
28 lines
730 B
Python
28 lines
730 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
|
||
|
go_library(
|
||
|
name = "x448",
|
||
|
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/x448",
|
||
|
importpath = "github.com/cloudflare/circl/dh/x448",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"//vendor/github.com/cloudflare/circl/math/fp448",
|
||
|
] + select({
|
||
|
"@io_bazel_rules_go//go/platform:amd64": [
|
||
|
"//vendor/golang.org/x/sys/cpu",
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
)
|