Searched refs:KEY_SIZES (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/test/com/sun/crypto/provider/KeyGenerator/
H A DTestExplicitKeyLength.java40 private static final int KEY_SIZES[] = field in class:TestExplicitKeyLength
58 KEY_SIZES[i] + "-bit keysize");
59 runTest(ALGOS[i], KEY_SIZES[i]);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForECB_VK.java638 private static int[] KEY_SIZES = { field in class:TestKATForECB_VK
713 for (int i=0; i<KEY_SIZES.length; i++) {
714 if (KEY_SIZES[i]*8 >
720 int rounds = KEY_SIZES[i] * 8;
725 SecretKey aesKey = constructAESKey(KEY_SIZES[i], j);
738 System.out.println("Finished KAT for " + KEY_SIZES[i] + "-byte key");
H A DTestKATForECB_VT.java443 private static int[] KEY_SIZES = { field in class:TestKATForECB_VT
519 for (int i=0; i<KEY_SIZES.length; i++) {
520 if (KEY_SIZES[i]*8 >
526 SecretKey aesKey = constructAESKey(KEY_SIZES[i]);
547 "Finished KAT for " + KEY_SIZES[i] + "-byte key");
/openjdk7/jdk/test/com/sun/crypto/provider/KeyFactory/
H A DPBKDF2HmacSHA1FactoryTest.java41 static final int[] KEY_SIZES = { 128, 256 }; // in bits field in class:PBKDF2HmacSHA1FactoryTest
75 for (int j = 0; j < KEY_SIZES.length; j++) {
82 if (derivedKey.length != KEY_SIZES[j]/8) {
175 int numOfKeySizes = PBKDF2HmacSHA1FactoryTest.KEY_SIZES.length;
179 int keySize = PBKDF2HmacSHA1FactoryTest.KEY_SIZES[i];

Completed in 39 milliseconds