1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:54:45 -07:00
go/src/crypto/sha256
Martin Möhrmann cd0e79d9f1 all: use internal/cpu feature variables directly
Avoid using package specific variables when there is a one to one
correspondance to cpu feature support exported by internal/cpu.

This makes it clearer which cpu feature is referenced.
Another advantage is that internal/cpu variables are padded to avoid
false sharing and memory and cache usage is shared by multiple packages.

Change-Id: If18fb448a95207cfa6a3376f3b2ddc4b230dd138
Reviewed-on: https://go-review.googlesource.com/126596
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-08-20 14:47:07 +00:00
..
example_test.go
fallback_test.go
sha256_test.go
sha256.go crypto: make receiver name consistent 2018-04-23 18:18:01 +00:00
sha256block_386.s all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
sha256block_amd64.go
sha256block_amd64.s all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
sha256block_arm64.go all: use internal/cpu feature variables directly 2018-08-20 14:47:07 +00:00
sha256block_arm64.s
sha256block_decl.go
sha256block_generic.go
sha256block_ppc64le.s all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
sha256block_s390x.go crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
sha256block_s390x.s crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
sha256block.go