Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cryptobackend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/microsoft/go-crypto-darwin v0.0.3-0.20261026090017-171c4346c8c7
github.com/microsoft/go-crypto-openssl v0.5.1-0.20261028130524-c9be04267896
github.com/microsoft/go-crypto-winnative v0.0.0-20261026140708-37ac3f543832
golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2
golang.org/x/crypto v0.58.0
)

require golang.org/x/sys v0.48.0 // indirect
require golang.org/x/sys v0.49.0 // indirect
8 changes: 4 additions & 4 deletions cryptobackend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github.com/microsoft/go-crypto-openssl v0.5.1-0.20261028130524-c9be04267896 h1:1
github.com/microsoft/go-crypto-openssl v0.5.1-0.20261028130524-c9be04267896/go.mod h1:rdSY8BhWs3fySEKPnwYbTbCAWxnXQAfrE8qBibXNU/M=
github.com/microsoft/go-crypto-winnative v0.0.0-20261026140708-37ac3f543832 h1:j9iNaPbnm5YcNqOxBbOFzvRhzKdnYRTVsTGUjAcZhxk=
github.com/microsoft/go-crypto-winnative v0.0.0-20261026140708-37ac3f543832/go.mod h1:ic6qQ5ko8bzigvuQbGMknZ4WzS4/KDQ9cypGMdqn38s=
golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2 h1:S2kz2UVkb4BhxS9tvxdkfNT6T8NqtaUQE+qv1ObhJ8w=
golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA=
golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo=
golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54=
golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w=
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
2 changes: 1 addition & 1 deletion go
Submodule go updated 195 files
40 changes: 20 additions & 20 deletions patches/0001-Vendor-external-dependencies.patch
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ Use a 'go' that was recently built by the current branch to ensure stable result
create mode 100644 src/vendor/github.com/microsoft/go/cryptobackend/tls13/tls13_windows.go

diff --git a/src/cmd/go.mod b/src/cmd/go.mod
index b69ed87ac99bf9593c39acc552531be06a65732d..ae62d9236d9ce1eba905dac66ecaf72ae200f54e 100644
index 76efe2fda45481e8c510594708987859c0e1e498..e3fc261a6b72639404f33143e1eb52687da43239 100644
--- a/src/cmd/go.mod
+++ b/src/cmd/go.mod
@@ -4,6 +4,8 @@ go 1.28
Expand All @@ -918,7 +918,7 @@ index b69ed87ac99bf9593c39acc552531be06a65732d..ae62d9236d9ce1eba905dac66ecaf72a
golang.org/x/build v0.0.0-20260715183034-a43f90886f2e
golang.org/x/mod v0.41.0
diff --git a/src/cmd/go.sum b/src/cmd/go.sum
index 550a982c5176cd004dcf3e2bce8268207eee7882..87cd25594e6fb263d408e6b22b0a2dc00cb8f6c0 100644
index 5a824a7a3bc6a80346e09e435f2f6e9e11202db8..1f076d7080ac5fc87b78429715e7bf6ff11fc033 100644
--- a/src/cmd/go.sum
+++ b/src/cmd/go.sum
@@ -4,6 +4,10 @@ github.com/google/pprof v0.0.0-20260507013755-92041b743c96 h1:YDDnaZ9afWajDboPMt
Expand Down Expand Up @@ -2750,7 +2750,7 @@ index 0000000000000000000000000000000000000000..016de9bdd95956b5918ef36ea8cbd07f
+ return filtered
+}
diff --git a/src/cmd/vendor/modules.txt b/src/cmd/vendor/modules.txt
index 0be16ea83c91cc064475a718c62cc8cba5e3df5f..75196e88ef084b35027247a9c20f8c01c4fc3dfc 100644
index 3b94cfb7fcbb55d87beea9a57032bcea333064f8..7d3d6d6ef9b3b49dda2c1a0305a21c4a1f6431f7 100644
--- a/src/cmd/vendor/modules.txt
+++ b/src/cmd/vendor/modules.txt
@@ -16,6 +16,17 @@ github.com/google/pprof/third_party/svgpan
Expand Down Expand Up @@ -2818,30 +2818,30 @@ index 0000000000000000000000000000000000000000..ab958419731f59c42d1ae2210dd94b06
+// This file is here just to declare cryptobackend dependencies.
+// This allows tracking their versions in a single patch file.
diff --git a/src/go.mod b/src/go.mod
index 12b6b39c9e4cf8c4315083c57d41d759c2878eee..f10199a8f1f2597674c1df039fe0db768bee8bb4 100644
index fd6f45f3edfb70d79fe2563180cbd9df9d41774d..0a3838a367e100fa2ffa1645d0c99f1558d8198f 100644
--- a/src/go.mod
+++ b/src/go.mod
@@ -3,12 +3,18 @@ module std
go 1.28

require (
+ github.com/microsoft/go/cryptobackend v0.0.0
golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2
golang.org/x/net v0.59.0
golang.org/x/tools v0.50.1-0.20260929192349-98444708d405
golang.org/x/crypto v0.58.0
golang.org/x/net v0.61.1-0.20261022225259-05c76ee9adc5
golang.org/x/tools v0.51.0
)

require (
+ github.com/microsoft/go-crypto-darwin v0.0.3-0.20261026090017-171c4346c8c7 // indirect
+ github.com/microsoft/go-crypto-openssl v0.5.1-0.20261028130524-c9be04267896 // indirect
+ github.com/microsoft/go-crypto-winnative v0.0.0-20261026140708-37ac3f543832 // indirect
golang.org/x/sys v0.48.0 // indirect
golang.org/x/text v0.42.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/text v0.43.0 // indirect
)
+
+replace github.com/microsoft/go/cryptobackend => ../../cryptobackend
diff --git a/src/go.sum b/src/go.sum
index 4d2c4120ca2482bc9543576c7e585fa933c17a96..4560de0dbaa7a823d9b3d2d2b142c7062a44e007 100644
index 895e0c0db54fbfa63ecbe491ecdf83e3554c78cf..3e21b9cad3d4713db7c73ceeaf4a121a2f08dae3 100644
--- a/src/go.sum
+++ b/src/go.sum
@@ -1,3 +1,13 @@
Expand All @@ -2855,14 +2855,14 @@ index 4d2c4120ca2482bc9543576c7e585fa933c17a96..4560de0dbaa7a823d9b3d2d2b142c706
+github.com/microsoft/go-crypto-openssl v0.5.1-0.20261028130524-c9be04267896/go.mod h1:rdSY8BhWs3fySEKPnwYbTbCAWxnXQAfrE8qBibXNU/M=
+github.com/microsoft/go-crypto-winnative v0.0.0-20261026140708-37ac3f543832 h1:j9iNaPbnm5YcNqOxBbOFzvRhzKdnYRTVsTGUjAcZhxk=
+github.com/microsoft/go-crypto-winnative v0.0.0-20261026140708-37ac3f543832/go.mod h1:ic6qQ5ko8bzigvuQbGMknZ4WzS4/KDQ9cypGMdqn38s=
golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2 h1:S2kz2UVkb4BhxS9tvxdkfNT6T8NqtaUQE+qv1ObhJ8w=
golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA=
golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54=
golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w=
golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c=
diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go
index 06e40b9cd3d906ee0d956f050a6568b3b6ea2999..926a533c9c1fb891760f51e2b8c7b48031d618c4 100644
index a27c0239ce41d9894801ae1aad660adb1280df46..b2d58cc0ab49ca7923de2cc26c0292e68520c388 100644
--- a/src/go/build/deps_test.go
+++ b/src/go/build/deps_test.go
@@ -154,6 +154,13 @@ var depsRules = `
@@ -155,6 +155,13 @@ var depsRules = `
< internal/syscall/execenv
< SYSCALL;

Expand All @@ -2876,7 +2876,7 @@ index 06e40b9cd3d906ee0d956f050a6568b3b6ea2999..926a533c9c1fb891760f51e2b8c7b480
# TIME is SYSCALL plus the core packages about time, including context.
SYSCALL
< time/tzdata
@@ -546,16 +553,46 @@ var depsRules = `
@@ -547,16 +554,46 @@ var depsRules = `
NONE < crypto/internal/boring/sig, crypto/internal/boring/syso;
sync/atomic < crypto/internal/boring/bcache;

Expand Down Expand Up @@ -2928,7 +2928,7 @@ index 06e40b9cd3d906ee0d956f050a6568b3b6ea2999..926a533c9c1fb891760f51e2b8c7b480
< crypto/internal/boring
< crypto/boring
< crypto/internal/rand
@@ -581,6 +618,10 @@ var depsRules = `
@@ -582,6 +619,10 @@ var depsRules = `

# CRYPTO-MATH is crypto that exposes math/big APIs - no cgo, net; fmt now ok.

Expand All @@ -2939,7 +2939,7 @@ index 06e40b9cd3d906ee0d956f050a6568b3b6ea2999..926a533c9c1fb891760f51e2b8c7b480
CRYPTO, FMT, math/big, internal/saferio
< crypto/internal/boring/bbig
< crypto/internal/fips140cache
@@ -976,7 +1017,7 @@ var buildIgnore = []byte("\n//go:build ignore")
@@ -977,7 +1018,7 @@ var buildIgnore = []byte("\n//go:build ignore")

func findImports(pkg string) ([]string, error) {
vpkg := pkg
Expand All @@ -2948,7 +2948,7 @@ index 06e40b9cd3d906ee0d956f050a6568b3b6ea2999..926a533c9c1fb891760f51e2b8c7b480
vpkg = "vendor/" + pkg
}
dir := filepath.Join(Default.GOROOT, "src", vpkg)
@@ -986,7 +1027,7 @@ func findImports(pkg string) ([]string, error) {
@@ -987,7 +1028,7 @@ func findImports(pkg string) ([]string, error) {
}
var imports []string
var haveImport = map[string]bool{}
Expand Down Expand Up @@ -50308,7 +50308,7 @@ index 0000000000000000000000000000000000000000..b7ffeea07c6b8d69acc43cc3bce25433
+ panic("cryptobackend: not available")
+}
diff --git a/src/vendor/modules.txt b/src/vendor/modules.txt
index 26fd3c0df44eb0644f4aaf3d74920dc9ea968389..71fd5d779c3c55043c918d42462286c5f0b1ba50 100644
index 54394baa1f81979f3f6e8474cd6ef5cce0eacc5d..6bcdcb33bccb8654999e0abda01f3161e5cc6d5a 100644
--- a/src/vendor/modules.txt
+++ b/src/vendor/modules.txt
@@ -1,3 +1,56 @@
Expand Down Expand Up @@ -50365,7 +50365,7 @@ index 26fd3c0df44eb0644f4aaf3d74920dc9ea968389..71fd5d779c3c55043c918d42462286c5
+github.com/microsoft/go/cryptobackend/sha512
+github.com/microsoft/go/cryptobackend/tls12
+github.com/microsoft/go/cryptobackend/tls13
# golang.org/x/crypto v0.57.1-0.20260921070245-7a4a4d6beae2
# golang.org/x/crypto v0.58.0
## explicit; go 1.26.0
golang.org/x/crypto/chacha20
@@ -33,3 +86,4 @@ golang.org/x/tools/go/gcexportdata
Expand Down
53 changes: 26 additions & 27 deletions patches/0002-Add-crypto-backends.patch
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ Subject: [PATCH] Add crypto backends
src/hash/example_test.go | 2 +
src/hash/marshal_test.go | 4 +
src/internal/buildcfg/cfg.go | 2 +
src/internal/buildcfg/cfg_test.go | 49 +++++++++
src/internal/buildcfg/cfg_test.go | 48 ++++++++
src/internal/buildcfg/exp.go | 22 ++++
src/internal/cfg/cfg.go | 1 +
src/internal/platform/supported.go | 10 ++
src/internal/systemcrypto/systemcrypto.go | 20 ++++
.../systemcrypto/systemcrypto_test.go | 60 ++++++++++
src/net/lookup_test.go | 3 +
src/syscall/syscall_windows.go | 3 +
113 files changed, 1194 insertions(+), 243 deletions(-)
113 files changed, 1193 insertions(+), 243 deletions(-)
create mode 100644 src/crypto/systemcrypto_nocgo_freebsd.go
create mode 100644 src/crypto/systemcrypto_nocgo_linux.go
create mode 100644 src/internal/systemcrypto/systemcrypto.go
Expand Down Expand Up @@ -283,7 +283,7 @@ index ae97882d574eb791ff0bd405e0f2613e3bbbde1a..8b7742f0ae42e0d878dd4382f71b853b
staleSpan.done()
if debug {
diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go
index 1d9d3fc288663c3389d92f0c133aa4afb71d86b2..12a1e07950ef0473c537b4ea79efb0ea5daaecd9 100644
index 522140f02cb5b4b7d850da43b63701c2c6298420..72193f056298941739753ba5e3d8d98a5576547c 100644
--- a/src/cmd/dist/buildtool.go
+++ b/src/cmd/dist/buildtool.go
@@ -162,6 +162,7 @@ var bootstrapDirs = []string{
Expand All @@ -295,7 +295,7 @@ index 1d9d3fc288663c3389d92f0c133aa4afb71d86b2..12a1e07950ef0473c537b4ea79efb0ea
"internal/types/errors",
"internal/unsafeheader",
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 2998a52420ba3189a7cf1e4f887678eb921e4a67..831ca013deaec086c6ce74697f23a5889b9b1473 100644
index 534f48a10d863179cb1db26337ecc244719ebb1a..dbe5f8cb7c2e676e0cc63f9888c7072927b6791c 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -160,10 +160,12 @@ func (t *tester) run() {
Expand Down Expand Up @@ -345,7 +345,7 @@ index 2998a52420ba3189a7cf1e4f887678eb921e4a67..831ca013deaec086c6ce74697f23a588
t.registerTest("GOOS=ios on darwin/amd64",
&goTest{
variant: "amd64ios",
@@ -1348,12 +1352,11 @@ func (t *tester) registerCgoTests(heading string) {
@@ -1334,12 +1338,11 @@ func (t *tester) registerCgoTests(heading string) {
// a C linker warning on Linux.
// in function `bio_ip_and_port_to_socket_and_addr':
// warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Expand All @@ -359,7 +359,7 @@ index 2998a52420ba3189a7cf1e4f887678eb921e4a67..831ca013deaec086c6ce74697f23a588
// Static linking tests
if goos != "android" && p != "netbsd/arm" && !t.msan && !t.asan {
// TODO(#56629): Why does this fail on netbsd-arm?
@@ -1888,3 +1891,26 @@ func goexperiments(exps ...string) string {
@@ -1844,3 +1847,26 @@ func goexperiments(exps ...string) string {
return existing + strings.Join(exps, ",")

}
Expand Down Expand Up @@ -681,10 +681,10 @@ index 018c808e54de270c39943f01867dd5a04e704caa..5c166f90cb19bb9608b2833aebed23fc

buildAndRunTool(ld, ctx, tool, args, runFunc)
diff --git a/src/cmd/go/script_test.go b/src/cmd/go/script_test.go
index ca1492f78a4b4ca3a644a57ae6ed24533c83dacc..0f1087de98bc3b60b6c7b7c6ea38ef7855bac0c0 100644
index 4a94e6cf3d21f58343237833bdd453e1bcac8df1..bfdf9b0b81ddd830aacbd759c127f12eeaed303a 100644
--- a/src/cmd/go/script_test.go
+++ b/src/cmd/go/script_test.go
@@ -293,6 +293,9 @@ var extraEnvKeys = []string{
@@ -296,6 +296,9 @@ var extraEnvKeys = []string{
"GO_TESTING_GOTOOLS", // for gccgo testing
"GCCGO", // for gccgo testing
"GCCGOTOOLDIR", // for gccgo testing
Expand Down Expand Up @@ -1891,7 +1891,7 @@ index a8d840b17022cc9c8a6d41c8ae6643fd24e9a51e..2a17f7da2d4aaa4dcc4f7c2c2eb30a60
+ return false
}
diff --git a/src/crypto/internal/fips140only/fips140only_test.go b/src/crypto/internal/fips140only/fips140only_test.go
index a940fb2a3a001041c4c773472539896150ada95f..cb0cef671b4070c38e32aa7cc60c65ecd1cc6ba8 100644
index 43e9520f89967450ab1af68241eacf0c39957115..7cb71d766cd24aebc255b51b82a05ff60f614e82 100644
--- a/src/crypto/internal/fips140only/fips140only_test.go
+++ b/src/crypto/internal/fips140only/fips140only_test.go
@@ -38,9 +38,12 @@ import (
Expand Down Expand Up @@ -1935,7 +1935,7 @@ index a940fb2a3a001041c4c773472539896150ada95f..cb0cef671b4070c38e32aa7cc60c65ec
expectPanic(t, func() { sha1.Sum([]byte("foo")) })

withApprovedHash(func(h crypto.Hash) { h.New().Sum(nil) })
@@ -308,7 +323,7 @@ bXVL8iKLrG91IYQByUHZIn3WVAd2bfi4MfKagRt0ggd4
@@ -332,7 +347,7 @@ bXVL8iKLrG91IYQByUHZIn3WVAd2bfi4MfKagRt0ggd4

// fips140=only mode should prevent any operation that would make the FIPS
// 140-3 module set its service indicator to false.
Expand Down Expand Up @@ -2451,7 +2451,7 @@ index c4d2b0d382e7fc6f095cf986c51917a67096a160..b2b61721e9d340309261163acb36cdd4
return
}
diff --git a/src/crypto/rsa/fips.go b/src/crypto/rsa/fips.go
index e756512fecd6d5c82a8d583b4cbe19b4e7e0a202..e95f373343ce26ea9c78e3ff289138f528938200 100644
index f6549c098c92384308a69d674a537ba7275bf3a1..86a162eb860d6bcf2f4f3ffe724e80b494be70f0 100644
--- a/src/crypto/rsa/fips.go
+++ b/src/crypto/rsa/fips.go
@@ -7,13 +7,14 @@ package rsa
Expand Down Expand Up @@ -3600,10 +3600,10 @@ index 2b176c1a5e233733561467c7702c567117336545..f801e63090d2a834ded8d400ca39c167

var dsaPriv dsa.PrivateKey
diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go
index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a23df08d8 100644
index b2d58cc0ab49ca7923de2cc26c0292e68520c388..01d82ea4c34507d570d0ccb723d1138b8d6540e6 100644
--- a/src/go/build/deps_test.go
+++ b/src/go/build/deps_test.go
@@ -377,8 +377,10 @@ var depsRules = `
@@ -378,8 +378,10 @@ var depsRules = `
math/big, go/token
< go/constant;

Expand All @@ -3615,7 +3615,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a

# The vast majority of standard library packages should not be resorting to regexp.
# go/types is a good chokepoint. It shouldn't use regexp, nor should anything
@@ -543,7 +545,7 @@ var depsRules = `
@@ -544,7 +546,7 @@ var depsRules = `
< crypto/internal/fips140/edwards25519
< crypto/internal/fips140/ed25519
< crypto/internal/fips140/rsa
Expand All @@ -3624,7 +3624,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a

crypto !< FIPS;

@@ -563,10 +565,27 @@ var depsRules = `
@@ -564,10 +566,27 @@ var depsRules = `
< github.com/microsoft/go-crypto-winnative/internal/sysdll
< github.com/microsoft/go-crypto-winnative/internal/bcrypt;

Expand Down Expand Up @@ -3654,7 +3654,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a
< crypto/cipher;

crypto, crypto/subtle, hash, crypto/cipher,
@@ -583,6 +602,39 @@ var depsRules = `
@@ -584,6 +603,39 @@ var depsRules = `
github.com/microsoft/go-crypto-winnative/internal/bcrypt
< github.com/microsoft/go-crypto-winnative/cng;

Expand Down Expand Up @@ -3694,7 +3694,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a
FIPS, internal/godebug, embed,
crypto/internal/boring/sig,
crypto/internal/boring/syso,
@@ -590,7 +642,9 @@ var depsRules = `
@@ -591,7 +643,9 @@ var depsRules = `
crypto/internal/fips140only,
crypto,
crypto/subtle,
Expand All @@ -3705,7 +3705,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a
< crypto/sha3
< crypto/internal/fips140hash
< crypto/internal/boring
@@ -605,15 +659,15 @@ var depsRules = `
@@ -606,15 +660,15 @@ var depsRules = `
crypto/sha512,
crypto/hmac,
crypto/hkdf,
Expand All @@ -3725,7 +3725,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a
CGO, fmt, net !< CRYPTO;

# CRYPTO-MATH is crypto that exposes math/big APIs - no cgo, net; fmt now ok.
@@ -622,15 +676,33 @@ var depsRules = `
@@ -623,15 +677,33 @@ var depsRules = `
math/big, github.com/microsoft/go-crypto-darwin/xcrypto < github.com/microsoft/go-crypto-darwin/bbig;
math/big, github.com/microsoft/go-crypto-winnative/cng < github.com/microsoft/go-crypto-winnative/cng/bbig;

Expand Down Expand Up @@ -3762,7 +3762,7 @@ index 926a533c9c1fb891760f51e2b8c7b48031d618c4..9b8ae5131f3735113af2d3f9c9e2342a
< crypto/ecdsa
< CRYPTO-MATH;

@@ -658,13 +730,15 @@ var depsRules = `
@@ -659,13 +731,15 @@ var depsRules = `
< golang.org/x/crypto/internal/subtle
< golang.org/x/crypto/chacha20
< golang.org/x/crypto/internal/poly1305
Expand Down Expand Up @@ -3830,19 +3830,18 @@ index 3ebd93058886fa1830b87c2841d6aecbe402a50e..227b9f0144f2a280bfa6e7294f70e18d
var Error error

diff --git a/src/internal/buildcfg/cfg_test.go b/src/internal/buildcfg/cfg_test.go
index 34313cad82b2bb973c12123ec442a9544c33aacd..a47171a592c9c8420d703f270a8507c973c76cf5 100644
index 0452a6361e151f44d0419b177fe2112908343f5c..570d000124bad1685ed9a7fc1a99d019d345b329 100644
--- a/src/internal/buildcfg/cfg_test.go
+++ b/src/internal/buildcfg/cfg_test.go
@@ -6,6 +6,8 @@ package buildcfg

import (
@@ -8,6 +8,7 @@ import (
"os"
"path/filepath"
"runtime"
+ "slices"
+ "strings"
"strings"
"testing"
)

@@ -137,6 +139,53 @@ func TestGogoarchTags(t *testing.T) {
@@ -140,6 +141,53 @@ func TestGogoarchTags(t *testing.T) {
GOARM64 = old_goarm64
}

Expand Down
Loading
Loading