aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/sha3/sha3.go
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-08 18:58:22 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-08 18:58:22 +0800
commit10ce8b0e3c361f7fcbd9440fe78566f49cce9588 (patch)
tree5c06bbcc8fc0fe8637a86f3794d5577d379c8677 /crypto/sha3/sha3.go
parent9a7e99f75d09dc7835d3335d97a37f153d480cc6 (diff)
downloadgo-tangerine-10ce8b0e3c361f7fcbd9440fe78566f49cce9588.tar.gz
go-tangerine-10ce8b0e3c361f7fcbd9440fe78566f49cce9588.tar.zst
go-tangerine-10ce8b0e3c361f7fcbd9440fe78566f49cce9588.zip
crypto: fix megacheck warnings (#14917)
* crypto: fix megacheck warnings * crypto/ecies: remove ASN.1 support
Diffstat (limited to 'crypto/sha3/sha3.go')
-rw-r--r--crypto/sha3/sha3.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/sha3/sha3.go b/crypto/sha3/sha3.go
index c86167c0b..b12a35c87 100644
--- a/crypto/sha3/sha3.go
+++ b/crypto/sha3/sha3.go
@@ -42,9 +42,8 @@ type state struct {
storage [maxRate]byte
// Specific to SHA-3 and SHAKE.
- fixedOutput bool // whether this is a fixed-output-length instance
- outputLen int // the default output size in bytes
- state spongeDirection // whether the sponge is absorbing or squeezing
+ outputLen int // the default output size in bytes
+ state spongeDirection // whether the sponge is absorbing or squeezing
}
// BlockSize returns the rate of sponge underlying this hash function.