]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips/subtle: provide XORBytes
authorFilippo Valsorda <filippo@golang.org>
Mon, 30 Sep 2024 15:08:12 +0000 (17:08 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 23 Oct 2024 15:21:50 +0000 (15:21 +0000)
commitcb69354de3d3d2a4e9ba1afa481a3174039bbe96
treed2b183a84076f6966bf6bc9eceeda985d6c12af6
parentfdf6605109167e8093ee27d246c8b35678146eb6
crypto/internal/fips/subtle: provide XORBytes

This is needed from inside the module, and we generally don't want to
import the crypto tree from it.

For #69536

Change-Id: I69e91e4df89ecac0016c671ccd28e733a7131533
Reviewed-on: https://go-review.googlesource.com/c/go/+/616716
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
13 files changed:
src/crypto/internal/fips/subtle/xor.go [new file with mode: 0644]
src/crypto/internal/fips/subtle/xor_amd64.go [moved from src/crypto/subtle/xor_amd64.go with 100% similarity]
src/crypto/internal/fips/subtle/xor_amd64.s [moved from src/crypto/subtle/xor_amd64.s with 100% similarity]
src/crypto/internal/fips/subtle/xor_arm64.go [moved from src/crypto/subtle/xor_arm64.go with 100% similarity]
src/crypto/internal/fips/subtle/xor_arm64.s [moved from src/crypto/subtle/xor_arm64.s with 100% similarity]
src/crypto/internal/fips/subtle/xor_generic.go [moved from src/crypto/subtle/xor_generic.go with 100% similarity]
src/crypto/internal/fips/subtle/xor_loong64.go [moved from src/crypto/subtle/xor_loong64.go with 100% similarity]
src/crypto/internal/fips/subtle/xor_loong64.s [moved from src/crypto/subtle/xor_loong64.s with 100% similarity]
src/crypto/internal/fips/subtle/xor_ppc64x.go [moved from src/crypto/subtle/xor_ppc64x.go with 100% similarity]
src/crypto/internal/fips/subtle/xor_ppc64x.s [moved from src/crypto/subtle/xor_ppc64x.s with 100% similarity]
src/crypto/internal/fips/subtle/xor_test.go [moved from src/crypto/subtle/xor_test.go with 98% similarity]
src/crypto/subtle/xor.go
src/go/build/deps_test.go