]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips/aes: move GCM to its own package
authorFilippo Valsorda <filippo@golang.org>
Sun, 3 Nov 2024 09:03:21 +0000 (10:03 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 00:31:11 +0000 (00:31 +0000)
commitdeee5322fc5827a307099051d70727af961548d6
tree005e960a1d4cee7fbad3795c270c875006a68600
parentecdc8c1b3f54367338de37174531f81574c791b2
crypto/internal/fips/aes: move GCM to its own package

For #69536

Change-Id: Idcef2411c1fd4da302412609f28e438839e8aa4b
Reviewed-on: https://go-review.googlesource.com/c/go/+/624736
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
29 files changed:
src/crypto/cipher/cipher.go
src/crypto/cipher/gcm.go
src/crypto/cipher/gcm_test.go
src/crypto/internal/fips/aes/aes.go
src/crypto/internal/fips/aes/aes_asm.go
src/crypto/internal/fips/aes/aes_s390x.go
src/crypto/internal/fips/aes/aes_s390x.s
src/crypto/internal/fips/aes/gcm/_asm/gcm/gcm_amd64_asm.go [moved from src/crypto/internal/fips/aes/_asm/gcm/gcm_amd64_asm.go with 100% similarity]
src/crypto/internal/fips/aes/gcm/_asm/gcm/go.mod [moved from src/crypto/internal/fips/aes/_asm/gcm/go.mod with 100% similarity]
src/crypto/internal/fips/aes/gcm/_asm/gcm/go.sum [moved from src/crypto/internal/fips/aes/_asm/gcm/go.sum with 100% similarity]
src/crypto/internal/fips/aes/gcm/gcm.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/gcm_amd64.s [moved from src/crypto/internal/fips/aes/gcm_amd64.s with 100% similarity]
src/crypto/internal/fips/aes/gcm/gcm_arm64.s [moved from src/crypto/internal/fips/aes/gcm_arm64.s with 100% similarity]
src/crypto/internal/fips/aes/gcm/gcm_asm.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/gcm_generic.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/gcm_noasm.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/gcm_ppc64x.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/gcm_ppc64x.s [moved from src/crypto/internal/fips/aes/gcm_ppc64x.s with 96% similarity]
src/crypto/internal/fips/aes/gcm/gcm_s390x.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/gcm_s390x.s [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/ghash.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm/interface_test.go [new file with mode: 0644]
src/crypto/internal/fips/aes/gcm_asm.go [deleted file]
src/crypto/internal/fips/aes/gcm_noasm.go [deleted file]
src/crypto/internal/fips/aes/gcm_ppc64x.go [deleted file]
src/crypto/internal/fips/aes/gcm_s390x.go [deleted file]
src/crypto/internal/fips/aes/interface_test.go
src/crypto/tls/cipher_suites.go
src/go/build/deps_test.go