Skip to content

Commit 48127f6

Browse files
FiloSottilegopherbot
authored andcommitted
crypto/internal/fips140/sha3: remove outdated TODO
Change-Id: I6a6a6964725fed48b55ce72a24a8f9bd3044ae16 Reviewed-on: https://go-review.googlesource.com/c/go/+/719940 Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> Reviewed-by: Junyang Shao <shaojunyang@google.com>
1 parent c3d1d42 commit 48127f6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/crypto/internal/fips140/sha3/hashes.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ func New512() *Digest {
2424
return &Digest{rate: rateK1024, outputLen: 64, dsbyte: dsbyteSHA3}
2525
}
2626

27-
// TODO(fips): do this in the stdlib crypto/sha3 package.
28-
//
29-
// crypto.RegisterHash(crypto.SHA3_224, New224)
30-
// crypto.RegisterHash(crypto.SHA3_256, New256)
31-
// crypto.RegisterHash(crypto.SHA3_384, New384)
32-
// crypto.RegisterHash(crypto.SHA3_512, New512)
33-
3427
const (
3528
dsbyteSHA3 = 0b00000110
3629
dsbyteKeccak = 0b00000001

0 commit comments

Comments
 (0)