--- a/test/jdk/com/sun/crypto/provider/Cipher/Blowfish/TestCipherBlowfish.java Wed Jul 24 17:08:14 2019 -0700
+++ b/test/jdk/com/sun/crypto/provider/Cipher/Blowfish/TestCipherBlowfish.java Thu Jul 25 02:16:49 2019 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,20 +32,20 @@
public class TestCipherBlowfish extends TestCipher {
- TestCipherBlowfish() throws NoSuchAlgorithmException {
- super("Blowfish",
- new String[]{"CBC", "CTR", "CTS", "ECB", "PCBC",
- //CFBx
- "CFB", "CFB8", "CFB16", "CFB24", "CFB32", "CFB40", "CFB48", "CFB56",
- "CFB64",
- //OFBx
- "OFB", "OFB8", "OFB16", "OFB24", "OFB32", "OFB40", "OFB48", "OFB56",
- "OFB64"},
- new String[]{"NoPaDDing", "PKCS5Padding"},
- 32, 448);
+ TestCipherBlowfish(String[] modes, String[] paddings) throws NoSuchAlgorithmException {
+ super("Blowfish", modes, paddings, 32, 448);
}
public static void main(String[] args) throws Exception {
- new TestCipherBlowfish().runAll();
+ new TestCipherBlowfish(new String[]{ "CBC", "ECB", "PCBC",
+ //CFBx
+ "CFB", "CFB8", "CFB16", "CFB24", "CFB32", "CFB40",
+ "CFB48", "CFB56", "CFB64",
+ //OFBx
+ "OFB", "OFB8", "OFB16", "OFB24", "OFB32", "OFB40",
+ "OFB48", "OFB56", "OFB64"},
+ new String[]{ "NoPaDDing", "PKCS5Padding"}).runAll();
+ new TestCipherBlowfish(new String[]{ "CTR", "CTS" },
+ new String[]{ "NoPaDDing" }).runAll();
}
}