From 4e351cd67ce92672e21067a8ec0b3839ebda5a5d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 16 Jul 2024 16:43:07 +0300 Subject: [PATCH] Remove unneeded types --- internal/gost34112012/hash.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/gost34112012/hash.go b/internal/gost34112012/hash.go index 5f6b5ae..b91a972 100644 --- a/internal/gost34112012/hash.go +++ b/internal/gost34112012/hash.go @@ -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, -- 2.48.1