private void testCipher_ShortBlock_Failure(String provider) throws Exception {
        final ByteArrayOutputStream errBuffer = new ByteArrayOutputStream();
        PrintStream out = new PrintStream(errBuffer);
        for (CipherTestParam p : CIPHER_TEST_PARAMS) {
            if (!p.compatibleWith(provider)) {
                continue;
            }
            try {
                checkCipher_ShortBlock_Failure(p, provider);
            } catch (Exception e) {
                logTestFailure(out, provider, p, e);
            }
        }
        out.flush();
        if (errBuffer.size() > 0) {
            throw new Exception("Errors encountered:\n\n" + errBuffer + "\n\n");
        }
    }
Gets the Cipher transformation with the same algorithm and mode as the provided one but
which uses no padding.
common/src/test/java/org/conscrypt/javax/crypto/CipherTest.java