go/src/crypto/sha256
Erik Pellizzon 1eeb257b88 crypto: use encoding append functions
Replace custom append functions in the hash functions with the implementation of the encoding/binary package that do the same thing.
The binary bigendian functions are already used in other parts of the code in the crypto package.

Change-Id: I76d2dbe143fc72a3b4ac06be312caf72bd71378a
GitHub-Last-Rev: 1c6c68279e
GitHub-Pull-Request: golang/go#55085
Reviewed-on: https://go-review.googlesource.com/c/go/+/431035
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-09-20 02:58:09 +00:00
..
example_test.go
fallback_test.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
sha256.go crypto: use encoding append functions 2022-09-20 02:58:09 +00:00
sha256_test.go crypto/internal/boring: avoid false positive in cgo pointer check in SHA calls 2022-05-05 19:31:33 +00:00
sha256block.go crypto/sha256: Use bits.RotateLeft32 instead of ad-hoc implementation 2019-04-16 10:53:44 +00:00
sha256block_386.s
sha256block_amd64.go
sha256block_amd64.s
sha256block_arm64.go
sha256block_arm64.s
sha256block_decl.go crypto/sha256: adapt ppc64le asm to work on ppc64 2022-03-03 14:41:35 +00:00
sha256block_generic.go crypto/sha256: adapt ppc64le asm to work on ppc64 2022-03-03 14:41:35 +00:00
sha256block_ppc64x.s crypto/sha256: adapt ppc64le asm to work on ppc64 2022-03-03 14:41:35 +00:00
sha256block_s390x.go
sha256block_s390x.s