From 61bd893c42dc22695dd7f54da7a85584c0add576 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 25 Oct 2024 15:01:01 +0300 Subject: [PATCH] Remove unused argument --- mgm/mode_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mgm/mode_test.go b/mgm/mode_test.go index 3cef6ec..a2cd1fe 100644 --- a/mgm/mode_test.go +++ b/mgm/mode_test.go @@ -86,7 +86,7 @@ func TestVector(t *testing.T) { } func TestSymmetric(t *testing.T) { - sym := func(keySize, blockSize int, c cipher.Block, nonce []byte) { + sym := func(blockSize int, c cipher.Block, nonce []byte) { f := func( plaintext, additionalData []byte, initials [][]byte, @@ -131,7 +131,6 @@ func TestSymmetric(t *testing.T) { panic(err) } sym( - gost3412128.KeySize, gost3412128.BlockSize, gost3412128.NewCipher(key128[:]), nonce[:gost3412128.BlockSize], @@ -140,7 +139,6 @@ func TestSymmetric(t *testing.T) { key64 := new([gost341264.KeySize]byte) copy(key64[:], key128[:]) sym( - gost341264.KeySize, gost341264.BlockSize, gost341264.NewCipher(key64[:]), nonce[:gost341264.BlockSize], -- 2.48.1