Searched defs:rounds (Results 1 - 4 of 4) 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_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);
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...]
/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)));

Completed in 31 milliseconds