return new SimpleTestResult(false, getName() + ": failed ff test for " + padding.getPaddingName());
fail("failed ff test for " + padding.getPaddingName());
    public TestResult testPadding(        BlockCipherPadding  padding,        SecureRandom        rand,        byte[]              ffVector,        byte[]              ZeroVector)    {        PaddedBufferedBlockCipher    cipher = new PaddedBufferedBlockCipher(new DESEngine(), padding);        KeyParameter                 key = new KeyParameter(Hex.decode("0011223344556677"));                //        // ff test        //        byte[]    data = { (byte)0xff, (byte)0xff, (byte)0xff, (byte)0, (byte)0, (byte)0, (byte)0, (byte)0 };                if (ffVector != null)        {            padding.addPadding(data, 3);                        if (!isEqualTo(data, ffVector))            {                return new SimpleTestResult(false, getName() + ": failed ff test for " + padding.getPaddingName());            }        }                //        // zero test        //        if (ZeroVector != null)        {            data = new byte[8];            padding.addPadding(data, 4);                        if (!isEqualTo(data, ZeroVector))            {                return new SimpleTestResult(false, getName() + ": failed zero test for " + padding.getPaddingName());            }        }                for (int i = 1; i != 200; i++)        {            data = new byte[i];                        rand.nextBytes(data);            TestResult result = blockCheck(cipher, padding, key, data);            if (!result.isSuccessful())            {                return result;            }        }        return new SimpleTestResult(true, getName() + ": Okay");    }