Searched refs:rounds (Results 1 – 3 of 3) 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/luni/src/main/java/javax/crypto/spec/ |
D | RC5ParameterSpec.java | 30 private final int rounds; field in RC5ParameterSpec 45 public RC5ParameterSpec(int version, int rounds, int wordSize) { in RC5ParameterSpec() argument 47 this.rounds = rounds; in RC5ParameterSpec() 73 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { in RC5ParameterSpec() argument 81 this.rounds = rounds; in RC5ParameterSpec() 112 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) { in RC5ParameterSpec() argument 123 this.rounds = rounds; in RC5ParameterSpec() 144 return rounds; in getRounds() 189 && (rounds == ps.rounds) in equals() 201 int result = version + rounds + wordSize; in hashCode()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SemaphoreTest.java | 547 final int rounds = 4; in testReleaseAcquireDifferentThreads() local 551 for (int i = 0; i < rounds; i++) { in testReleaseAcquireDifferentThreads() 559 for (int i = 0; i < rounds; i++) { in testReleaseAcquireDifferentThreads()
|