]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.boringcrypto] all: add boringcrypto build tags
authorRuss Cox <rsc@golang.org>
Wed, 27 Apr 2022 13:02:52 +0000 (09:02 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 29 Apr 2022 14:23:22 +0000 (14:23 +0000)
commitf4c0f42f99476ed1621527f04364610ed2acf6bb
tree1c77f982420449676b017f055dad47a7f3a01339
parent1f0547c4ec4fe18d46192d8c670190111b1d3d79
[dev.boringcrypto] all: add boringcrypto build tags

A plain make.bash in this tree will produce a working,
standard Go toolchain, not a BoringCrypto-enabled one.

The BoringCrypto-enabled one will be created with:

GOEXPERIMENT=boringcrypto ./make.bash

For #51940.

Change-Id: Ia9102ed993242eb1cb7f9b93eca97e81986a27b3
Reviewed-on: https://go-review.googlesource.com/c/go/+/395881
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
37 files changed:
api/go1.16.txt
misc/boring/release.sh
misc/cgo/testshared/shared_test.go
src/cmd/api/goapi_boring_test.go [new file with mode: 0644]
src/cmd/go/go_boring_test.go
src/cmd/link/internal/ld/lib.go
src/crypto/boring/boring.go
src/crypto/boring/boring_test.go
src/crypto/boring/notboring_test.go
src/crypto/ecdsa/boring.go
src/crypto/ecdsa/notboring.go [new file with mode: 0644]
src/crypto/internal/boring/Dockerfile
src/crypto/internal/boring/LICENSE
src/crypto/internal/boring/aes.go
src/crypto/internal/boring/boring.go
src/crypto/internal/boring/ecdsa.go
src/crypto/internal/boring/fipstls/stub.s [moved from src/crypto/internal/boring/fipstls/dummy.s with 94% similarity]
src/crypto/internal/boring/fipstls/tls.go
src/crypto/internal/boring/hmac.go
src/crypto/internal/boring/notboring.go
src/crypto/internal/boring/rand.go
src/crypto/internal/boring/rsa.go
src/crypto/internal/boring/sha.go
src/crypto/internal/boring/syso/goboringcrypto_linux_amd64.syso [moved from src/crypto/internal/boring/goboringcrypto_linux_amd64.syso with 100% similarity]
src/crypto/internal/boring/syso/syso.go [new file with mode: 0644]
src/crypto/rsa/boring.go
src/crypto/rsa/boring_test.go
src/crypto/rsa/notboring.go [new file with mode: 0644]
src/crypto/tls/boring.go
src/crypto/tls/boring_test.go
src/crypto/tls/fipsonly/fipsonly.go
src/crypto/tls/fipsonly/fipsonly_test.go
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_server.go
src/crypto/tls/notboring.go [new file with mode: 0644]
src/go/build/build.go
src/go/build/deps_test.go