Skip to content

Commit b8fb95b

Browse files
committed
crypto/internal/fips140/subtle: combine xor_<goarch>.go files
There is not much point in having per architecture files that all contain the same content. Instead, merge the various xor_<goarch>.go files into a single xor_asm.go file that has appropriate build tags. Change-Id: I555d44b2fd83f260a4855d83cacb9e101d689bc0 Reviewed-on: https://go-review.googlesource.com/c/go/+/639856 Reviewed-by: Roland Shoemaker <[email protected]> Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]>
1 parent 85b5d11 commit b8fb95b

File tree

4 files changed

+1
-31
lines changed

4 files changed

+1
-31
lines changed

Diff for: src/crypto/internal/fips140/subtle/xor_arm64.go

-10
This file was deleted.

Diff for: src/crypto/internal/fips140/subtle/xor_amd64.go renamed to src/crypto/internal/fips140/subtle/xor_asm.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !purego
5+
//go:build (amd64 || arm64 || loong64 || ppc64 || ppc64le) && !purego
66

77
package subtle
88

Diff for: src/crypto/internal/fips140/subtle/xor_loong64.go

-10
This file was deleted.

Diff for: src/crypto/internal/fips140/subtle/xor_ppc64x.go

-10
This file was deleted.

0 commit comments

Comments
 (0)