func TestRC4OutOfBoundsWrite(t *testing.T) { … } func TestCTROutOfBoundsWrite(t *testing.T) { … } func TestOFBOutOfBoundsWrite(t *testing.T) { … } func TestCFBEncryptOutOfBoundsWrite(t *testing.T) { … } func TestCFBDecryptOutOfBoundsWrite(t *testing.T) { … } func testBlock(t *testing.T, name string, newCipher func(cipher.Block, []byte) cipher.Stream) { … } func test(t *testing.T, name string, cipherText []byte, xor func([]byte, []byte)) { … }