Searched refs:rounds (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | RC5ParameterSpecTest.java | 45 int rounds = 5; in testRC5ParameterSpec1() local 50 new RC5ParameterSpec(version, rounds, wordSize, null); in testRC5ParameterSpec1() 57 new RC5ParameterSpec(version, rounds, wordSize+8, iv); in testRC5ParameterSpec1() 64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3}); in testRC5ParameterSpec1() 70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds, in testRC5ParameterSpec1() 86 int rounds = 5; in testRC5ParameterSpec2() local 92 new RC5ParameterSpec(version, rounds, wordSize, null, offset); in testRC5ParameterSpec2() 99 new RC5ParameterSpec(version, rounds, wordSize+8, iv, offset); in testRC5ParameterSpec2() 106 new RC5ParameterSpec(version, rounds, wordSize, iv, offset+1); in testRC5ParameterSpec2() 113 new RC5ParameterSpec(version, rounds, wordSize, new byte[] { 1, 2, in testRC5ParameterSpec2() [all …]
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | RC5ParameterSpec.java | 51 private int rounds; field in RC5ParameterSpec 62 public RC5ParameterSpec(int version, int rounds, int wordSize) { in RC5ParameterSpec() argument 64 this.rounds = rounds; in RC5ParameterSpec() 85 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { in RC5ParameterSpec() argument 86 this(version, rounds, wordSize, iv, 0); in RC5ParameterSpec() 112 public RC5ParameterSpec(int version, int rounds, int wordSize, in RC5ParameterSpec() argument 115 this.rounds = rounds; in RC5ParameterSpec() 141 return this.rounds; in getRounds() 184 (rounds == other.rounds) && in equals() 200 retval += (version + rounds + wordSize); in hashCode()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 870 int rounds = 0; in primeToCertainty() local 878 rounds = 50; in primeToCertainty() 879 rounds = n < rounds ? n : rounds; in primeToCertainty() 880 return passesMillerRabin(rounds, random); in primeToCertainty() 884 rounds = 27; in primeToCertainty() 886 rounds = 15; in primeToCertainty() 888 rounds = 8; in primeToCertainty() 890 rounds = 4; in primeToCertainty() 892 rounds = 2; in primeToCertainty() 894 rounds = n < rounds ? n : rounds; in primeToCertainty() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SemaphoreTest.java | 565 final int rounds = 4; in testReleaseAcquireDifferentThreads() local 569 for (int i = 0; i < rounds; i++) { in testReleaseAcquireDifferentThreads() 577 for (int i = 0; i < rounds; i++) { in testReleaseAcquireDifferentThreads()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | SemaphoreTest.java | 588 final int rounds = 4; in testReleaseAcquireDifferentThreads() local 592 for (int i = 0; i < rounds; i++) { in testReleaseAcquireDifferentThreads() 600 for (int i = 0; i < rounds; i++) { in testReleaseAcquireDifferentThreads()
|