]> Cypherpunks repositories - gostls13.git/commit
Revert "crypto/sha256: add WriteString and WriteByte method"
authorIan Lance Taylor <iant@golang.org>
Wed, 3 May 2023 21:00:58 +0000 (21:00 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 3 May 2023 21:21:42 +0000 (21:21 +0000)
commit82629da828d43f2ce2a57dc1e1534d8235974ad0
tree54ae0d6194d9c164dbf5e1d112bf9245f3038e34
parent5b09a28596492af77c7d14cd950becf05f61e89f
Revert "crypto/sha256: add WriteString and WriteByte method"

This reverts CL 481478

Reason for revert: can cause cgo errors when using boringcrypto.
See #59954.

For #38776
For #59954

Change-Id: Ic520f9fede152d22ab69996ad84c44f3e0d783bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/492356
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
13 files changed:
src/crypto/internal/boring/sha.go
src/crypto/sha256/sha256.go
src/crypto/sha256/sha256_test.go
src/crypto/sha256/sha256block.go
src/crypto/sha256/sha256block_386.s
src/crypto/sha256/sha256block_amd64.s
src/crypto/sha256/sha256block_arm64.go
src/crypto/sha256/sha256block_arm64.s
src/crypto/sha256/sha256block_decl.go
src/crypto/sha256/sha256block_generic.go
src/crypto/sha256/sha256block_ppc64x.s
src/crypto/sha256/sha256block_s390x.go
src/crypto/sha256/sha256block_s390x.s