Skip to content

Commit a1661e7

Browse files
committed
Revert "crypto/internal/fips140/subtle: add assembly implementation of xorBytes for mips64x"
This reverts commit 49d6777. Reason for revert: doesn't handle unaligned accesses correctly Fixes golang#74998 Change-Id: Ia272245a6a2a91b305d411207430bad660ee355b Reviewed-on: https://go-review.googlesource.com/c/go/+/709757 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent cb81270 commit a1661e7

File tree

3 files changed

+2
-155
lines changed

3 files changed

+2
-155
lines changed

src/crypto/internal/fips140/subtle/xor_asm.go

Lines changed: 1 addition & 1 deletion
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 (amd64 || arm64 || mips64 || mips64le || ppc64 || ppc64le || riscv64) && !purego
5+
//go:build (amd64 || arm64 || ppc64 || ppc64le || riscv64) && !purego
66

77
package subtle
88

src/crypto/internal/fips140/subtle/xor_generic.go

Lines changed: 1 addition & 1 deletion
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 (!amd64 && !arm64 && !loong64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !riscv64) || purego
5+
//go:build (!amd64 && !arm64 && !loong64 && !ppc64 && !ppc64le && !riscv64) || purego
66

77
package subtle
88

src/crypto/internal/fips140/subtle/xor_mips64x.s

Lines changed: 0 additions & 153 deletions
This file was deleted.

0 commit comments

Comments
 (0)