Internal change.

PiperOrigin-RevId: 538044944
This commit is contained in:
gVisor bot
2023-06-05 19:39:47 -07:00
parent 3bc701bbbb
commit 988744c29a
4 changed files with 85 additions and 2 deletions
+25
View File
@@ -1593,6 +1593,17 @@ go_repository(
version = "v0.0.0-20191024224557-825249438eec",
)
go_repository(
name = "com_github_cloudflare_circl",
importpath = "github.com/cloudflare/circl",
sum = "h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs=",
patch_args = ["-p1"],
patches = [
"//tools:com_github_cloudflare_circl.patch",
],
version = "v1.3.3",
)
go_repository(
name = "com_github_cockroachdb_datadriven",
importpath = "github.com/cockroachdb/datadriven",
@@ -1698,6 +1709,13 @@ go_repository(
version = "v42.0.0",
)
go_repository(
name = "com_github_google_go_github_v52",
importpath = "github.com/google/go-github/v52",
sum = "h1:uyGWOY+jMQ8GVGSX8dkSwCzlehU3WfdxQ7GweO/JP7M=",
version = "v52.0.0",
)
go_repository(
name = "com_github_googleapis_enterprise_certificate_proxy",
importpath = "github.com/googleapis/enterprise-certificate-proxy",
@@ -2125,6 +2143,13 @@ go_repository(
version = "v1.1.1",
)
go_repository(
name = "com_github_protonmail_go_crypto",
importpath = "github.com/ProtonMail/go-crypto",
sum = "h1:wPbRQzjjwFc0ih8puEVAOFGELsn1zoIIYdxvML7mDxA=",
version = "v0.0.0-20230217124315-7d5c6f04bbb8",
)
go_repository(
name = "com_github_rcrowley_go_metrics",
importpath = "github.com/rcrowley/go-metrics",
+58
View File
@@ -0,0 +1,58 @@
diff --git a/dh/x25519/BUILD.bazel b/dh/x25519/BUILD.bazel
index d569bc1..13a942d 100644
--- a/dh/x25519/BUILD.bazel
+++ b/dh/x25519/BUILD.bazel
@@ -12,7 +12,9 @@ go_library(
"doc.go",
"key.go",
"table.go",
+ "//math/fp25519:fp_amd64.h",
],
+ cgo = True,
importpath = "github.com/cloudflare/circl/dh/x25519",
visibility = ["//visibility:public"],
deps = [
diff --git a/dh/x448/BUILD.bazel b/dh/x448/BUILD.bazel
index ed287c6..cdbd4f1 100644
--- a/dh/x448/BUILD.bazel
+++ b/dh/x448/BUILD.bazel
@@ -12,7 +12,9 @@ go_library(
"doc.go",
"key.go",
"table.go",
+ "//math/fp448:fp_amd64.h",
],
+ cgo = True,
importpath = "github.com/cloudflare/circl/dh/x448",
visibility = ["//visibility:public"],
deps = [
diff --git a/math/fp25519/BUILD.bazel b/math/fp25519/BUILD.bazel
index c9973ac..e98be64 100644
--- a/math/fp25519/BUILD.bazel
+++ b/math/fp25519/BUILD.bazel
@@ -1,5 +1,10 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+exports_files(
+ ["fp_amd64.h"],
+ visibility = ["//dh/x25519:__pkg__"],
+)
+
go_library(
name = "fp25519",
srcs = [
diff --git a/math/fp448/BUILD.bazel b/math/fp448/BUILD.bazel
index c371ca5..ebc055d 100644
--- a/math/fp448/BUILD.bazel
+++ b/math/fp448/BUILD.bazel
@@ -1,5 +1,10 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+exports_files(
+ ["fp_amd64.h"],
+ visibility = ["//dh/x448:__pkg__"],
+)
+
go_library(
name = "fp448",
srcs = [
+1 -1
View File
@@ -11,7 +11,7 @@ go_binary(
nogo = False,
deps = [
"//tools/github/reviver",
"@com_github_google_go_github_v42//github:go_default_library",
"@com_github_google_go_github_v52//github:go_default_library",
"@org_golang_x_oauth2//:go_default_library",
],
)
+1 -1
View File
@@ -15,7 +15,7 @@ go_library(
visibility = [
"//tools/github:__subpackages__",
],
deps = ["@com_github_google_go_github_v42//github:go_default_library"],
deps = ["@com_github_google_go_github_v52//github:go_default_library"],
)
go_test(