]> Cypherpunks repositories - gostls13.git/commit
Revert "crypto/sha1: add WriteString and WriteByte method"
authorIan Lance Taylor <iant@golang.org>
Wed, 3 May 2023 21:00:13 +0000 (21:00 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 3 May 2023 21:27:16 +0000 (21:27 +0000)
commit129b597de360d9740240d51b8dc7d215227ec802
tree271661f7c7af7443f9dc3ebde6be091e800dcebb
parent82629da828d43f2ce2a57dc1e1534d8235974ad0
Revert "crypto/sha1: add WriteString and WriteByte method"

This reverts CL 483815

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

For #38776
For #59954

Change-Id: I1f7e0fb06b627971811623927e3d98c0fdbc730b
Reviewed-on: https://go-review.googlesource.com/c/go/+/492375
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Ian Lance Taylor <iant@google.com>
14 files changed:
src/crypto/internal/boring/sha.go
src/crypto/sha1/sha1.go
src/crypto/sha1/sha1_test.go
src/crypto/sha1/sha1block.go
src/crypto/sha1/sha1block_386.s
src/crypto/sha1/sha1block_amd64.go
src/crypto/sha1/sha1block_amd64.s
src/crypto/sha1/sha1block_arm.s
src/crypto/sha1/sha1block_arm64.go
src/crypto/sha1/sha1block_arm64.s
src/crypto/sha1/sha1block_decl.go
src/crypto/sha1/sha1block_generic.go
src/crypto/sha1/sha1block_s390x.go
src/crypto/sha1/sha1block_s390x.s