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

/openjdk10/jdk/src/java.base/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...]
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForECB_VK.java645 * @param rounds round number starting from 0, i.e. valid from 0 to len-1.
647 private static SecretKey constructAESKey(int len, int rounds) argument
652 byte[] rawKeyValue = constructKeyValue(len, rounds);
657 private static byte[] constructKeyValue(int keysize, int rounds) { argument
661 int whichByte = rounds/8;
662 int whichDigit = rounds % 8;
665 throw new IllegalArgumentException("Invalid keysize/rounds " +
667 "/" + rounds);
719 int rounds = KEY_SIZES[i] * 8;
723 for (int j=0; j < rounds;
[all...]
H A DTestKATForECB_VT.java461 * @param rounds round number starting from 0, i.e. valid from 0
464 private static byte[] constructPT(int rounds) { argument
468 int whichByte = rounds/8;
469 int whichDigit = rounds % 8;
472 throw new IllegalArgumentException("Invalid rounds: " +
473 rounds);
/openjdk10/jdk/test/java/security/Security/
H A DSynchronizedAccess.java66 int rounds = 20;
67 while (rounds-- > 0) {
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DPerformanceTest.java75 static int[] rounds = {100, 1000}; field in class:PerformanceTest
119 for (int m=0; m<rounds.length; m++) {
121 col.append(rounds[m]);
127 runTest(in, rounds[m]);
134 col.append("Average: " + (sum/(dataSizes.length*rounds.length)));
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DScheduledExecutorSubclassTest.java783 final int rounds = rnd.nextInt(1, 3);
832 PeriodicTask(int rounds) { this.rounds = rounds; }
833 int rounds;
835 if (--rounds == 0) super.run();
838 if (rounds == -1) throw exception;
851 new PeriodicTask(rounds), delay, 1, MILLISECONDS));
853 new PeriodicTask(rounds), delay, 1, MILLISECONDS));
865 new PeriodicTask(rounds), dela
[all...]
H A DScheduledExecutorTest.java742 final int rounds = rnd.nextInt(1, 3);
791 PeriodicTask(int rounds) { this.rounds = rounds; }
792 int rounds;
794 if (--rounds == 0) super.run();
797 if (rounds == -1) throw exception;
810 new PeriodicTask(rounds), delay, 1, MILLISECONDS));
812 new PeriodicTask(rounds), delay, 1, MILLISECONDS));
824 new PeriodicTask(rounds), dela
[all...]
H A DSemaphoreTest.java595 final int rounds = 4;
599 for (int i = 0; i < rounds; i++) {
607 for (int i = 0; i < rounds; i++) {
/openjdk10/jdk/test/java/lang/invoke/
H A DAccessControlTest.java355 int rounds = 0;
365 rounds++;
367 System.out.println("filled in "+CASES.size()+" cases from "+originalLookups.length+" original cases in "+rounds+" rounds");
/openjdk10/jdk/src/java.base/share/classes/java/math/
H A DBigInteger.java935 int rounds = 0;
938 // The relationship between the certainty and the number of rounds
943 rounds = 50;
944 rounds = n < rounds ? n : rounds;
945 return passesMillerRabin(rounds, random);
949 rounds = 27;
951 rounds = 15;
953 rounds
[all...]
/openjdk10/hotspot/src/cpu/x86/vm/
H A DstubGenerator_x86_32.cpp2451 __ pxor (xmm_result, xmm_key0); // do the aes rounds
2487 __ pxor (xmm_result, xmm_key0); // do the aes rounds
2512 __ pxor (xmm_result, xmm_key0); // do the aes rounds
2564 const int ROUNDS[3] = { 10, 12, 14 }; //aes rounds for key128, key192, key256
2640 // do the aes dec rounds
2687 // do the aes dec rounds
2819 const int rounds[3] = {10, 12, 14}; local
2880 for (int i = 1; i < rounds[k]; ++i) {
2884 load_key(xmm_key, key, (0x10 * rounds[k]), xmm_key_shuf_mask);
2925 for (int i = 1; i < rounds[
[all...]
H A DstubGenerator_x86_64.cpp3279 __ pxor (xmm_result, xmm_key0); // do the aes rounds
3315 __ pxor (xmm_result, xmm_key0); // do the aes rounds
3336 __ pxor (xmm_result, xmm_key0); // do the aes rounds
3427 const int ROUNDS[3] = { 10, 12, 14 }; // aes rounds for key128, key192, key256
3613 __ pxor(xmm_result, xmm_key_first); // do the aes dec rounds
3905 const int rounds[3] = {10, 12, 14}; local
4010 for (int i = 1; i < rounds[k]; ) {
4015 if (i != rounds[k]) {
4060 for (int i = 1; i < rounds[k]; i++) {
4064 load_key(xmm_key_tmp0, key, (rounds[
[all...]

Completed in 159 milliseconds