]> Cypherpunks repositories - gogost.git/commitdiff
Remove unneeded types
authorSergey Matveev <stargrave@stargrave.org>
Tue, 16 Jul 2024 13:43:07 +0000 (16:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 16 Jul 2024 13:43:07 +0000 (16:43 +0300)
internal/gost34112012/hash.go

index 5f6b5ae812ee3a46f0b0210b1e1ba81345a289f5..b91a972dc71cec76cd18a5c9013701ed676ec40b 100644 (file)
@@ -32,7 +32,7 @@ const (
 )
 
 var (
-       pi [256]byte = [256]byte{
+       pi = [256]byte{
                0xfc, 0xee, 0xdd, 0x11, 0xcf, 0x6e, 0x31, 0x16,
                0xfb, 0xc4, 0xfa, 0xda, 0x23, 0xc5, 0x04, 0x4d,
                0xe9, 0x77, 0xf0, 0xdb, 0x93, 0x2e, 0x99, 0xba,
@@ -66,7 +66,7 @@ var (
                0x59, 0xa6, 0x74, 0xd2, 0xe6, 0xf4, 0xb4, 0xc0,
                0xd1, 0x66, 0xaf, 0xc2, 0x39, 0x4b, 0x63, 0xb6,
        }
-       c [12][BlockSize]byte = [12][BlockSize]byte{
+       c = [12][BlockSize]byte{
                {
                        0x07, 0x45, 0xa6, 0xf2, 0x59, 0x65, 0x80, 0xdd,
                        0x23, 0x4d, 0x74, 0xcc, 0x36, 0x74, 0x76, 0x05,