Searched refs:rounds (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/crypto/spec/
H A DRC5ParameterSpec.java35 * <p> The parameters consist of a version number, a rounds count, a word
51 private int rounds; field in class:RC5ParameterSpec
56 * rounds and word size (in bits).
59 * @param rounds the number of rounds.
62 public RC5ParameterSpec(int version, int rounds, int wordSize) { argument
64 this.rounds = rounds;
70 * rounds, word size (in bits), and IV.
77 * @param rounds th
85 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) argument
112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForECB_VK.java646 * @param rounds round number starting from 0, i.e. valid from 0 to len-1.
648 private static SecretKey constructAESKey(int len, int rounds) argument
653 byte[] rawKeyValue = constructKeyValue(len, rounds);
658 private static byte[] constructKeyValue(int keysize, int rounds) { argument
662 int whichByte = rounds/8;
663 int whichDigit = rounds % 8;
666 throw new IllegalArgumentException("Invalid keysize/rounds " +
668 "/" + rounds);
720 int rounds = KEY_SIZES[i] * 8;
724 for (int j=0; j < rounds;
[all...]
H A DTestKATForECB_VT.java462 * @param rounds round number starting from 0, i.e. valid from 0
465 private static byte[] constructPT(int rounds) { argument
469 int whichByte = rounds/8;
470 int whichDigit = rounds % 8;
473 throw new IllegalArgumentException("Invalid rounds: " +
474 rounds);
/openjdk7/jdk/test/java/security/Security/
H A DSynchronizedAccess.java64 int rounds = 20;
65 while (rounds-- > 0) {
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DPerformanceTest.java75 static int[] rounds = {100, 1000}; field in class:PerformanceTest
121 for (int m=0; m<rounds.length; m++) {
123 col.append(rounds[m]);
129 runTest(in, rounds[m]);
136 col.append("Average: " + (sum/(dataSizes.length*rounds.length)));
/openjdk7/jdk/src/share/classes/java/math/
H A DBigInteger.java729 int rounds = 0;
732 // The relationship between the certainty and the number of rounds
737 rounds = 50;
738 rounds = n < rounds ? n : rounds;
739 return passesMillerRabin(rounds, random);
743 rounds = 27;
745 rounds = 15;
747 rounds
[all...]
/openjdk7/jdk/test/java/lang/invoke/
H A DAccessControlTest.java297 int rounds = 0;
307 rounds++;
309 System.out.println("filled in "+CASES.size()+" cases from "+originalLookups.length+" original cases in "+rounds+" rounds");
/openjdk7/langtools/test/tools/apt/Compile/
H A Dcompile.sh204 echo "Verifying static state is available across apt rounds; -factory, -cp"
223 echo "Verifying static state is available across apt rounds; -factory, -factorypath"
248 echo "Verifying static state is available across apt rounds; -cp"
263 echo "Verifying static state is available across apt rounds; -factorypath"
453 echo "Testing productive factories are called on subsequent rounds"
479 ${JAR} cf0 rounds.jar Round?.class
485 printf "%s\n" "-classpath rounds.jar" >> options8

Completed in 40 milliseconds